Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Checkout Continue to Specified Page


MORZone

Recommended Posts

OK, this is my first post... Can someone tell me how to specify a particular page to "continue" to after a successful checkout? The very last "continue" button of the checkout process on the checkout_success.php page directs you back to the default.php when clicked. I know I could just delete this ref from the success_checkout.php but I don't want to lose the product update notification function. I want my customers to be directed to a particular page.php instead of the default.php page, but I still want the notify function to work. Does this make sense? Please help if you can.

Link to comment
Share on other sites

look for

 

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));

 

and change it to the filename you want it to go to.

 

the notification stuff is taken care of in application_top - so you dont have to worry about that.

Link to comment
Share on other sites

  • 2 weeks later...
look for

 

tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string, 'SSL'));

 

and change it to the filename you want it to go to.

 

the notification stuff is taken care of in application_top - so you dont have to worry about that.

 

Using v2.2 ms2, with SSL enabled. After checkout, when user clicks continue, they get 404 file not found.

 

In my CHECKOUT_SUCCESS.PHP, the tep_redirect statement does not include the SSL var, and it reads like this:

 

tep_redirect(tep_href_link FILENAME_DEFAULT, $notify_string));

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...