Product Icon

Min/Max Quantities for WooCommerce

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

Update Min/Max error message to better handle product variations

When used on a product with variations (shirt colors and sizes for example) the error text should include the variation and size, not just the product name.

For example “The maximum allowed quantity for Short Sleeve Solid, 1/2 Zip is 20 (you currently have 20 in your cart). Please decrease the quantity in your cart.”

The error should actually read “The maximum allowed quantity for Short Sleeve Solid, 1/2 Zip – Black – Medium is 20 (you currently have 20 in your cart). Please decrease the quantity in your cart.”

Otherwise it sounds like we’re limiting the entire shirt across all colors and sizes, which is not the case.

Author

Current Status

Closed

Last updated: May 5, 2022

1 comment

Log in to comment on this feature request.

  1. jaskyt8 says:

    Hey there,

    Thank you for getting in touch!

    I tested with the latest Min/Max Quantities version (v5.0.4) and I noticed that the validation error includes the name of the specific variation, when variation-level rules are defined: https://d.pr/i/mNLs0T

    If this is not what you see, then please 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.