fenner Posted May 13, 2015 Share Posted May 13, 2015 Hej :-) Jeg sidder og prøvet at få implementeret tracking fra Tradetracker til Prestashop 1.6.0.9 og smider koden ind i Orderconfirmation men den vil ikke tracke? Nogen der har prøvet at sætte dette om så kan guide mig noget af vejen? Link to comment Share on other sites More sharing options...
Prestawise Posted May 13, 2015 Share Posted May 13, 2015 Hvordan ser scriptet ud og hvor sætter du det ind ? Link to comment Share on other sites More sharing options...
fenner Posted May 13, 2015 Author Share Posted May 13, 2015 Koden er: <img src="https://ts.tradetracker.net/?cid= xxxx&pid=xx&tid={transactionID}&tam={transactionAmount}" alt="" width="1" height="1" border="0" /> Hvor XXX'erne er skiftet ud med de rigtige værdier. Koden indsættes i: order-confirmation.tpl Link to comment Share on other sites More sharing options...
Prestafan1234 Posted May 13, 2015 Share Posted May 13, 2015 (edited) Har du husket at slette cache i shoppen efter at have rettet i .tpl filen? Avancerede parametre - Ydelse og knappen Clear Cache øverst til højre Edited May 13, 2015 by Prestafan1234 (see edit history) Link to comment Share on other sites More sharing options...
fenner Posted May 13, 2015 Author Share Posted May 13, 2015 Det har jeg prøvet. Tænkte om at "TransactionID" og "TransactionAmount" skal hedde noget andet, ved bare ikke hvad de hedder i Prestashop? Link to comment Share on other sites More sharing options...
Prestawise Posted May 14, 2015 Share Posted May 14, 2015 Måske du kan finde svaret i denne tråd: https://www.prestashop.com/forums/topic/250595-solved-affiliate-tracking-code/page-5 Link to comment Share on other sites More sharing options...
presta-dyr Posted May 15, 2015 Share Posted May 15, 2015 For meget lang tid siden lavede jeg et modul til formålet. /Kjeld Link to comment Share on other sites More sharing options...
fenner Posted May 15, 2015 Author Share Posted May 15, 2015 Hej Presta-dyr Dit modul virker, men jeg ved ikke hvilken variabel jeg skal bruge, f.eks. hvad skal "TransactionID" erstattes med? Har prøver med: {$orderId} uden held Link to comment Share on other sites More sharing options...
fenner Posted May 15, 2015 Author Share Posted May 15, 2015 Hej Prestadyr-- så er vi ved at være der. Det eneste er at på bekræftelsessiden får jeg denne tekst: Order ID: 46Total (w/o shipping): 139.39Total paid: 168.39Total products: 111.51Total commission (10 %): 11.151Currency: DKK Hvordan skjuler man den? Link to comment Share on other sites More sharing options...
presta-dyr Posted May 15, 2015 Share Posted May 15, 2015 Du skal erstatte hele indholdet af .tpl-filen. Prøv med: <img src="https://ts.tradetracker.net/?cid=xxxx&pid=xx&tid={$orderId}&tam={$total}" alt="" width="1" height="1" border="0" /> /Kjeld Link to comment Share on other sites More sharing options...
fenner Posted May 15, 2015 Author Share Posted May 15, 2015 Du skal erstatte hele indholdet af .tpl-filen. Prøv med: <img src="https://ts.tradetracker.net/?cid=xxxx&pid=xx&tid={$orderId}&tam={$total}" alt="" width="1" height="1" border="0" /> /Kjeld Tak for hjælpen. Ved du hvordan man skjuler denne tekst som kommer på ordrebekræftelsessiden: Order ID: 46 Total (w/o shipping): 139.39 Total paid: 168.39 Total products: 111.51 Total commission (10 %): 11.151 Currency: DKK Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now