You can customize the specials.php sidebox by copying to your templates and overrides ...
The original code reads:
if (isset($_GET['products_id'])) {
$show_specials= false;
} else {
$show_specials= true;
}
which means not to show if there is a products_id ...
Changing the IF to read:
if (isset($_GET['products_id']) or $_GET['main_page'] == 'specials') {
$show_specials= false;
} else {
$show_specials= true;
}
Now it will not show on the pages where there is a products_id defined or the specials page ...
If you want it even if the products_id is displayed then change it to read:
if ($_GET['main_page'] == 'specials') {
$show_specials= false;
} else {
$show_specials= true;
}
and it will not show only when you are on the specials page itself ...
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!