Closed
Description
Preconditions
- Magento CE 2.1.0
- Apache/2.4.18 (Ubuntu) PHP/7.0.8-0ubuntu0.16.04.3 MySQL/5.7.13-0ubuntu0.16.04.2
Steps to reproduce
-
Sign in
-
Add products to cart (#product_A and #product_B)
-
Log out
-
Add products to cart without signing in first (#product_C and #product_D)
-
Go to Checkout using minicart's Go to Checkout-button
-
Anonymous checkout is disabled so you need to Sign in using Sign in-pop-up
-
After Sign in you return back to same page (even Redirect Customer to Account Dashboard after Logging in is enabled ) and cart show still #product_C and #product_D
-
Go to Checkout using minicart Go to Checkout-button
-
In checkout also #product_A and #product_B shows up.
Expected result
- After Sign In using pop-up Sign in-form, cart should be merged and customer redirected to checkout showing all products A,B,C,D
Actual result
- Customer was redirected back to same page and cart was not merged (only products C&D still showing)
But
If I Sign in using actual Sign in-link and Sign in-page, cart was merged right and shows also #product_A and #product_B (and I was redirected to Customer Dashboard as should be).