Home » Magento18 April 2017

Magento: Add New Column to Sales Order Grid in Admin

This article shows how you can add new columns to sales order grid in Magento 1.x admin.

For this, you need to rewrite/override the Adminhtml’s sales_order_gird block class.

Here is the block override code to be written in your module’s config.xml file:


Now, you need to create a new class file that overrides the sales_order_grid adminhtml class. The code below shows how to display two columns in the sales order grid. The two columns fetches data from fields custom_status and custom_message. These two fields are manually added to the sales order table.


Now, clear cache from Magento admin (System -> Cache Management).

That all. Now, you should be able to see two new columns in Sales Order Grid in your Magento admin (Sales -> Orders).

Hope this helps. Thanks.


Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed