Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

LOG OFF-SIGN OUT ON CHECK OUT SUCCESS PAGE?


AWWWW.WAHWAH

Recommended Posts

Posted

Can someone show me how to add the SIGN OUT button on the last checkoutsuccess.php page? I would like to REMIND customers to log off their account after ordering and I think that page would be the best. Just a reassurance to the customers to log off their account. Some do not bother.

Posted

Can someone show me how to add the SIGN OUT button on the last checkoutsuccess.php page? I would like to REMIND customers to log off their account after ordering and I think that page would be the best. Just a reassurance to the customers to log off their account. Some do not bother.

Do you actually have a button for logging off? If you do, the code you can use will differ. Also, you can change the align to left, right, or center, depending on how you like it. Consider the following:

 

This is a code you can add a log off text link:

<td align="left" class="main"><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a></td>

 

This is a code you can add if you have a log off button, but you'll need to modify the variables to your store:

<td align="left" class="main"><?php echo tep_image_submit('button_logoff.gif', IMAGE_BUTTON_LOGOFF); ?></td>

button_logoff.gif is the name of your log off button in catalog/includes/languages/english/images/buttons.

IMAGE_BUTTON_LOGOFF is the define located in catalog/languages/english.php (change this to modify the text that shows up when a user mouse-over the image).

Example: define('IMAGE_BUTTON_LOGOFF', 'Log Off');

 

And you would add your new logout code before or after this code found in catalog/checkout_success.php:

<td align="right" class="main"><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td>

Archived

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

×
×
  • Create New...