How to Add Column to Admin Sales Orders Grid in Magento

admingridgrid-serlizationorder-gridorders

How can I add a column to the grid in the Admin section under Sales > Orders?

enter image description here

Best Answer

Inchoo wrote a great article on extending the order grid. And on the Atwix blog there's an article on adding a column from a different table.

The Inchoo blog post basically extends it with a custom extension. In case you're not familiar with writing your own extension I'd suggest you take a loot at Alan Storms tutorial or the one from Magento 4U.

You will be rewriting the Mage_Adminhtml_Order_Grid block class adding a column to the _prepareColumns method and extending the _prepareCollection method with your custom field