We've added some tracking codes for some shopping and advertisement sites and would like to know some custom values for some of the fields required. Currently, the clear tracking code tokens we know are:

(!ORDERTOTAL!) - This will be replaced by the current order total.

(!ORDERNUMBER!) - This will be replaced by the current order number.

(!CUSTOMERID!) - This will be replaced by the current customer's ID.

We would like to know the token values for Product_ID(or SKU), product_name, product_price, and order_quantity(for each product)...


Kind Regards

in MultiStore by (160 points)

1 Answer

0 votes
Probably lookig at something like this


<xsl:param name="NewFeed">
                <xsl:for-each select="/root/OrderItems/Item">
                    <xsl:value-of select="EventID"/>::<xsl:value-of select="OrderedProductPrice"/>::<xsl:value-of select="OrderedProductName"/>::<xsl:value-of select="OrderedProductSKU"/>::<xsl:value-of select="Voucher"/>
                    <xsl:if test="position()!= last()">|</xsl:if>




Who is the third party?
by (2.3k points)
Hi Skriver,

Well, the 3rd party tracking codes i'm referring to are from other shopping engines (like pricegrabber, become, shopzilla, etc..)

The tracking code for become.com goes something like this..

<script language="JavaScript">
      var pg_pangora_merchant_id='64765';
var pg_order_id='(!ORDERNUMBER!)';
var pg_cart_size='(!NUM_CART_ITEMS!)';
var pg_cart_value='(!ORDERTOTAL!)';
var pg_currency='USD';
var pg_customer_flag='';
var pg_product_id='';
var pg_product_name='';
var pg_product_price='';
var pg_product_units='';
And so on...


As you can see, the other variables are left blank. I need help in filling them out. :)


Thanks and Regards,