An issue has been identified when using the Twenty Twenty-Five theme with WC Min Max Quantities.
With the same plugin settings, the behavior differs between themes.
Environment
- Plugin: WC Min Max Quantities
- Theme with issue: Twenty Twenty-Five
- Theme working correctly: Storefront
- AJAX add to cart: Enabled
- Page affected: Shop Page
Plugin Settings
- Minimum quantity: 500
- Quantity step: 500
- Maximum quantity: Not set
Steps to Reproduce
- Activate the Twenty Twenty-Five theme
- Set product minimum quantity to 500
- Set quantity step to 500
- Visit the shop
- Click Add to Cart
Actual Result
A validation notice appears on the shop page:
Error notice: The minimum required quantity for {Product Name} (#61) is 500.
The product is not added to the cart.
Expected Result
Product should be added to the cart using the minimum quantity automatically.
This works correctly with the Storefront theme using the same plugin and product settings.
An issue has been identified when using the Twenty Twenty-Five theme with WC Min Max Quantities.
With the same plugin settings, the behavior differs between themes.
Environment
Plugin Settings
Steps to Reproduce
Actual Result
A validation notice appears on the shop page:
Error notice: The minimum required quantity for {Product Name} (#61) is 500.The product is not added to the cart.
Expected Result
Product should be added to the cart using the minimum quantity automatically.
This works correctly with the Storefront theme using the same plugin and product settings.