Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change page link after checkout success


ramsydney

Recommended Posts

Posted

After the customer has gone through the payment process they reach the checkout_success.php page. When "continue" is clicked it defaults back to the catalog/index.php page.

 

How can I change this so it links to a Thank You page I have created?

 

Thanks in advance for any help.

Posted
After the customer has gone through the payment process they reach the checkout_success.php page. When "continue" is clicked it defaults back to the catalog/index.php page.

 

How can I change this so it links to a Thank You page I have created?

 

Thanks in advance for any help.

 

Replace the code below (approx line 105) in checkout_success.php to normal html code calling for your own button linked to your thankyou page.

 

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

 

OR, if this produces a warning about showing both secure and unsecure images (not sure if checkout_success.php is called within the "https:" or not), then call your button image using the php tep_image call . . .

 

<td align="right" class="main><a href="Your_Thankyou_File.php"><?php echo tep_image(DIR_WS_IMAGES . 'button_continue.gif'); ?></a></td>

Archived

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

×
×
  • Create New...