![]() |
Catagory Descriptions
I know I saw this a long time ago but I can not find it now and I really do not want to waste time re-inventing the wheel so to speak....
Here is what I want to do... If you click on a category that has subcategories and no products, the category description that is entered on the modify category page appears above the subcategory links. If you click on a category that does not have subcategories and does contain products, the category description that is entered on the modify category page will not appear above the products, even if there is a description entered on the modify category page. I want the description, if entered, to show up regardless of category status. How do I accomplish this? |
in subcategories.tpl, try replacing this:
Code:
{if ($navigation_page eq "")||($navigation_page eq "1")}{$current_category.description|regex_replace:"/[\n]/":" with this: Code:
{$current_category.description|regex_replace:"/[\n]/":" |
All times are GMT -8. The time now is 11:51 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.