cancel
Showing results for 
Search instead for 
Did you mean: 

Customers being redirected to checkout after login

Customers being redirected to checkout after login

Title says it all. After a customer logs in, it redirects them to checkout. What could be causing that?

I have a plugin that does login for pricing, but this happens even when I disable it. The option to redirect to cart after adding an item to cart is set to no.

 

Any ideas? Thanks

3 REPLIES 3

Re: Customers being redirected to checkout after login

Hi @web_master12 

 

Please share your website URL here, so we can create new account and check issue on website.

 

Thank you.

Problem solved? Click Accept as Solution!

Re: Customers being redirected to checkout after login

Hello @web_master12 

 

You can disable custom modules and then run commands. hopefully this issue will be resolved by enabling one by one and checking.

 

PS: btw this class manages the redirection after login :

\Module\Controller\Account\LoginPost

so you can search in your modules if any module is implementing this.

 

If issue still persists then you can change your theme in case if any JS is causing it.

 

Hope it helps !

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: Customers being redirected to checkout after login

@web_master12 did you figure out what was causing this issue?  I'm on M2.4.2-p1 and notice the same is happening when login as customer.  Thanks.