Magento – Magento PDF invoice – edit order and names of subtotal, tax and total field

magento-1.7theme

I see that when I print my Magento PDF invoice for an order, I get wrong names and order at the bottom of the document for price of the product, product tax, delivery costs and total fields.

Is it possible to edit thoose fields from some phtml file, or all magento pdf invoices are edited through invoice and abstract.php files?

If second option is true, how to change names and order for pdf invoice items mentioned before ?

Thanks in advance

Best Answer

Take a look @

You will need to rewrite order_pdf_invoice (or copying it to app/local/Mage)

<models>
    <sales>
        <rewrite>                    
            <order_pdf_invoice>Atwix_Printedorders_Model_Invoice</order_pdf_invoice>
        </rewrite>
    </sales>
...
</models>
Related Topic