Order Email Template Totals – How to Configure

email-templatesorderstotals

Please help me to find where i can edit the totals from order email template. I attached an image with what i want exactly.

*the language from picture is romanian but you understand what i mean.

Thanks in advanced.enter image description here

Best Answer

You have two options:

  1. Update Model method

    • Mage/Sales/Model/Order.php

      function sendNewOrderEmail()
      {
          array(
              'order'         => $this,
              'total' => $this->getGrandTotal(),
          ) 
      }
      
    • Then add in template simply

      {{var total}}
      
  2. You can directly manipulate the template variable

    app/design/frontend/base/default/template/sales/order/totals.phtml
    
Related Topic