Skip to content

Instantly share code, notes, and snippets.

@pauldonnelly
Created October 24, 2014 10:35
Show Gist options
  • Save pauldonnelly/6cb7861deede02f04271 to your computer and use it in GitHub Desktop.
Save pauldonnelly/6cb7861deede02f04271 to your computer and use it in GitHub Desktop.
Add Order Status to Last 5 Orders on Magento Admin Dashboard
<?php
/*
Copy app/code/core/Mage/Adminhtml/Block/Dashboard/Orders/Grid.php
To
app/code/local/Mage/Adminhtml/Block/Dashboard/Orders/Grid.php
Open your local copy of Grid.php and around line 114 add the following:
*/
$this->addColumn('status', array(
'header' => Mage::helper('sales')->__('Status'),
'index' => 'status',
'type' => 'options',
'width' => '70px',
'sortable' => false,
'options' => Mage::getSingleton('sales/order_config')->getStatuses(),
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment