Jump to content

[solved] Redirect to checkout page instead of my account page


Recommended Posts

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

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

  • Like 2
Link to comment
Share on other sites

  • 4 months later...

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...