I am trying to add new input field in sales > order > invoice . This would be like my reference number. This custom input field should be show in sales > order >invoice & sales > invoice & when print invoice this custom field need to get showed , New custom grid need to get added , I am currently working with this :


Can some one let me know how i need to proceed for this .

Custom field in admin panel should look like this : http://i.stack.imgur.com/BaEbb.jpg


It's lot of work to do. However, I will try to add some relevant link for you to guide you to right direction.

Follow these great tutorials:

  1. Custom field in order page
  2. Creating Custom grid - Once you add a new table/attribute (in 1) then can add this field to appear in custom grid

In order to add these fields in invoices, you will need to rewrite few phtml and block classes. Learn rewriting classes here.

To be able to add this field in print invoice (pdf invoice), you will need to learn magento pdf functions. You can learn here.

It's lot of work. Hope it will help and good luck.

| improve this answer | |
  • Hello Adarash Thanks , will look on this for the implementation , Do we have any free or paid extension for this . – deve cot May 26 '15 at 11:52
  • Not sure, but I have had successfully implemented this similar requirement before, following those links. – Adarsh Khatri May 26 '15 at 11:56

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.