Jump to content

Affiliate tracking code integration problem


Recommended Posts

Hello

 

I am trying to integrate a tracking code from an affiliate on my prestashop store 1.3.6.0 .

 

The tracking code I should implement is this .

<iframe height='1' width='1' scrolling='no' marginheight='0' marginwidth='0' frameborder='0' src='//event.2parale.ro/events/salecheck?amount=__ADD_SALE_VALUE__&campaign_unique=84cd2857e&confirm=ecafd3c9b157cc3c&transaction_id=__ADD_TRANSACTION_ID__&description=__ADD_DESCRIPTION__'></iframe>

__ADD_SALE_VALUE__ should be replaced with total order ( only value of products without shipping fee ) 

__ADD_TRANSACTION_ID__ should be replaced with order number .

 

__ADD_DESCRIPTION__ this is not so important .

 

I have modified and added this tracking code on the order-confirmation.tpl file from my theme .

<iframe height='1' width='1' scrolling='no' marginheight='0' marginwidth='0' frameborder='0' src='//event.2parale.ro/events/salecheck?amount={$order->total_products}/1.24&campaign_unique=84cd2857e&confirm=ecafd3c9b157cc3c&transaction_id={$id_order}&description=ETIGARA_ELECTRONICA_RO'></iframe>

The problem is that the value of the total order and the order number are not passed on the order-confirmation.tpl file .

Here is a screenshot after I tested the script , as you can see the order value and order number are missing .

http://i.imgur.com/61QNhMk.png

 

Can anyone help me with this problem ?

 

Thank you .

 

 

Link to comment
Share on other sites

×
×
  • Create New...