Using column aliases in Sales Order Grid field
问题 I'm trying to add two fields ( Shipping Postcode and Billing Postcod ) to Magento 1.7CE's backend Sales grid. I'm doing this by overriding Mage_Adminhtml_Block_Sales_Order_Grid::setCollection(...) to join the table with sales/order_address . public function setCollection($collection){ parent::setCollection($collection); $collection->getSelect()->join( array('address_shipping' => $collection->getTable("sales/order_address")), 'main_table.entity_id = address_shipping.parent_id AND address