php - Magento: how to filter order list by shipping method? -
i try create custom grid orders shipped shipping method (for example tnt). here method should filter:
protected function _preparecollection() { $collection = mage::getresourcemodel($this->_getcollectionclass()); $this->setcollection($collection); return parent::_preparecollection(); }
i'm going use addfieldtofilter(), don't know field name. me?
how "shipping_method" or "shipping_description". fields "sales_flat_order"
Comments
Post a Comment