Guest Posted October 1, 2008 Posted October 1, 2008 Hi, hoping someone could help me please, When a customer completes checkout out and the page 'checkout success' loads, there is a continue button on bottom of screen, when clicked this takes customer back to the home page. Question is how do I change this link? I'd like to redirect to another url. I can't find where to edit just this continue button, & I don't want to alter any other 'continues' that may be used within the site, just the one on the checkout success page. Any advice much appreciated. Thank you!
germ Posted October 1, 2008 Posted October 1, 2008 The button doesn't do the redirect. This code at the top of checkout_success.php does: tep_redirect(tep_href_link(FILENAME_DEFAULT, $notify_string)); If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted October 1, 2008 Posted October 1, 2008 Hi Germ, Me again, I just had a glass of wine and that didn't help me either, I'm new to php and still having troubles, I've tried both these options: tep_redirect(tep_href_link("OrderForm.html")); and also tried this tep_redirect(tep_href_link("http://www.logomotion.net.au/OrderForm.html")); First one works so long as I have the 'orderForm.html' page located within my catalog folder, but how do I link to a different page on my main site that is not within the shopping / catalog files? I'm obviously missing something but have no idea??? Any help greatly appreciated, K :)
germ Posted October 1, 2008 Posted October 1, 2008 Yes, tep_href_link can only be used to go to another page within osC . Try this: tep_redirect("http://www.logomotion.net.au/OrderForm.html"); If that don't cut the mustard, this should: header('Location: http://www.logomotion.net.au/OrderForm.html'); I just had a glass of wine and that didn't help me either I'll bet it didn't hurt. :lol: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted October 1, 2008 Posted October 1, 2008 Ah, God Love you Germ!! Will go have another glass for you now! Have a great day, K :)
germ Posted October 1, 2008 Posted October 1, 2008 Don't let me drink too much. Last time that happened I spent half the night in the front yard trying to kill the garden hose... :blush: G'day Missy!! :) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.