Is is normal for the specials sidebox (set to right column) to only show on home page? I would like it to be visible when viewing products as well.
Thanks,
Dustin
Is is normal for the specials sidebox (set to right column) to only show on home page? I would like it to be visible when viewing products as well.
Thanks,
Dustin
http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks
The specials sidebox is designed to not show on the product _info page ...
You can customize the code with your templates and overrides ...
I prefer, when working on sideboxes, to copy both parts of a sidebox to the templates and overrides so that things are managed in pairs ... but that is a personal opinion ...
/includes/modules/sideboxes/specials.php
/includes/templates/template_default/sideboxes/tpl_specials.php
Copy to your templates and overrides directories:
/includes/modules/sideboxes/your_template_dir/specials.php
/includes/templates/your_template_dir/sideboxes/tpl_specials.php
If you look at this section of code, you will see how the sidebox is disabled when there is a $_GET['products_id'] set:
Any time $show_specials is set to false you will not see the specials sidebox and when $show_specials is set to true then there will be a special sidebox ...Code:// test if box should display $show_specials= false; if (isset($_GET['products_id'])) { $show_specials= false; } else { $show_specials= true; } if ($show_specials == true) {
You can add any number of conditions to the sideboxes to use this method to control them ...
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!
I'm curious what the thought might be to have no specials on detail pages by default. Would this maybe be to not distract someone away from a page containing an add-to-cart button on it?
Is the strategy only I'm wondering about.
In part, it is to show that it "can be done" ... the other part is to remove a distraction ...![]()
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!
I can not get specials to work when click on [more]. I changed the false to true in includes/modules/sideboxes/temp/specials.php and still does not work.
Did you do anything to the other file includes/template/temp/sidesboxes/tpl_specials.php? Currently, when you click on[more] it takes you to page with lines and no images or details.
Kim
If I change the code to read:
where it always evaluates to true, then I always have a specials sidebox ...Code:if (isset($_GET['products_id'])) { $show_specials= true; } 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!
Do a search in the Developers Tool Kit in the bottom input box for:
$show_specials
and select Catalog and click search ... to see what files come up and make sure the files have the right settings on the server ...
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!