GoE
GoE

Reputation: 596

Magento Edit Email Order Confirmation Template NOT in the backend

i want to know, where the email-template file for the order-confirmation email is stored in magento. i want to edit the last 3 rows, with tax, shipping and total in it.

does anyone know where it is?

Upvotes: 0

Views: 9471

Answers (3)

hsuastegui
hsuastegui

Reputation: 49

You can also set the theme as a module, add the template override in the config.xml and add the template in app/locale/en_US/template/email/themename

<config>
  <global>
    <template>
        <email>
            <sales_email_order_template translate="label" module="sales">
                <label>New Order</label>
                <file>themename/sales/order_new.html</file>
                <type>html</type>
            </sales_email_order_template>
        </email>
    </template>
  </global>
</config>

Upvotes: 0

Mohit Kumar Arora
Mohit Kumar Arora

Reputation: 2214

  1. Please login to admin panel
  2. go to System --> Transactional Emails
  3. Click on "Add new template".
  4. Select "Template" and click on "Load Template".

Make changes in loaded html template and click on "Save Template".

Upvotes: 0

Janus T&#248;ndering
Janus T&#248;ndering

Reputation: 924

They are in template/sales/order/totals.phtml. But beware that this file is also used in "My Account" page.

Instead you should override it by adding a layout update to your layout files (fx local.xml in your theme):

<sales_email_order_items>
   <action method="setTemplate"><template>path/to/another/template.phtml</template></action>
</sales_email_order_items>

You can find the master template for different emails in app/locale/country_code/email/sales/

Upvotes: 1

Related Questions