-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix Add to Cart #5854
Fix Add to Cart #5854
Conversation
@quienti , I think you should change the code
to
It's better. |
Fixing code from @minhluan259 works great but page is still refreshed if you get a message like this: http://prntscr.com/c29gzw -> We don't have as many --- as you requested. |
@vasilii-b , Because you add qty product > qty in stock, that message will show. |
@minhluan259 yes, I understand this, BUT: why is the minicart updated to 0 items meanwhile I actually have items in cart ? :/ |
@quienti - what happened? |
Oops, I reopens a new pull request ! Sorry |
Yeah, I've seen some changes in there. Thanks for the PR anyway. 👍 |
@quienti |
I don't know, but is fixed in develop branch, so for Magento 2.2 |
[TSG-CSL3] For 2.4 (pr32)
Issue :
#5144
#5266
Thank to @Zaylril for your fix !