Jump to content

Redirect to homepage after login


Recommended Posts

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 by mickeyboy1 (see edit history)
  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...