Jump to content

redirect after account creation


fmagnell

Recommended Posts

Hello,

 

I have searched in this forum and google but no solutions seems to work.

 

I want to redirect to address page instead of going back to the cart when a guest has created a guest account

 

i tried to change in AuthController.php

 

 

                        if (count($this->context->cart->getProducts(true)) > 0) {
                            Tools::redirect('index.php?controller=order'.($multi = (int)Tools::getValue('multi-shipping') ? '&multi-shipping='.$multi : ''));

to

 

                        if (count($this->context->cart->getProducts(true)) > 0) {
                            Tools::redirect('index.php?controller=order&step=1');

 

but that does not seems to work, does anyone have a solution for this?

 

Thanks!

Link to comment
Share on other sites

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...