cancel
Showing results for 
Search instead for 
Did you mean: 

Totals block missing from Order Email Confirmation

Totals block missing from Order Email Confirmation

I have a strange problem I can't find the solution to. In my order confirmation email all of the details are fine except I am missing the Order Totals block at the bottom which shows the Subtotal etc.

 

Subtotal

£5.30

Shipping & Handling

£5.00

Grand Total (Excl.Tax)

£8.58

Tax

£1.72

Grand Total (Incl.Tax)

 

This is working fine in the invoice email, just not the order email so the block is fine it is just not outputting to the order email.

 

Any help would be appreciated!

 

Kevin

Magento 1.9.1

4 REPLIES 4

Re: Totals block missing from Order Email Confirmation

same problem here. I am running 10 magento stores and only one has this problem. Sometimes the total block is there, sometimes not.

Re: Totals block missing from Order Email Confirmation

I am also having problems with the Totals block disappearing in Order Confirmation emails.  However, it is only an intermittent problem.  I also have another email template that I use to send extra information to our backend, it contains similar information to the usual Order Confirmation email, but the address is formatted differently.  It also includes the order item details, and the totals block.  The missing totals problem is even worse with that email, affecting about 5-10% of emails.  Can't seem to find a pattern.  Is there an error log I could look which might give me any clues as to what is happening?

Re: Totals block missing from Order Email Confirmation

Hello together.

 

I have the same issue. Does anybody have findout a solution?

Thanks and best regards

Pascal

Re: Totals block missing from Order Email Confirmation

For Me Below Steps are working fine.

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