Magento – PDF Invoice; changing shipping and other text

invoicemagento-1.9pdf

I am creating a new PDF Invoice and most is fine but the one thing that I just cannot find is how to change the text of the 'totals' block at the end!

Currently this shows

Subtotal
Shipping & Handling
Grand Total

and I want it to show

Sub Total
Delivery
Total

Should be very easy and I expected to be able to overwrite the values in my local locale translate.csv file with an entry such as

"Shipping & Handling","Delivery"

but it doesn't work!

Cache cleared, etc. but no change on the invoice. What am I missing?

Or can anyone tell me how to get these values from the order so I can craft the lines myself?

Magento 1.9.0.1

Best Answer

These Labels are coming from Mage/Sales/etc/config.xml between line 1443 and 1480 I am not sure where in the admin section they are present, if they are present there.

But you can always change them from .csv files

For example, I did it from here

app/locale/en_US/Mage_Sales.csv

like this

"Shipping & Handling","Delivery"
"Shipping & Handling","Delivery"

You need to do it for your own language.

Thanks.

Related Topic