Tag Archives: grid

  • Orders2CSV item not showing in order grid

    Posted on June 25, 2012 by ext4mage

    Problem:
    The Orders2CSV in not showing up in the massaction dropdown menu on order grid.

    Solution:
    If you are using Orders2CSV PRO - just upgrade to newest version. Below solution is only working for free version.

    Most common reason for this error, is that another extension is also overwriting the "Mage_Adminhtml_Block_Sales_Order_Grid" function _prepareMassaction. What you can do is either to call my Grid (Ext4mage_Orders2csv_Block_Sales_Order_Grid) from that extension, or call that other extension from the file Ext4mage_Orders2csv_Block_Sales_Order_Grid. Alternative you can also include Orders2CSV functionality into the other function or vice versa.

    Example:
    Other module code add into Orders2CSV _prepareMassaction function:

    protected function _prepareMassaction()
    {
      parent::_prepareMassaction();
      if (Mage::getStoreConfig(self::XPATH_CONFIG_SETTINGS_IS_ACTIVE)) {
         $this->getMassactionBlock()->addItem('orders2csv', array(
           'label'=> Mage::helper('sales')->__('Orders2CSV'),
           'url' => $this->getUrl('*/sales_order_orders2csv/makecsv'),
         ));
         // Below is the other Extension code
         $this->getMassactionBlock()->addItem('delete_order', array(
           'label'=> Mage::helper('sales')->__('Delete order'),
           'url' => $this->getUrl('*/sales_order/deleteorder'),
         ));
      }
    }

    Related product:

    Orders2CSV PRO extension


    This post was posted in FAQ and was tagged with order, orders2csv, orders2csvpro, orders2CSV PRO, grid

1 Item(s)