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.
Closed
Last updated: April 25, 2023
Log in to comment on this feature request.
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/.