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

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -