Skip to content

lomars/woocommerce-product-quantity-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

WooCommerce product quantity settings

Set quantity min max and step at product level in Woocommerce

In WooCommerce admin product pages general settings, a checkbox enable or disable some additional quantity setting fields that handle minimum, maximun and step arguments at product level (showing or hiding the setting fields dynamically):

When checkbox is unchecked, quantity setting fields are not visible and disabled:

When checkbox is checked, quantity setting fields are visible and enabled for the current product:

Note: All settings are merged in a unique custom field as an indexed array of values, to improve performance.

Also this works nicely on "Ajax add to cart" for simple products, for product variations from variable products and also on the cart quantity input field.

About

Set quantity min max and step at product level in Woocommerce

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages