Jump to content

[TIP] 1.5 Create Customer Account


Recommended Posts

When a customer is checking out and wish to purchase products and you let them create an account, Prestashop doesn't let them continue in the checkout process Instead it sends them to their new account page. Why? This is Prestashop.

 

If like me you want the customer to continue on through the checkout process, I did the following. I'm not a programmer. Feel free to make a better suggestion.

 

file

prestashop\controllers\front\AuthController.php

 

This seems to work;

 

change line 576

Tools::redirect('index.php?controller=my-account');

to

Tools::redirect('index.php?controller=order&step=1='.(int)Tools::getValue('multi-shipping'));

 

This will allow the costumer to continue through the checkout process and the customer can now choose the shipping method rather than dumping the customer in the account section with no idea what to do next.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...