Book Image

Learning Magento Theme Development

By : Richard Carter
Book Image

Learning Magento Theme Development

By: Richard Carter

Overview of this book

Table of Contents (15 chapters)
Learning Magento Theme Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Adding a static block to a Magento transactional e-mail template


You can take customizing your Magento transactional e-mail templates even further by adding static blocks to the templates.

Creating the static block

Firstly, you will need to create a static block you wish to insert into your Magento e-mail template. Navigate to CMS | Static Blocks and click on the Add New Block button at the top-right corner of the screen.

Provide Block Title and Identifier (the example uses email_ as a prefix to help you know where the block is used), as shown in the following screenshot:

Use the Content field to add content you would like to appear within the e-mail template itself. Once you're finished, click on the Save Block button at the top-right corner of the screen.

Adding the static block to the e-mail template

Once again, navigate to System | Transactional Emails and edit the New Order v2 template you created earlier. Locate the following code in the Template Content field:

If you have any questions about...