-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Description
Expected Behavior
After placing an order, cart works correctly.
Actual Behavior
After creating an order (as a guest), if we want to add a new product to the new cart (without refreshing website - F5) - it won't be reactive. Other actions like sign-in in this circumstances will throw an error.
If we refresh a website with F5 - then everything will work fine - added products will be in cart.
Possible Solution
Clear cart token after placing an order.
No response
Steps to reproduce
- Place an order as a guest
- Without refreshing, go to the product's view and try to add some product - looks like nothing happens
- If you try to sign-in, it will throw an error because it cannot mergeCarts (looks like something is wrong with new-cart creation process)
- If you refresh with F5, then everything works fine. It is expected to work like that without a need to refresh website.
What version of Magento 2 integration are you using?
The newest develop, commit is ba0f10a
What version of Node.js are you using?
14.17.6
What browser (and version) are you using?
Google Chrome 95.0.4638.69 (Official Build) (64-bit)
What operating system (and version) are you using?
Ubuntu 20.04
Relevant log output
No response
Code of Conduct
- I agree to follow this project's Code of Conduct