| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Category parameters | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Category parameters
What functions ca I use to output category name, category description, category photo?
__________________
xcart 4.4.1, 5 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Category parameters
If you have your \XLite\Model\Category object, then you can access its properties as follows:
PHP Code:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: Category parameters
May 12 15:45:10 XLite [error] File /var/www/html/dev10/mymotoshield/skins/default/en/modules/XC/CustomSkin/page/policy_type/body.tpl, line 6, col 9: Unknown modifier '->getFrontURL();'
I have this error
__________________
xcart 4.4.1, 5 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Category parameters
Hello Roman,
Could you please send me the whole code from the template that causes the problem? It would allow to understand why Flexy Compiler thinks of ->getFrontURL(); as a modifier. Just a note that our Flexy guide is here: http://kb.x-cart.com/display/XDD/Flexy+Guide
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|||
X-Cart forums © 2001-2020
|