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!
Printable View
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>
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 ...