Jump to content

Redirect to last page user was visiting after login


Giovane Minus

Recommended Posts

Hi,

 

When customers login I'd like to redirect them to the last page that they visited rather than their My Account page.

 

I think that this will be done by replacing some code in the AuthController.php file (I have seen the issue solved for Prestashop 1.5 using this.) but which code do I replace and with what in version 1.7.

 

Thanks for your help.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...