headscarvesbyciara Posted February 2, 2017 Share Posted February 2, 2017 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!!!! 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 <script type="application/json+trustpilot"> { "recipientEmail": "{email}", "recipientName": "{firstname}", "referenceId": "{order_name}" } </script> Link to comment Share on other sites More sharing options...
GiuseppeDigital24 Posted July 5, 2017 Share Posted July 5, 2017 Hi, headscarvesbyciara i'm intrested to same thing, you solved? PS: I tried to replace character with html code <script type="application/json+trustpilot"> with <script type="application/json+trustpilot"> but it don't re-autoreplace. Yesterday, i've contact trustpilot's team, i asked if their system recognize the snippet inside the <div>, whaiting for answere (but i imagine no). Giuseppe 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