pamjadi Posted December 9, 2014 Share Posted December 9, 2014 Hello, I'm looking for a method to change the redirected page after login. Instead of 'my account', I'd like my customers to get to home page. Your help is appreciated Link to comment Share on other sites More sharing options...
El Patron Posted December 9, 2014 Share Posted December 9, 2014 this post is for 1.5 but it should be very similar to your ps release... http://www.prestashop.com/forums/topic/266211-solved-redirect-to-last-page-after-login-15/ Link to comment Share on other sites More sharing options...
pamjadi Posted December 9, 2014 Author Share Posted December 9, 2014 this post is for 1.5 but it should be very similar to your ps release... http://www.prestashop.com/forums/topic/266211-solved-redirect-to-last-page-after-login-15/ Thank you El Patron, Tried this and doesn't work. I tried another tutorials I found before and neither worked for me. Those were for 1.5 too. Link to comment Share on other sites More sharing options...
mickeyboy1 Posted December 9, 2014 Share Posted December 9, 2014 (edited) Try this: goto themes/your-theme/authentication.tpl around line 90 find this {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if} and change it to this {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$base_dir}" />{/if} EDIT: this works for registering first but if you add anything to cart first and then proceed to checkout, when you get to login section you WILL be redirected back to home page which means you have to go to the cart again...... Not good for customers. Perhaps someone else will have an idea or maybe a way to find out if you are in checkout then carry on to next section else return to homepage???? Edited December 9, 2014 by mickeyboy1 (see edit history) 1 Link to comment Share on other sites More sharing options...
El Patron Posted December 9, 2014 Share Posted December 9, 2014 whatever you do, make sure after making changes you did not mess anything up...i.e. at checkout and they register during process, they don't go somewhere else. test test test Link to comment Share on other sites More sharing options...
mickeyboy1 Posted December 9, 2014 Share Posted December 9, 2014 whatever you do, make sure after making changes you did not mess anything up...i.e. at checkout and they register during process, they don't go somewhere else. test test test Good point.......see edited post above 1 Link to comment Share on other sites More sharing options...
Recommended Posts