Order totals block on Magento order email and invoice email templates -
can point me templates/code blocks used order totals block on magento order mail , invoice e-mail templates?
the tax issue solved need implement logic rid of shipping , subtotal. templates used emails? found frontend , changed needed, can't find template/block used e-mails sent system.
can point me in right direction?
thanks, bart
niels answer of app/design/frontend/base/default/template/sales/order/totals.phtml correct thought further clarification in order because 1 doesn't merely make cosmetic changes file in order effect desired change. totals.phtml loops on "totals", each of produces total-related line-item (subtotal, shipping & handling, tax, grand total (excl. tax), , grand total (incl. tax)). best bet use mage::log output each of totals (which looped on via associative array $_code => $total). if log each key ($_code), you'll see names such subtotal, shipping, grand_total, tax, , grand_total_incl. filtered out sales order e-mail didn't want adding following code directly below foreach:
<?php if (in_array($_code, array('grand_total'))) { continue; } ?> hopefully puzzling on these totals mysteriously coming from. :-)
Comments
Post a Comment