The quantity control can be globally managed from the plugin settings dashboard or specifically on single product.
Go to here to learn about how to configure the settings for single product.
In YITH Plugins -> Minimum Maximum Quantity you can configure the restriction rules for:
- cart: the user can’t proceed with the checkout if the number of products added to cart doesn’t fulfill the inserted values
- products: the quantity limits are applied to all the products of the shop (unless the product provides different settings)
- categories: the quantity limits are applied to all the shop categories. This means the total product quantity of each category must correspond to the specified limits.
If you want to exclude the category from the general limits, enable “Exclude category” that you find in the WooCommerce category page.
- tag: the quantity limits are applied to all the shop tags. The total products must correspond to the limits for each tag in the cart.
If you want to exclude a tag from the general limits, enable “Exclude tag” that you find in the WooCommerce category page.
The restriction rules can be combined. Pay attention to their compatibility.
The general rules can be overridden on single product. If this doesn’t happen, the system will apply the quantity restriction rules basing on the following priority ascending order:
- rules by tag
- rules by category
- rules by product