| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add Php Code To Xcart Templates | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello
On litecommerce 2.2.2.41 I fond a way to add php to the template. Is it possible to do that on xcart?.. I need to set a cronometer like this I got here http://www.elgrantlapalero.com/catalogo/cart.php?target=product&sns_mode=featured_product& product_id=2859&category_id=105 but on xcart.. Basically is a mysqli connection to the database and I extract the date when the offer ends and insert it on my jquery animation. Is it possible to do that?.. If not, could you tellme please how to make a query to the database and extract values?.. I need to this mod asap. THANKYOU SO MUCH!! ![]()
__________________
X-Cart 4.5.5 Litecommerce Version: 2.2.45 MИxico ![]() |
|||||||
#2
|
|||||||||
|
|||||||||
![]() http://www.smarty.net/docsv2/en/language.function.php.tpl
I believe this method is deprecated so I don't recommend using it. I would modify the php code instead. Also, check the offer variables on the template page. It's possible the date is already present. Otherwise, find the original query in the php and modify it there. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Soudns greate.. Thankyou Cherie..
I will test with it. Thanks in advance Ricardo
__________________
X-Cart 4.5.5 Litecommerce Version: 2.2.45 MИxico ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|