| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Subcategory descriptions | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I'm trying to get the category description to show on the subcategory list (subcategories_list.tpl or subcategories_t.tpl). I found a thread for older versions of x-cart at http://forum.x-cart.com/showthread.php?t=43781&highlight=subcategory+descr iption but include/func/func.category.php is completely different in 4.4 and I can't figure out what to do.
__________________
Industrial Webworks Various xcart versions from 4.1.19 gold - 4.7 gold http://www.industrialwebworks.net |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Stupid me. The variable was already available without any edits to PHP files. I just used {$subcategory.description|escape} where I wanted the description in the template.
__________________
Industrial Webworks Various xcart versions from 4.1.19 gold - 4.7 gold http://www.industrialwebworks.net |
|||||||||
|
|||
X-Cart forums © 2001-2020
|