nitish062 Posted April 30, 2013 Share Posted April 30, 2013 I nned to redirect users to the checkout page instead of my account page. my site resides here: www.mintbite.com and I am using prestashop 1.5.3.1 Link to comment Share on other sites More sharing options...
vekia Posted April 30, 2013 Share Posted April 30, 2013 But from where you want to redirect? Link to comment Share on other sites More sharing options...
nitish062 Posted May 1, 2013 Author Share Posted May 1, 2013 Thanks for the reply. I basically need the following : 1. New user completes sign up form(name,email,address etc) 2.After successfully completing the form he is redirected to the my account(http://www.mintbite.com/index.php?controller=my-account) But I want to redirect directly to http://www.mintbite.com/index.php?controller=order How am I able to do it? Do i need to edit AuthController.php file? Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 Thanks for the reply. I basically need the following : 1. New user completes sign up form(name,email,address etc) 2.After successfully completing the form he is redirected to the my account(http://www.mintbite....ller=my-account) But I want to redirect directly to http://www.mintbite....ontroller=order How am I able to do it? Do i need to edit AuthController.php file? thanks for informations. Now it's clear. all you need to to is change authcontroller.php file located in controllers/front/ directory. So, open it and change : line ~45 if (!Tools::getIsset('step') && $this->context->customer->isLogged() && !$this->ajax) Tools::redirect('index.php?controller=my-account'); line ~319 - the same use controller=order instead controller=my-account 2 Link to comment Share on other sites More sharing options...
nitish062 Posted May 1, 2013 Author Share Posted May 1, 2013 Thanks a lot.. but with line number 45, I needed to edit line 576 Tools::redirect('index.php?controller=order'); Anyways, the problem is solved 1 Link to comment Share on other sites More sharing options...
vekia Posted May 1, 2013 Share Posted May 1, 2013 yes, you've got right. Thanks now i can mark this thread as solved regards Link to comment Share on other sites More sharing options...
mouse1 Posted September 24, 2013 Share Posted September 24, 2013 Would anyone possibly have an answer to this post? http://www.prestashop.com/forums/topic/192777-guest-checkout-redirects-to-home-page/?do=findComment&comment=1392220 I'm trying to find out about unwanted redirection on checkout (specifically login during checkout), I've read so many threads and posts, but so far with no luck. I'm getting really frustrated after a couple of days of trying. :-( Thanks for any help or clues. Link to comment Share on other sites More sharing options...
vekia Posted September 25, 2013 Share Posted September 25, 2013 it's a bit different redirection... Link to comment Share on other sites More sharing options...
Recommended Posts