How do I show the category descriptions above the product pages? I have looked on the forum but I cant find the override file or how to put one there.
Can someone walk me through the process?
Thanks in advance!
How do I show the category descriptions above the product pages? I have looked on the forum but I cant find the override file or how to put one there.
Can someone walk me through the process?
Thanks in advance!
You could use your templates and overrides and customize the file:
/includes/templates/templates_default/tpl_modules_category_icon_display.php
and copy to:
/includes/templates/your_template_dir/tpl_modules_category_icon_display.php
and add the code in RED:
Code:<div align="<?php echo $align; ?>" id="categoryIcon" class="categoryIcon"><?php echo '<a href="' . zen_href_link(FILENAME_DEFAULT, 'cPath=' . $_GET['cPath'], 'NONSSL') . '">' . $category_icon_display_image . $category_icon_display_name . '</a>'; ?></div> <div><?php echo zen_output_string(zen_categories_lookup($current_category_id, 'categories_description')); ?></div>
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: v1.5.5]
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!
Ajeh I tried that but I still cant get the descriptions to show up. I cleared the cache on my browser. By the way the aziendia template did not have the /includes/templates/your_template_dir/tpl_modules_category_icon_display.php so I had to add it from the default template.
I had to remove the /includes/templates/your_template_dir/tpl_modules_category_icon_display.php file from the aziendia files because the homepage would show up but when clicking on a product the screen would white out. Interestingly if you click on the liquid coffee category it works fine w/o any mods to the file system.
Thanks for the update and for posting the solution that worked for you ...
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: v1.5.5]
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!
Bookmarks