system-transactional-email-template-header

Email Header

The default header includes your email logo that is linked to your store. You can easily insert
variables to add store contact information to the header. To make more extensive changes
requires a working knowledge of both HTML and CSS. On the server, the header template is
located at:
[Magento install dir]/app/locale/en_US/template/email/html/header.
Process Overview:
Step 1: Load the Template
Step 2: Customize the Template
Step 3: Update the Configuration

Step 1: Load the Template

1. On the Admin menu, select System > Transactional Emails.
2. Click the Add New Template button. Then, do the following:
a. Set Template to “Email – Header.”
b. Set Locale to the language of the email recipients.
3. Click the Load Template button.

Step 2: Customize the Template

When working in the template code, be careful not to overwrite anything that is enclosed in
double braces.
1. In the Template Name field, enter a name for your custom header.
2. In the Template Content box, modify the HTML as needed.


3. To insert a variable, position the cursor in the code where you want the variable to appear, and
click the Insert Variable button. Then, do the following:
a. In the list of Store Contact Information variables, click the variable that you want to
insert.
You are not limited to the variables in this list, although they are the ones most often
included in the header. You can actually type the code for any system variable directly into
the template.
b. Click the Preview Template button. Then, make any adjustments to the template that are
needed.

4. When complete, click the Save Template button.
Your custom header now appears in the list of Transactional Email templates.
Step 3: Update the Configuration

1. On the Admin menu, select System > Configuration. Then in the panel on the left, under
General, select Design.
2. If necessary, set the Current Configuration Scope to the website, store, or store view where the
header will be used.
3. Click to expand the Transactional Emails section, and do the following:
a. If the header is for a specific view, clear the Use Website checkbox that is next to the
Email Header Template field.
b. Set Email Header Template to the name of the custom header that you just created.

4. When complete, click the Save Config button.

Leave a Comment

Your email address will not be published. Required fields are marked *