suteibi Posted December 13, 2013 Share Posted December 13, 2013 Hello Everyone. i need help please in changing the redirection of customers after they log in. usually when someone logs in , his account page will appear (check attached pic) . what i am looking for is to redirect the customer to the home page or last page he was viewing before singing in. thank you Link to comment Share on other sites More sharing options...
NemoPS Posted December 13, 2013 Share Posted December 13, 2013 You must find all occurrences of this Tools::redirect('index.php?controller='.(($this->authRedirection !== false) ? urlencode($this->authRedirection) : 'my-account')); In AuthController.php, and change them to Tools::redirect('index.php'); Link to comment Share on other sites More sharing options...
vekia Posted December 13, 2013 Share Posted December 13, 2013 take a look on this topic: http://www.prestashop.com/forums/topic/266211-solved-redirect-to-last-page-after-login-15/ you can find there solution for: redirect to last page Link to comment Share on other sites More sharing options...
suteibi Posted December 13, 2013 Author Share Posted December 13, 2013 Thank you Nemo & Vekia, solved Link to comment Share on other sites More sharing options...
vekia Posted December 13, 2013 Share Posted December 13, 2013 hello may i know what solution you used? i marked this topic as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts