hummingbird icon indicating copy to clipboard operation
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

Open florine2623 opened this issue 10 months ago • 0 comments

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

  1. Go to any product page
  2. Change quantity to 0 via input
  3. Can't add product to cart
  4. Change quantity > 1
  5. Button is still unclickable :x:

PrestaShop version(s) where the bug happened

9.0.0

PHP version(s) where the bug happened

8.1

florine2623 avatar Mar 27 '24 14:03 florine2623