Limit WooCommerce Product Quantity to One

October 23rd, 2014 - Posted by Steve Marks to PHP, Software, Web Development.

Sometimes you might want to restrict customers of a WooCommerce site from purchasing more than one of any product. Fortunately this is made simple through use of the options already available in WooCommerce.

Simply edit the product in question, navigate to the ‘Inventory’ tab and tick the box labelled ‘Sold Individually’:

woocommerce-qty-one

Once selected, the customer then will be unable to a) choose a quantity when adding the product to their cart, and b) will be unable to edit the quantity when viewing their cart.

This entry was posted on Thursday, October 23rd, 2014 at 6:20 pm by +Steve Marks and is filed under PHP, Software, Web Development. You can follow any responses to this entry through the RSS 2.0 feed.
Comments...

Fear not, we won't publish this

Comments (0)

No comments have been left yet. Be the first