protected function _prepareMassaction() { // Set massaction identifiers // --------------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); // --------------------------------------- // Set clear log action // --------------------------------------- $this->getMassactionBlock()->addItem('clear_logs', array('label' => Mage::helper('M2ePro')->__('Clear Log(s)'), 'url' => $this->getUrl('*/adminhtml_listing/clearLog', array('back' => Mage::helper('M2ePro')->makeBackUrlParam('*/adminhtml_ebay_listing/index', array('tab' => Ess_M2ePro_Block_Adminhtml_Ebay_ManageListings::TAB_ID_LISTING)))), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); // --------------------------------------- // Set remove listings action // --------------------------------------- $this->getMassactionBlock()->addItem('delete_listings', array('label' => Mage::helper('M2ePro')->__('Delete Listing(s)'), 'url' => $this->getUrl('*/adminhtml_ebay_listing/delete'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); // --------------------------------------- return parent::_prepareMassaction(); }