05-08-2008, 07:23 AM
|
|
| |
Banned
|
|
X-Adept
|
|
Join Date: Jan 2008
Posts: 486
|
|
|
Re: The universal solution "Continue Shopping Button"
Quote:
Originally Posted by imexhouse
I have my own Continue Button gif:
<a href="`$back_url`"><img src="{$ImagesDir}/ContinueShopping.gif" border="0" align="absmiddle" alt="Continue Shopping"></img></a>
and I did add the code below to cart.php
#back URL when cont. shoping:
x_session_register("back_url");
if ($mode == "add")
{
$back_url = $_SERVER['HTTP_REFERER'];
}
$smarty->assign("back_url", $back_url);
Are the single quote signs in `$back_url` the characters to the left of 1 on the keyboard, or are they actually single quotes that reside on the same key as double quotes?
This is the actual link from the Continue Shopping:
http://www.aquasanacanada.com/%60$back_url%60
|
Use this code...
PHP Code:
<a href="{$back_url}"><img src="{$ImagesDir}/ContinueShopping.gif" border="0" align="absmiddle" alt="Continue Shopping"></img></a>
|
|