• Resolved konggulerod

    (@konggulerod)


    Hi,

    I have a webshop in two languages.
    German –> webshop.eu
    Spanish –> webshop.eu/es

    Depending on the language I have to insert a data snippet like these into my completed order email template:

    For German orders:

    <script type="application/json+trustpilot">
    {
    "locale": "de-DE"
    }
    </script>

    For Spanish orders:

    <script type="application/json+trustpilot">
    {
    "locale": "es-ES"
    }
    </script>

    Any suggestions on how I can do this?
    I use WPML for the translation on the website.

    Thanks!

    • This topic was modified 6 years, 5 months ago by konggulerod.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Insert different scripts in email template depending on language’ is closed to new replies.