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

1 Answer 1


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. Commented Jan 21, 2019 at 5:07
  • This sendNewOrderEmail() method is not found in order.php. I am using Magento-2.2.7. Commented Jan 21, 2019 at 7:38
  • please guide me @Abhishek Gupta . Commented Aug 23, 2019 at 5:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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