Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In product page - The Add to cart button is greyed out when I change quantity to 0 and back to a positive quantity #615

Closed
florine2623 opened this issue Mar 27, 2024 · 0 comments · Fixed by #621

Comments

@florine2623
Copy link

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.

Screen.Recording.2024-03-27.at.15.18.31.mov

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 ❌

PrestaShop version(s) where the bug happened

9.0.0

PHP version(s) where the bug happened

8.1

@tblivet tblivet linked a pull request May 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant