Skip to main content
All CollectionsIntegrationsMagento Open Source and Adobe CommerceMagento 1
Transactional email: Transactional email templates - Magento 1
Transactional email: Transactional email templates - Magento 1

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

Gareth Burroughes avatar
Written by Gareth Burroughes
Updated over 9 months ago

It's important to note that transactional emails sent through Magento are not triggered out of Dotdigital directly. Instead, the source of the campaign is synchronised back to Magento every six hours once mapped through the Dotdigital for Magento connector.

After synchronisation is complete the campaigns become available under Transactional Templates within Magento, and replace the default templates that were selected previously.

Learn more about transactional email in Dotdigital in Use transactional email.


Before you start

Things you need to know:

  • Transactional email templates are supported only by Dotdigital for Magento v6.4.0 and above.


Replace default email templates with Dotdigital campaigns

  1. In Magento, go to System > Configuration > DOTMAILER > Email Templates

  2. Expand the drop-down menu for a Magento email template and select a Dotdigital campaign.

    A triggered campaign type is recommended but you can select from any.

  3. Select Save Config.

This automatically causes your template synchronisation to run, which does the following:

Template sync normally runs every 6 hours and can be run manually by going to Developer > Sync Settings

  • in System > Transactional emails, a new email template is created for the template which was mapped.

  • the Dotdigital campaign's content is copied into the new email template.

  • the Dotdigital campaign's subject line is copied into the new email template's subject.

  • the Dotdigital campaign's From address and Friendly from name are copied to the correct location in Magento admin.


Use 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. This makes sure the variables aren't misinterpreted as Liquid when the campaign is compiled.

Here are some examples:

Gets the customer's first name

{% raw %} {{var customer.firstname}} {% endraw %}

Gets the payment method used

{% raw %} {{var paymentMethod}} {% endraw %}

Gets the first line of the shipping address

{% raw %} {{var order.getShippingAddress().getStreet1()}} {% endraw %}

Learn more about Magento variables and customising email content in Magento's documentation.

Restrictions

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

  • Personalisation

  • Product recommendations

  • Emojis

  • RSS feed

  • Sharing

  • Social links

  • Dynamic content

  • External dynamic content

  • Liquid blocks

  • Unsubscribe link (but you must include one in order to save your template in EasyEditor; learn more in the section Include a mandatory unsubscribe link.

  • 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.

Did this answer your question?