headscarvesbyciara Posted January 31, 2017 Share Posted January 31, 2017 (edited) Anyone know of a way to be able to add this to the new_order.html email template that comes with the email_alerts module. I have tried to add it using the translations interface but when i try to save it I get the error cannot have javascript in your Email templates!!!! <script type="application/json+trustpilot"> { "recipientEmail": "{email}", "recipientName": "{firstname}", "referenceId": "{order_name}" } </script> Edited January 31, 2017 by headscarvesbyciara (see edit history) Link to comment Share on other sites More sharing options...
headscarvesbyciara Posted January 31, 2017 Author Share Posted January 31, 2017 I also tried using CDATA tags and ordinary html comment tags, neither of which seemed to work, and HTMLPurifier library turned off! I am using Prestashop 1.6.1.4 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