Jump to content

Redirect to another page after signup


ctdesign87

Recommended Posts

Hi there

 

Is it possible to create a separate 'Thank you' page after a user signs up to your shop? Currently, it's going to the /my-account page. This request isn't for the checkout process, but only via a Register link that's provided separately.

 

We need this to be able to insert some tracking code on this Thankyou page.

 

Any help appreciated, much thanks

 

CT

Edited by ctdesign87 (see edit history)
Link to comment
Share on other sites

the re-direct to the my-account page is located in the AuthController.php. in version 1.4.8.2 of prestashop, that line of code is on line 203 and should look like

Tools::redirect('my-account.php');

 

if you are you comfortable enough with making php coding changes, you could change that redirect to something else in the AuthController.php file, but ideally you should be creating an override of the controller. You can search on how to create a controller override on the forums.

 

Otherwise if you would like to hire me to create the customization, send me a PM with the version of prestashop you are using and we can discuss payment details.

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