Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After checkout_success CONTINUE to where


ChrisJChrisJ

Recommended Posts

Posted

you mean you dont want it to go to checkout_success?

Posted
you mean you dont want it to go to checkout_success?

 

After checkout_success I want to choose a different next-page destination.

When I click on CONTINUE at the bottom of checkout_success, how/where can I where that button will take me?

Posted

In \includes\filenames change

define('FILENAME_CHECKOUT_SUCCESS', 'checkout_success.php');

to whatever you want.

Posted

My bad, I mis-undestood the question at first....You want to modify checkout_success line 29

 

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string));

 

The FILENAME_DEFAULT is index.php, you can add another line in \includes\filename with another location to goto when continue is pressed.

 

e.g.

 

tep_redirect(tep_href_link(FILENAME_DEFAULT_SUCCESS, $notify_string));

Posted
My bad, I mis-undestood the question at first....You want to modify checkout_success line 29

 

  tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string));

 

The FILENAME_DEFAULT is index.php, you can add another line in \includes\filename with another location to goto when continue is pressed.

 

e.g.

 

  tep_redirect(tep_href_link(FILENAME_DEFAULT_SUCCESS, $notify_string));

 

Thanks for your reply. To help me clarify your answer, what page would a visitor be linked-to after he selects Continue on the bottom of checkout_success.php, if I used your example and changed it to: tep_redirect(tep_href_link(FILENAME_DEFAULT_SUCCESS, $notify_string)); ?

 

Can it be changed to be re-directed to a page outside of My Store? If so how/where?

Archived

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

×
×
  • Create New...