Created
October 24, 2014 10:35
-
-
Save pauldonnelly/6cb7861deede02f04271 to your computer and use it in GitHub Desktop.
Add Order Status to Last 5 Orders on Magento Admin Dashboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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