-
Notifications
You must be signed in to change notification settings - Fork 77
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
[FO] CART- the button "Add to Cart" enable while the product is out of stock #486
Comments
@Zoefinders didn't find how to reproduce this issue (we got the message, but the product is not added). |
@ga-devfront Maybe it was fixed with recent core changes. On develop, it doesn't get added to cart? |
@Hlavtox yes we tested with 8.0.2 PrestaShop and the product is not added to the cart. |
@ga-devfront hi, |
After some investigation on PS 8.1.0 with Hummingbird I don't think it's a good idea to try to catch it with JS : |
After discussion with @kpodemski and @MatShir this issue need to add an API call on Core side for V9. |
I have just tested it, and it looks good. What do you think? add_to_cart_test.mov |
Describe the bug
When you add more items than in stock from product page, the message
The product is no longer available in this quantity.
is not displayed and the button "Add to cart" still enable.Expected behavior
The button "Add to cart" should be disabled as the product is out of stock
Steps to reproduce
Screen record
Uploading hb_issueCart.webm…
Additional infos
The text was updated successfully, but these errors were encountered: