Magento Open Source 2.2.x

Adding Predefined Variables

Predefined variables are easy to add to content email templates and content pages to personalize communications. The selection of available variables depends on the template.

Variables for Contact Form Template

To add a variable to an email template:

1. On the Admin sidebar, tap Marketing. Then under Communications, choose Email Templates.
2. Do one of the following:
  • Load an existing template.
  • Add a new template.
3. In the Template Content box, position the insertion point where you want the variable to appear. Then, tap Insert Variable.
4. In the list of available variables, choose the one you want to insert into the template.
5. To preview the template in a new browser window, tap Preview. Then, return to the main window.
6. When complete, tap Save Template.