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.
Closed
Last updated: May 5, 2022
Log in to comment on this feature request.
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/.