0

I'm using magento 1.9.2.

I would like to change the invoice details like below
"Row total
Shipping and handling
Discount
Total
Tax
Grand Total"

to

"Row total
Discount
Total
Tax
Shipping and handling
Grand Total"

I would be happy if someone gives me tips.Thank you!

1 Answer 1

1

Create a module and change sort order of shipping and handling in config.xml file like below.

    <pdf>
        <totals>
            <shipping translate="title">
                <title>Shipping &amp; Handling</title>
                <source_field>shipping_amount</source_field>
                <font_size>7</font_size>
                <model>Inchoo_Invoice_Model_Order_Pdf_Totalpdf</model>
                <display_zero>1</display_zero>
                <sort_order>500</sort_order>
            </shipping>
        </totals>
    </pdf>

you need to change your module name in place of Inchoo_Invoice. For more info you can check Mage/Sales/etc/config.xml

30
  • Appreciate it,where should I put those?
    – Shota
    Feb 9, 2017 at 4:45
  • You need to create a new module or you can put it in existing module Feb 9, 2017 at 4:46
  • And specific I want to sort invoice email and admin panel.Do those work for them?
    – Shota
    Feb 9, 2017 at 4:46
  • in config.xml under global tag Feb 9, 2017 at 4:46
  • Yes it will work. Feb 9, 2017 at 4:47

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.