| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Smarty syntax not working - Xcart 5.2 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Smarty syntax not working - Xcart 5.2
I am trying to customize featured product list on frontpage by customizing template file and trying to add some conditions. But in tpl files it is not allowed me to use smarty syntax like: assign, increments, var_dumo etc.
__________________
5.2.2 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Smarty syntax not working - Xcart 5.2
Hello!
That's right - X-Cart 5 doesn't use Smarty as the template engine. Please refer to the documentation for developers at http://kb.x-cart.com/ - it may help you to understand how to customize the behaviour and appearance of X-Cart 5 based websites. Feel free to ask in these forums should you have questions on a topic missed in the documentation. Thanks!
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Smarty syntax not working - Xcart 5.2
Quote:
There is an article in our knowledge base describing the basics of this "language" Please have a look: * http://kb.x-cart.com/display/XDD/Flexy+Guide Please note that you will need to re-deploy your store after making any changes to the templates located in <X-Cart>/skins/ folder make them show up on the storefront.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
#4
|
|||||||
|
|||||||
Re: Smarty syntax not working - Xcart 5.2
Thanks razortw. That's what I have been looking for.
__________________
5.2.2 |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Smarty syntax not working - Xcart 5.2
Quote:
Also, I forgot to mention that if you enable the developer mode in your store, there will be no need in rebuilding the store cache after editing template files. All changes will be implemented instantly in that case.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
|||
X-Cart forums © 2001-2020
|