theofferhut Posted September 30, 2013 Share Posted September 30, 2013 Hi Everyone, I have signed up with an affiliate to help drive some business and they are asking me to insert some code (below) into the final stage of the checkout process. I have searched and believe I should enter this into the order-confirmation.tpl file but Im not sure if this is correct and also what I should change the values to : Code : <script type="text/javascript" src="https://secure.paidonresults.net/create-sale?client=java&MerchantID=956&SaleID=Your-Sale-ID&OrderValue=Your-Order-Value"></script><noscript><img src="https://secure.paidonresults.net/create-sale?client=img&MerchantID=956&SaleID=Your-Sale-ID&OrderValue=Your-Order-Value" width="10" height="10" border="0"></noscript> Can anyone help ? Thanks Link to comment Share on other sites More sharing options...
vekia Posted September 30, 2013 Share Posted September 30, 2013 check this topic: http://www.prestashop.com/forums/topic/250595-solved-affiliate-tracking-code/ Link to comment Share on other sites More sharing options...
theofferhut Posted September 30, 2013 Author Share Posted September 30, 2013 Hi Vekia, I found that topic and changed the code to : <script type="text/javascript" src="https://secure.paidonresults.net/create-sale?client=java&MerchantID=956&SaleID={Tools::getvalue(id_order')}&OrderValue={$total_to_pay}"></script> <noscript><img src="https://secure.paidonresults.net/create-sale?client=img&MerchantID=956&SaleID={Tools::getvalue(id_order')}&OrderValue={$total_to_pay}" width="10" height="10" border="0"></noscript> I have entered it into the order-confirmation.tpl file but I am getting nothing sent back to the affiliate - I do have an error at checkout which I have entered on another thread and I have bumped it today. Could this be causing it ? Thanks Link to comment Share on other sites More sharing options...
theofferhut Posted September 30, 2013 Author Share Posted September 30, 2013 Hi Vekia, The coding you suggested works brilliantly - I have also fixed my other problem - the template I had purchased has issues with the swift files - by copying back the standard files it now works fine. Cheers Link to comment Share on other sites More sharing options...
vekia Posted September 30, 2013 Share Posted September 30, 2013 thank you for information that it works well im going to mark this thread as [solved] with regards, Milos Link to comment Share on other sites More sharing options...
Recommended Posts