| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Conversion Tracking | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Conversion Tracking
Hi,
I have found a code in order to track sale but cannot able to add it in x-cart page. This is the code they have supplied- Copy first code snippet and paste it in the footer section of your template. HTML Code:
and Copy second code snippet and paste it in the footer of your checkout page. HTML Code:
Now please suggest me where to add. Thanks, xtech
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#2
|
|||||||
|
|||||||
Re: Conversion Tracking
Can anyone help me please?
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#3
|
|||||||
|
|||||||
Re: Conversion Tracking
Unfortunately I'm not familiar with xcart 4 but is there a "Look & Feel" section where you can input custom javascript, like there is with Xcart5?
__________________
X-Cart 5 Antifraud Template #42 |
|||||||
#4
|
|||||||
|
|||||||
Re: Conversion Tracking
I have added the second set of code in reboot/customer/main/order_message.tpl
HTML Code:
But it is not working.I want anyone's help in forum. Thanks.
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Conversion Tracking
well for one, it looks like you have Smarty variables inside literal tags, that is why they aren't populating.
See http://www.smarty.net/docsv2/en/language.function.literal http://www.smarty.net/docsv2/en/language.function.ldelim.tpl Basically when you use {literal} the smarty variables do not work. So you must {/literal}{$smarty.variable}{literal} each time This is a quick google search on using smarty variables inside literal tags. http://stackoverflow.com/questions/5001886/how-can-a-smarty-variable-be-made-working-under-literal-literal As far as your foreach loop. I believe you need a second foreach loop for the products. You should have one (like you do) for orders, and a separate for the products inside the orders to get variables like {$product.productid} Try using Code:
__________________
Marcello Canitano New Site: X-Cart v4.5.5 GOLD X-Cart Mobile v1.4.3 X-Payments v1.0.6 CDSEO Pro v2 Total Server Solutions xCDN www.silverhorseracing.com |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|