zanahoria Posted June 26, 2012 Share Posted June 26, 2012 Hello everyone I am trying to install a tracking code for an affiliate program that allows me to retrieve info from the order-confirmation page (that's where the code will be embedded) . this is the affiliate tracking code, do you know with what parameters i should replace the parameters inside the ' ' (the red text). What are the variables for this in prestashop? Thanks very much for your kind answers <script type="text/javascript"> //<![CDATA[ /*** Do not change ***/ var AWIN = {}; AWIN.Tracking = {}; AWIN.Tracking.Sale = {}; /*** Set your transaction parameters ***/ AWIN.Tracking.Sale.amount = 'SALE_AMOUNT'; AWIN.Tracking.Sale.currency = 'GBP'; AWIN.Tracking.Sale.orderRef = 'ORDER_REF'; AWIN.Tracking.Sale.parts = 'COMMISSION_GROUP:SALE_AMOUNT'; AWIN.Tracking.Sale.voucher = 'VOUCHER_CODE'; AWIN.Tracking.Sale.test = '1'; //]]> </script> Link to comment Share on other sites More sharing options...
zanahoria Posted June 28, 2012 Author Share Posted June 28, 2012 Anybody knows how can I retrieve those variables ?? PLEASE HELp Link to comment Share on other sites More sharing options...
zanahoria Posted June 29, 2012 Author Share Posted June 29, 2012 Could somebody help me , I am D E S P E R A T E Link to comment Share on other sites More sharing options...
websku Posted September 5, 2012 Share Posted September 5, 2012 Did you find what you were looking for? Link to comment Share on other sites More sharing options...
Recommended Posts