User adds a product to the cart -> Goes to checkout -> Log in into their customer account (in the checkout process).

Expected result: Customer is being logged in to their account with the items chosen previously.

Actual result: User is being redirected to an empty cart.

Using Magento ver. 2.2.4.


Just to give a bit more information... There are no logs in regards to this issue. Also, when adding a product to cart and logging in anywhere other than checkout works fine. So it might be worth mentioning that I use OnePageCheckout by Amasty.

  • can you check for any custom observer on customer login that might be causing cart empty issue – Shashank Kumrawat Oct 26 '18 at 14:37
  • or anything suspicious error/exception in logs file ? – Shashank Kumrawat Oct 26 '18 at 14:38
  • Not sure about the observer... but there is nothing in logs :/ – Greg Oct 26 '18 at 14:43
  • It only happens on checkout too .. – Greg Oct 26 '18 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.