Magento Open Source 2.1.x

Magento 2.1.x Notice: Magento 2.1.18 is the final 2.1.x release. After June 2019, Magento 2.1.x will no longer receive security patches, quality fixes, or documentation updates. To maintain your site's performance, security, and PCIPayment Card Industry: Refers to debit and credit cards and their associated businesses. compliance, upgrade to the latest version of Magento. The Magento User Guide 2.1.x remains available in PDF for Open Source and Commerce.

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.