
Originally Posted by
nwfashionista
Hi! LOOOVE the template. I'm working on my revision. This is the first time I've worked with ZEN so if I am asking in the wrong place please let me know.
Everything looks great - except for when I go to the specials page my sidebox flips over to the left side instead of the right side. I have everything set on default for the template for now.
Is there some place else I'm supposed to indicate the boxes to go to the right side?
http://nwfashionista.com/store/index..._page=specials
This is a missing feature in zen cart, it doesn't add any default text when there are no products.
Open up includes/templates/YOUR_TEMPLATE/templates/tpl_specials_default.php (if it is not there, use the one from includes/templates/template_default/templates, but save it in includes/templates/YOUR_TEMPLATE/templates/)
Add this:
Code:
<?php if ($num_products_count ==0) {
echo TEXT_NO_SPECIALS; }?>
Right after:
Code:
<h1 id="specialsListingHeading"><?php echo $breadcrumb->last(); ?></h1>
Then open up includes/languages/english/YOUR_TEMPLATE/specials.php (again, if it doesn't exist, get it from includes/languages/english/, and save it in includes/languages/YOUR_TEMPLATE/) and add this:
Code:
define('TEXT_NO_SPECIALS', 'There are currently no specials. Please check back later.');
Bookmarks