I don't want to display Subtotal, Shipping & Handling and Grand Total on order email. How can I remove it? Thank you! enter image description here


Need to comment code in layout file sales.xml (\app\design\frontend\YOUR_PACKAGE\YOUR_TEMPLATE\layout\sales.xml)

        <block type="sales/order_email_items" name="items" template="email/order/items.phtml">
            <action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
            <action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
            <!--<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
                <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
                <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
                <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
                    <action method="setIsPlaneMode"><value>1</value></action>
        <block type="core/text_list" name="additional.product.info" />

Add the following to your theme's local.xml (if you don't know how to do that, please refer to "How to use local.xml / theme.xml" in this answer:

    <remove name="order_totals" />

This removes the totals block from order confirmation emails.

If you want to do the same for invoice and credit memo emails, add this as well:

    <remove name="invoice_totals" />
    <remove name="creditmemo_totals" />
  • i need to do same for shiment email. what can i do? – Priya Dec 12 '19 at 8:51

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.