Jump to content

trustpilot AFS 2.0 implementation with Json added to email templates


headscarvesbyciara

Recommended Posts

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 by headscarvesbyciara (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...