mohitsareen Posted July 18, 2012 Share Posted July 18, 2012 Hi Can anybody tell me which lines to edit if i want a user to get redirected to order-history.php instead of my-account.php when he logs in Thanks Link to comment Share on other sites More sharing options...
jeevanoss Posted July 18, 2012 Share Posted July 18, 2012 AuthController.php Link to comment Share on other sites More sharing options...
rogerwee Posted July 18, 2012 Share Posted July 18, 2012 In controllers/AuthController.php edit the line that has: Tools::redirect('my-account.php'); // SHOULD BE LINE 38 Cheers Roger. Link to comment Share on other sites More sharing options...
ericbi Posted March 19, 2013 Share Posted March 19, 2013 Hi, I have the same problem with Prestashop 1.5.3.1 I try to setting the AuthController.php file with a redirect to the index page but it doesn't work... Any suggest? Thanks! Link to comment Share on other sites More sharing options...
Mitchnroll Posted May 20, 2013 Share Posted May 20, 2013 I have the same problem, i've edited all the redirect in authController.php and set to index.php but doesn't workl! Thanks for helping me! Link to comment Share on other sites More sharing options...
vekia Posted May 20, 2013 Share Posted May 20, 2013 Here is the solution: http://www.prestasho..._1#entry1091323 i know that this show how to redirect unlogged users to login page - but you can use the code to redirect logged users (code for redirect users) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now