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.

3 Responses to Magento: Add Shipping Method to Sales Order Grid

  1. Harsh says:

    Tried but this does not works….

    • Josh Pratt says:

      Harsh – I just did it recently too, and I followed my post, and it worked fine for me. Perhaps you didn’t do it quite right.

  2. Jeff says:

    What about modifying the redirect url so that when you ship an order (from inside the order using the ship button) that it returns to the sales grid instead of looping back to inside the order?

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="" highlight="">