New Zenner
- Join Date:
- Aug 2011
- Posts:
- 10
- Plugin Contributions:
- 0
Specials in Product Info Right Column?
Does anyone know how I can get the Specials and Bestsellers sideboxes to show in the right column on the product info page?
New Zenner
Does anyone know how I can get the Specials and Bestsellers sideboxes to show in the right column on the product info page?
Oba-san
Using your templates and overrides, you want to copy:
/includes/modules/sideboxes/specials.php
to your overrides directory:
/includes/modules/sideboxes/your_template_dir/specials.php
In the code you will see:
if (isset($_GET['products_id'])) {
$show_specials= false;
} else {
$show_specials= true;
}
This tells it NOT to show when there is a $_GET['products_id']
Change the code to read:
if (isset($_GET['products_id'])) {
$show_specials= true;
} else {
$show_specials= true;
}
For the best_sellers, you need to copy:
/includes/modules/sideboxes/best_sellers.php
to your overrides directory:
/includes/modules/sideboxes/your_template_dir/best_sellers.php
This is designed to only show when the $_GET['products_id'] is set and when the customer is setup for global notifications ...
The easiest way to change that is to change the code:
// test if box should display
$show_best_sellers= false;
to read:
// test if box should display
$show_best_sellers= true;
Linda McGrath
If you have to think ... you haven't been zenned ...
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!
New Zenner
Why does that code exist ? I mean :
// test if box should display
$show_specials= false;
if (isset($_GET['products_id'])) {
$show_specials= false;
} else {
$show_specials= true;
}
Why shouldnt specials be shown on a products_info page ? What were the reasons to Not show it?
Totally Zenned
tzre:
Why does that code exist ? I mean :
// test if box should display
$show_specials= false;
if (isset($_GET['products_id'])) {
$show_specials= false;
} else {
$show_specials= true;
}
>
> Why shouldnt specials be shown on a products_info page ? What were the reasons to Not show it?
To not distract the customer from paying full price for whatever product/s they're viewing?
The best way to learn is to try stuff. But, back it up first.
New Zenner
No, seriously...
Tell staff why this post should be reviewed.