Add Custom Menu Sales Order Magento

Magento
Here I want show you how to add custom menu for order filter in admin. sometime client want to custom menu with some filter orders. Here I show you get only processing orders with custom menu with this custom module. Follow this steps and create module or files. app\etc\modules\Jwd_Orderstosend.xml [sourcecode language="plain"] <?xml version="1.0"?> <config> <modules> <Jwd_Orderstosend> <active>true</active> <codePool>local</codePool> </Jwd_Orderstosend> </modules> </config> [/sourcecode] app\code\local\Jwd\Orderstosend\Block\Adminhtml\Order\Items.php [php] <?php class Jwd_Orderstosend_Block_Adminhtml_Order_Items extends Mage_Adminhtml_Block_Widget_Grid_Container { public function __construct() { $this->_blockGroup = 'jwd_orderstosend'; $this->_controller = 'adminhtml_order_items'; $this->_headerText = Mage::helper('adminhtml')->__('Orders to send'); parent::__construct(); $this->_removeButton('add'); } } ?> [/php] app\code\local\Jwd\Orderstosend\Block\Adminhtml\Order\Items\Grid.php [php] <?php class Jwd_Orderstosend_Block_Adminhtml_Order_Items_Grid extends Mage_Adminhtml_Block_Widget_Grid { public function __construct() { parent::__construct(); $this->setId('order_items'); $this->setUseAjax(false); $this->setDefaultSort('created_at'); $this->setDefaultDir('DESC'); $this->setSaveParametersInSession(true); } /** * Retrieve collection class * * @return string */ protected function _getCollectionClass() { return 'sales/order_grid_collection'; } protected function _prepareCollection()…
Read More