Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Login redirect


Recommended Posts

Hello everyone


When a customer signs in to my site they are brought to the home page, i would like them to go straight to there shopping cart but i cant seem to get this to work..


Probably very simple to do but just cant get it working

Link to comment
Share on other sites

DO below changes in login.php page


Just add the "tep_redirect("shopping_cart");" after this code


if (sizeof($navigation->snapshot) > 0) {

$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);




Hope it will help. Have a great day

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...