Transactional email: Transactional email templates - Magento 1

Please note

Transactional email templates are supported only by Engagement Cloud for Magento v6.4.0 and above.

Summary

Creating Magento transactional templates is now a quick, simple and intuitive process by utilising Engagement Cloud's EasyEditor.

It's important to note that these emails are not triggered out of Engagement Cloud directly. Instead, the source of the campaign is synchronised back to Magento every six hours once mapped via the 'Engagement Cloud for Magento' connector. After synchronisation is complete the campaigns become available under 'Transactional Templates' within Magento and replaces the default templates that were selected previously.

For more information and guidance about Engagement Cloud's transactional email service, read Using transactional email.

Replacing default email templates with Engagement Cloud campaigns

  1. Go to System > Configuration > DOTMAILER > Email Templates

    Magento_Email_templates.png
  2. For the appropriate Magento email template, select a Engagement Cloud campaign from the dropdown next to it (a triggered campaign type is recommended but you can select from any)

    Magento_New_order_confirmation_email_template.png
  3. Click Save Config

This will automatically cause your template synchronisation to run (it normally runs every 6 hours and can be run manually by going to Developer > Sync Settings), which will do the following:

  • In System > Transactional emails, a new email template will be created for the template which was mapped to in step 2

    Magento_transactional_email_templates.png
  • the Engagement Cloud campaign's content will be copied into the new email template
  • the Engagement Cloud campaign's subject line will be copied into the new email template's subject
  • the Engagement Cloud campaign's 'From address' and 'Friendly from name' will be copied to the correct location in Magento admin

Using Magento variables

You can make use of any official Magento variables in your campaign, provided they're placed inside Liquid raw tags within a text box building block. As a side note, don't forget to include '{% raw %}' in the beginning and '{% endraw %}' at the end of your campaign. This makes sure the variables aren't misinterpreted as Liquid when the campaign is compiled, therefore will be formatted correctly in Magento.

Liquid_for_Magento.png

Here are some examples:

Gets the customer's first name

{{var customer.firstname}}

Gets the payment method used

{{var paymentMethod}}

Gets the first line of the shipping address

{{var order.getShippingAddress().getStreet1()}}
Read more about Magento variables and customising email content »

Restrictions

Email templates sent using a Engagement Cloud campaign don't support the following EasyEditor features, building blocks and link types:

  • personalisation
  • Emojis
  • 'RSS feed'
  • 'Sharing'
  • 'Social links'
  • 'Dynamic content' (this includes classic dynamic content)
  • 'External dynamic content'
  • 'Advanced personalisation' blocks
  • 'Forward to a friend' link
  • 'Unsubscribe' link (but you will need to include one in order to save your template in EasyEditor; see 'About unsubscribe links')
  • 'View in browser' link
  • 'Double opt-in' link

Don't make use of these types of features, blocks or links in your transactional email template, otherwise your email won't render correctly.

Have more questions? Submit a request

Comments