Niels answer of app/design/frontend/base/default/template/sales/order/totals.phtml
is correct however I thought some further clarification was in order because one doesn't merely make cosmetic changes to this file in order to effect the desired change. totals.phtml
loops over the "totals", each of which produces a total-related line-item (Subtotal, Shipping & Handling, Tax, Grand Total (Excl. Tax), and Grand Total (Incl. Tax)). Your best bet is to use Mage::Log
to output each of the totals (which are looped over via an associative array $_code => $total
). If you log each key ($_code
), you'll see names such as subtotal
, shipping
, grand_total
, tax
, and grand_total_incl
. I filtered out those from the sales order e-mail that I didn't want by adding the following code directly below the foreach
:
<?php if (in_array($_code, array('grand_total'))) {
continue;
} ?>
Hopefully this will help anybody who is puzzling over where these totals are mysteriously coming from. :-)