hummingbird
hummingbird copied to clipboard
In product page - The Add to cart button is greyed out when I change quantity to 0 and back to a positive quantity
Describe the bug and add attachments
When I change the quantity to 0, then to 1, I can't add the product to my cart. The Add to cart button is still greyed out. I need to refresh the page in order to add the product to my cart.
https://github.com/PrestaShop/hummingbird/assets/16019289/76918e81-1efd-46c0-83cb-e303408d068b
Expected behavior
When the quantity is updated to > 0, I should be able to click on it.
Steps to reproduce
- Go to any product page
- Change quantity to 0 via input
- Can't add product to cart
- Change quantity > 1
- Button is still unclickable :x:
PrestaShop version(s) where the bug happened
9.0.0
PHP version(s) where the bug happened
8.1