Email Templates

When dealing with the default emails that are sent out by the system, such as int he case of new registration, order confirmation and the like the code for these are placed in the /app/locale//template/.. folders.

One thing to consider in the deciphering of these template files is that it will be possible to see entries such as: {{layout handle=”sales_email_order_items” order=$order}} in the file, and it is possible to wonder what on earth such notation relates to.

The sales_email_order_items part of this refers to the file /app/design/frontend/base/default/layout/sales.xml. Here there is the following section:


colspan=”3″ align=”right” style=”padding:3px 9px”
align=”right” style=”padding:3px 9px”


The above excerpt shows defaultsales/order_email_items_order_default, and this is referencing /app/design/frontend//default/template/email/order/items/order/default.phtml

It is then possible to place an override file in your frontend template to alter the values in this file.

Leave a Reply

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