Hello,
I have one left sidebox which is Specials.
I also have a full page called Specials
I would like to show at the Specials page all my left sideboxes except the Specials one.
How can I do it please?
Thank you in advance for your help
Hello,
I have one left sidebox which is Specials.
I also have a full page called Specials
I would like to show at the Specials page all my left sideboxes except the Specials one.
How can I do it please?
Thank you in advance for your help
You can customize the specials.php sidebox by copying to your templates and overrides ...
The original code reads:
which means not to show if there is a products_id ...Code:if (isset($_GET['products_id'])) { $show_specials= false; } else { $show_specials= true; }
Changing the IF to read:
Now it will not show on the pages where there is a products_id defined or the specials page ...Code:if (isset($_GET['products_id']) or $_GET['main_page'] == 'specials') { $show_specials= false; } else { $show_specials= true; }
If you want it even if the products_id is displayed then change it to read:
and it will not show only when you are on the specials page itself ...Code:if ($_GET['main_page'] == 'specials') { $show_specials= false; } else { $show_specials= true; }
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!
Thanks a lot!