crontab Posted November 8, 2012 Share Posted November 8, 2012 How do I implement a script at the order confirmation page? I have tried order-confirmation.php but it does not work, I guess i must use an include file witch file do I use/where do I put the script?, se script below <!—- Placed somewhere on the order confirmation page --> <script src = "http://research.pricerunner.com/cgi-bin/quest/cssi.js?quest=102&client= xxxxx"> </script> <a href="#" onclick="launchCSS()">Enter the text you want to display for the link here</a> <!—- Now you have a link that opens inquiry when clicked --> thanks in advance regards Link to comment Share on other sites More sharing options...
Andrey Matskevich Posted November 9, 2012 Share Posted November 9, 2012 Try place here \themes\<you_theme_name>\order-confirmation.tpl Link to comment Share on other sites More sharing options...
crontab Posted November 9, 2012 Author Share Posted November 9, 2012 I have tried to put the script and link in to order-confirmation.tpl but it does not work, it does not show at all! what to do? any idea? I only have one file on the server with that name "order-confirmation.tpl" Link to comment Share on other sites More sharing options...
Andrey Matskevich Posted November 15, 2012 Share Posted November 15, 2012 (edited) Maybe Script work incorrect. For example parameter client is wrong. I place script <script>alert('1');</script> it show me dialog with message 1. Also try from Admin Panel Menu select Advanced Parameters->Perfomance Temporary Set Template cache:Force compilation Cache : No And try make test order. Templates may be cached. Perfomance parameters should be returned back on production site. Otherwise it may reduce perfomance. Edited November 15, 2012 by Andrey Matskevich (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts