| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Accessing order variables for Myaffiliate tracking | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Accessing order variables for Myaffiliate tracking
I'm using myaffiliate.com to do affiliate management and I need to dynamically insert the Order # into each receipt confirmation page.
As instructed, I created a new template file: Skin1/customer/main/myaffiliate.tpl this file contains: Contents: Order_message.tpl uses this template to output the image as per Myaffiliate instructions. When I run smarty debug console I can easily access the top-level variables. However, when I attempt to access the OrderID variable in the Order Array as above I am unable to access the variable. I created an order #51. Then I searched the smarty output for "51" and found the following relevant variables. Which one is the "official, correct" one to use? Seems like it's referenced several different ways. $orders => orderid=>51 $orders => products. orderid=>51 $userinfo.orderid=>51 Can someone please tell me the exact code which should go in the img src tag above? Knowing how to access variables in arrays will be very helpful. Thanks! Dave |
|||||||
#2
|
|||||||
|
|||||||
I need a response.
This post supposedly answered the question, but didn't work for me:
http://forum.x-cart.com/viewtopic.php?t=2277&highlight=ultimate+affiliate Does anyone have a clue about how to do this? Dave |
|||||||
#3
|
|||||||
|
|||||||
You could try:
Code:
__________________
ex x-cart guru |
|||||||
#4
|
|||||||
|
|||||||
i want to embed tracking code to track with shareasale or cj and also track conversion with google adwords and overture too. will this do this? does anyone know of an add on that will allow me to do this?
__________________
Version 4.0.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|