-
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
Shopping Cart error in Magento 2.2.4 #15052
Comments
Hi, I have this same error. Regards |
I've just reproduced this error too... |
Any updates on that? |
I believe this PR: amzn/amazon-payments-magento-2-plugin#227 will fix the issue. In my testing on 2.2.4, the Amazon module would always bind the submit event even when the original Magento widget that it was overriding would not, so I simply added the condition back. Incidentally, you may also see this "Back" link issue with the installed Amazon module |
Thanks for your answer, I had a look at the magento2/app/code/Magento/Catalog/view/frontend/web/js/catalog-add-to-cart.js , but there is already the code as you proposed ... |
@ritschi72 You're misunderstanding. I'm saying you should be looking at the catalog-add-to-cart.js in the Amazon module included in 2.2.4. |
Thanks a lot for your quick response, I had a look at the catalog-add-to-cart.js in the Amazon module and made the changes and it works! Thanks a lot! |
@ritschi72 Please leave this issue open until it's fully resolved, so that others can more easily find it (the default filter excludes closed), and that it's handled by the Magento team. |
I made the code changes, recompiled / cleared all caches and the problem persisted. Eventually I changed from production mode to developer mode and back to production mode and that did the trick. Thanks for posting a solution, it was a big help. |
Hi @ritschi72 |
Preconditions
Magento 2.2.4 (upgraded from Magento 2.2.3 successfully)
Steps to reproduce
Go to configurable product in Frontend and add it to Shopping Cart (e.g. 1 x T-Shirt in Size L and colour white )
In the same product, add another one (e.g. 1 x T-Shirt in Size M and colour red) to Shopping Cart
Expected result
There are two products (1 x T-Shirt in size L and colour white and 1 x T-Shirt in size M and colour red)
in Mini-Shopping Cart and normal Shopping Cart
Actual result
By adding 1 x T-Shirt (L, white) everything is ok.
But if I add a second T-Shirt (M, red) within the same product, in the shopping carts is shown 1 x T-Shirt in L, white and 2 x T-Shirts in M, red, although I only added one product each.
The strange thing is, that if I refresh the site between adding the two T-Shirts, everything is shown correctly.
That means:
Adding first T-Shirt (L, white) to cart -> ok -> refresh the product site in frontend-> adding second T-Shirt (M, red) to cart -> everything is ok.
Can somebody reproduce this error?
Thanks a lot for your help!
Best regards
Linda
The text was updated successfully, but these errors were encountered: