Jump to content

Redirect to last page user was visiting after login

Giovane Minus

Recommended Posts



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.

Share this post

Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More