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


You have two options:

  1. Update Model method

    • Mage/Sales/Model/Order.php

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

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

  • Using this {{var total}},only price is showing,but price with proper format is not showing like $3499.00. @Abhishek Gupta. Jan 21 '19 at 5:07
  • This sendNewOrderEmail() method is not found in order.php. I am using Magento-2.2.7. Jan 21 '19 at 7:38
  • please guide me @Abhishek Gupta . Aug 23 '19 at 5:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.