Product Icon

Min/Max Quantities for WooCommerce

Trending
Minimum and maximum quantity rules for products, orders and categories.

Make work with variations

For simple products this plugin is working well…however I defined minimum and group of values on variations; and it does not display nor utilize those values when switching variations from the drop down menu on the product detail page…thus it lets the user add whatever quantity of that product to their cart. I used fields “Meta: group_of_quantity” and “Meta: minimum_allowed_quantity” to import the values on the variations.

If I set those values on the parent product, it works fine but then those values are being applied to both variations… I need separate values for each variation. I thought this plugin was supposed to do that but maybe I was confused.

Author

aja206

Current Status

Closed

Last updated: April 25, 2023

1 comment

Log in to comment on this feature request.

  1. jaskyt8 says:
    Product Developer December 10, 2024 8:09 am

    Hey there,

    Thank you for getting in touch!

    Min/Max Quantities is compatible with Variable Products and allows you to set quantity rules either on the parent Variable Product (which apply to all variations) or to individual variations. If you are setting up these rules programmatically, then the meta to look for are: ‘variation_minimum_allowed_quantity’ and ‘variation_group_of_quantity’. You also need to update the ‘min_max_rules’ to ‘true’ for the specific variation ID, in order for variation-level rules to apply.

    If you still see any issues with variation-level rules, please don’t hesitate to get in touch with our support team via: https://woocommerce.com/my-account/contact-support/.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.