| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Show Subcategory Description in Category List | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I want to include the sub category descriptions when I view a list of subcategories. For example, I have a category that has 10 subcategories. But when I view the list of subcategories, the category title and thumbnail shows for each sub category, but the category description does not show even though the categories have a text description. I found the correct file to add the code (/skin/common_files/customer/main/subcategories_t.tpl), but can't figure out how to get subcategory description to show. Using $current_category.description does not work; that shows only the current category's description for ALL subcategories. Thanks x-cart 4.4.5
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5 Linux |
|||||||
#2
|
|||||||
|
|||||||
![]() I finally figured this one out: add {$subcategory.meta_description} or {$subcategory.description} to include the meta or description in the sub categories.
Note: the php code for categories is in /include/func/func.category.php
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5 Linux |
|||||||
|
|||
X-Cart forums © 2001-2020
|