Magento: Add Shipping Method to Sales Order Grid

Magento Icon

If you want to add the shipping method to a column in your admin sales order grid, create a module to override app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php and add the following code to the _prepareColumns() method wherever you want the column to be:

$this->addColumn('shipping_description', array(
    'header' => Mage::helper('sales')->__('Shipping Method'),
    'index' => 'shipping_description',
));
This entry was posted in Magento. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">