stefanoste Posted June 15, 2011 Share Posted June 15, 2011 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 Link to comment Share on other sites More sharing options...
stefanoste Posted June 16, 2011 Author Share Posted June 16, 2011 anyone can help me out PLEASE? Link to comment Share on other sites More sharing options...
wildchief Posted June 16, 2011 Share Posted June 16, 2011 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 thingHave you tried to find a module that might help? Link to comment Share on other sites More sharing options...
stefanoste Posted June 16, 2011 Author Share Posted June 16, 2011 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 Link to comment Share on other sites More sharing options...
Barracuda Posted June 26, 2011 Share Posted June 26, 2011 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 accountRegister -> thankyou -> to account, or else......It is simple, but you must know what you doing, and you must a little about phpSuc6 Link to comment Share on other sites More sharing options...
stefanoste Posted June 27, 2011 Author Share Posted June 27, 2011 Hallo Barracuda , thank you for your reply but as I am not good at all about coding , seems to me very confusing the way you explain to me :-( Link to comment Share on other sites More sharing options...
sunandmoon21 Posted July 6, 2011 Share Posted July 6, 2011 I would be also interested in this...anyone have a solution? Link to comment Share on other sites More sharing options...
sixthmind Posted April 13, 2012 Share Posted April 13, 2012 Anybody came up with solution for this problem? I am currently looking into it. Link to comment Share on other sites More sharing options...
sixthmind Posted April 18, 2012 Share Posted April 18, 2012 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. Link to comment Share on other sites More sharing options...
El Patron Posted April 18, 2012 Share Posted April 18, 2012 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. Link to comment Share on other sites More sharing options...
sballi Posted August 2, 2012 Share Posted August 2, 2012 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now