-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
Description
During the tests of #3994 we found out, that cart sync works incorrect in terms of quantity of products:
Steps to reproduce the issue
- Login to user account
- Add some product to cart
- Logout, clear cache
- As anonymous user, add the same product to the cart (color & size must match)
- Now login to the same account again
Current behavior
Only one item of added product is in the cart.
Expected behavior
Added item should be in cart with quantity set to two (one from current session and one that already was on the account)
When we try this scenario with two diffrent products, everything is working correctly - after step 5 (2nd logging in), user have in cart all items - the ones he added before logging in and ones added before when logged-in. But for 2 pieces of the same product - quantity is not summing.
Repository
next.storefrontcloud.io
demo.storefrontcloud.io
Can you handle fixing this bug by yourself?
- YES
- NO
Which Release Cycle state this refers to? Info for developer.
Pick one option.
- This is a bug report for test version on https://test.storefrontcloud.io - In this case Developer should create branch from
developbranch and create Pull Request2. Feature / Improvementback todevelop. - This is a bug report for current Release Candidate version on https://next.storefrontcloud.io - In this case Developer should create branch from
releasebranch and create Pull Request3. Stabilisation fixback torelease. - This is a bug report for current Stable version on https://demo.storefrontcloud.io and should be placed in next stable version hotfix - In this case Developer should create branch from
hotfixormasterbranch and create Pull Request4. Hotfixback tohotfix.
Environment details
- Browser: Chrome
- OS: Ubuntu
- Code Version: 1.11, 1.10.5