I'm new to Magento, and need to add filter by website to Sales > Orders page. I try to override Mage_Adminhtml_Block_Sales_Order_Grid and add following code:
protected function _prepareColumns()
{
$this->addColumn('website', array(
'header' => Mage::helper('sales')->__('Website'),
'index' => 'store_id',
'type' => 'options',
'width' => '70px',
'options' => Mage::getModel('core/website')->getCollection()->toOptionHash(),
));
}
This is the result, only the English store have website associated. Can somebody help me?