View Single Post
  #28  
Old 06-26-2008, 03:51 PM
 
Stizerg Stizerg is offline
 

Senior Member
  
Join Date: Apr 2008
Location: Sydney, Australia
Posts: 195
 

Default Re: The universal solution "Continue Shopping Button"

Thanks guys! Works on 4.1.10

in Fast_Lane_Checkout/home_main.tpl
HTML Code:
<td><a href="{$back_url}"><img src="{$ImagesDir}/img/continueshopping.png" alt="continue shpopping" /></a>

and in cart.php
PHP Code:
#back URL when cont. shoping:
x_session_register("back_url");
if (
strpos($_SERVER['HTTP_REFERER'], "cart.php") == false)
{
    
$back_url $_SERVER['HTTP_REFERER'];
}
$smarty->assign("back_url"$back_url); 

Well done!
__________________
X-Cart Gold Plus 4.6.6
A lot of custom mods
Reply With Quote