I just want to add some fields in invoice pdf template. I found the file to edit, app/code/core/Mage/Sales/Model/Order/Pdf/Abstract.php.

I need to add my client address in the template. To do that I edited the above file and I'm getting error.

Please find the image here and help me to do the changes.

Please help me...

enter image description here

  • first move the address billing address and shipping address where you want by editing in invoice pdf template file $page->drawText("text",x,y); at last you can add client address in the template. Aug 16, 2017 at 9:38
  • did you get your solution??? May 28, 2018 at 3:32

1 Answer 1


here are classes responcible for invoice pdf generation




you can get all detail in this files

you can rewrite those classes in your module and change accordingly

you can refer below url for more detail


  • Hi... Inchoo is an extension and the custom value can be added through that extension. I just want to change the magento core functionality... Please help me...
    Oct 3, 2016 at 11:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.