| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Embed js code | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Embed js code
I know how to add external js-file, but how can I add code to the template
Code:
__________________
xcart 4.4.1, 5 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Embed js code
Here is the article describing how you can create such mod:
http://kb.x-cart.com/display/XDD/Step+4+-+working+with+settings#Step4-workingwithsettings-Usingsettingvaluesinthecode
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
#3
|
|||||||
|
|||||||
Re: Embed js code
Ok, I can add htmo code with js on all pages, but please tell me how can I add order amount code(this code is for conversion tracking)?
__________________
xcart 4.4.1, 5 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Embed js code
{cart.getTotal()} should do the trick.
__________________
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
|