Jump to content

Archived

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

Robertnash777

Changing Checkout Finished, From: "mydomain.com/index.php" to: (my account) "mydomain.com/account.php"

Recommended Posts

Hi All,
 

I was wondering if anyone can help me change the last part of the checkout process, I want it to reffer the customer to mydomain.com/account.php and not to mydomain.com/index.php.


I'm sure it's not a big change, but I'm not a php expert, so I don't know which file is to be changed, I do know how to do simple code changing.


Thanks, Robert.

 

Share this post


Link to post
Share on other sites

If I understand correctly you will want to change this in your checkout_success.php file

 

from this:

 

if ( isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'update') ) {
    tep_redirect(tep_href_link(FILENAME_DEFAULT));
  }
 

 

to this:

 

if ( isset($HTTP_GET_VARS['action']) && ($HTTP_GET_VARS['action'] == 'update') ) {
    tep_redirect(tep_href_link(FILENAME_ACCOUNT));
  }

Share this post


Link to post
Share on other sites

×