Magento 2.2.x Notice: As outlined by the Magento Software Lifecycle Policy, Magento 2.2.x has reached the End-of-Support and will no longer receive 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 process of customizing the body of each message is the same as the customizing the header or footer. The only difference is that there is a different message template for each activity or event that triggers a notification. You can use the templates as they are, or customize them to match your voice and brandA unique identity that defines a particular product or group of products.. In addition to the template text, there's a wide selection of variables that can be incorporated into the template.
|1.||In the Template Name field, enter a name for your custom template.|
|2.||By default, the Template Subject contains the first line of the message, which is the salutation. You can leave it as is, or enter something more descriptive.|
|3.||Take note of the Currently Used For path to the template configuration. You will later follow this path to update the configuration.|
|4.||In the Template Content box, modify the HTML as needed. The content consists of a combination of HTML tags, CSS directives, variables, and text.|
When working in the template code, be careful not to accidentally type over the code that is enclosed in double braces.
|5.||To insert a variable, position the cursor in the code where you want the variable to appear, and tap Insert Variable. Then, choose the variable that you want to insert.|
When a variable is selected, a markup tag for the variable is inserted in the code.
In addition to the Store Contact variables, the list includes the Customer Account URL, Customer Email, and Customer Name. However, you are not limited to the variables in this list. You can enter the code for any system or custom variable directly into the template.
|6.||If you need to make any CSS declarations, enter the styles in the Template Styles box.|
|1.||In the breadcrumb trail at the top of the Template Information section, find the following information, as it relates to your template. In this example the template configuration is located on the Customer Configuration page, in the Create New Account Options section, and in the Default Welcome Email field.|
Create New Account Options
Default Welcome Email
|2.||Tap the link to open the template configuration page.|
|3.||Expand the section. Then, find the field for the email template that you customized, and specify the new template as the default.|
Load default template
Lists the selection of available templates, and identifies the template to be customized.
The name of your custom template.
Inserts a variable into the template at the cursor location.
The Template Subject appears in the Subject column, and can be used to sort and filter the templates in the list.
The content of the template in HTML.
Any CSS style declarations that are needed to format the template can be entered in the Template Styles box.