Jump to content

Thank you page after registration


Recommended Posts

Hallo there ,

I am really new on prestashop and I m not good in coding :-( anyone out there can tell me how to add a Thank You page after registration instead of the direct login to the account

Sorry guys for my english ...Thank you :-)

PS 1.4.2.5

Share this post


Link to post
Share on other sites

Hello,

Thats a good question I don't know if there is anything out in prestashop that does it easily.

There is a "hook" called createAccount which might be helpful. I will have a look and see if this hook can be used to do this kind of thing

Have you tried to find a module that might help?

Share this post


Link to post
Share on other sites

Hallo Wildchief ,
thank you for your reply , I tried to see some module but unlikely I coudnt find anyone :-( As I said before i am not godd at all about coding , in case I wanto to change the Authentication button to redirect to another page , lets say I create a thank you page ( php.and tpl) what should I cange ......any idea?


Thank you

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Take the file what is to login in the account, and copy it to thankyoupage.php or what ever. And than, add you own text in it.
Rename in the file from register that is must be thankyoupage and not the accountpage.

Make first a backup from the files, so if something happens, you can go back.

So, old and new:

Register -> than go to account

Register -> thankyou -> to account, or else......

It is simple, but you must know what you doing, and you must a little about php


Suc6

Share this post


Link to post
Share on other sites
  • 2 weeks later...
  • 9 months later...

In AuthController.php I found this:

if ($back = Tools::getValue('back'))
                                   Tools::redirect($back);
                               Tools::redirect('my-account.php');

 

and I changed it to:

if ($back = Tools::getValue('back'))
                                   Tools::redirect($back);
                               Tools::redirect('thankyou.php');

 

I wonder if this is the right way of doing. At the moment after the user register does come to my thank you page and I am using Customer registration management module.

Share this post


Link to post
Share on other sites

In my honest opinion, serious site owners are better off utilizing their time keeping their prestashop releases current than making little changes.

 

The new prestashop module upgrade support is getting better and better...but it's not going to carry forward this sort of change so if you plan on being a competitive e shop, try to think of how you can upgrade your site to get all the new and cool stuff that is proven to be customer friendly. Best of luck.

Share this post


Link to post
Share on other sites
  • 3 months later...

Make few changes in AuthController.php

 

$customer->active = 0; // change to not active

 

self::$cookie->logged =0; // change to not logged

 

And final block back redirect code

 

/*if ($back = Tools::getValue('back'))

Tools::redirect($back);*/

Tools::redirect('thankyou.php');

 

http://www.ecreeds.com

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More