/** * Add questions delete mass action * * @return object */ protected function _prepareMassAction() { parent::_prepareMassaction(); $this->setMassactionIdField('customer_name'); $this->getMassactionBlock()->setFormFieldName('order'); $this->getMassactionBlock()->addItem('home_oneclick', array('label' => Mage::helper('home_oneclick')->__('Delete'), 'url' => $this->getUrl('*/*/massDelete'), 'confirm' => Mage::helper('home_oneclick')->__('Are you sure?'))); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $this->setMassactionIdField('id'); $this->setMassactionIdFieldOnlyIndexValue(true); //-------------------------------- $this->getMassactionBlock()->addItem('assignGeneralId', array('label' => Mage::helper('M2ePro')->__('Search ASIN/ISBN automatically'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('unassignGeneralId', array('label' => Mage::helper('M2ePro')->__('Reset ASIN/ISBN information'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $this->setMassactionIdField('listing_product_id'); $this->setMassactionIdFieldOnlyIndexValue(true); //-------------------------------- $this->getMassactionBlock()->addItem('setDescriptionTemplate', array('label' => Mage::helper('M2ePro')->__('Set Description Policy'), 'url' => '')); $this->getMassactionBlock()->addItem('resetDescriptionTemplate', array('label' => Mage::helper('M2ePro')->__('Reset Description Policy'), 'url' => '')); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $this->setMassactionIdField('id'); $this->getMassactionBlock()->setUseSelectAll(false); $this->setMassactionIdFieldOnlyIndexValue(true); // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('removeFilter', array('label' => Mage::helper('M2ePro')->__('Remove'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- //-------------------------------- $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('M2ePro')->__('Delete'), 'url' => $this->getUrl('*/*/deleteDbTableSelectedRows', array('model' => Mage::registry('M2ePro_data_model'), 'table' => Mage::registry('M2ePro_data_table'))), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('resend_shipping', array('label' => Mage::helper('M2ePro')->__('Resend Shipping Information'), 'url' => $this->getUrl('*/adminhtml_order/resubmitShippingInfo'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $this->setMassactionIdField('employee_grid_massaction'); // Set massaction-url-param-name $this->getMassactionBlock()->setFormFieldName('id'); // Add a massive-deletion button $this->getMassactionBlock()->addItem('delete', array('label' => $this->__('Remove Selected Employees'), 'url' => $this->getUrl('*/*/massDelete'), 'confirm' => $this->__('Sure, hey?'))); // Prepare data for the massive-status-changing button (just down there...) $statuses = array(array('value' => 1, 'label' => $this->__('Enabled')), array('value' => 0, 'label' => $this->__('Disabled'))); // Add a massive-status-changing button $this->getMassactionBlock()->addItem('status', array('label' => $this->__('Change status'), 'url' => $this->getUrl('*/*/massStatus', array('_current' => true)), 'additional' => array('cmbStatus' => array('name' => 'status', 'type' => 'select', 'class' => 'required-entry', 'label' => $this->__('Status'), 'values' => $statuses)))); return parent::_prepareMassaction(); }
protected function _prepareMassaction() { parent::_prepareMassaction(); $this->setMassactionIdField('id'); $this->getMassactionBlock()->setFormFieldName('id'); $formKey = Mage::getSingleton('core/session')->getFormKey(); $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('zendesk')->__('Delete'), 'url' => $this->getUrl('*/adminhtml_zendesk/bulkDelete', array('form_key' => $formKey, '_current' => true)), 'confirm' => Mage::helper('zendesk')->__('Are you sure you want to delete selected tickets?'))); $this->getMassactionBlock()->addItem('change_status', array('label' => Mage::helper('zendesk')->__('Change Status'), 'url' => $this->getUrl('*/adminhtml_zendesk/bulkChangeStatus', array('form_key' => $formKey, '_current' => true)), 'confirm' => Mage::helper('zendesk')->__('Are you sure you want to change status of selected tickets?'), 'additional' => array('visibility' => array('name' => 'status', 'type' => 'select', 'class' => 'required-entry', 'label' => Mage::helper('zendesk')->__('Status'), 'values' => Mage::helper('zendesk')->getStatusMap())))); $this->getMassactionBlock()->addItem('change_priority', array('label' => Mage::helper('zendesk')->__('Change Priority'), 'url' => $this->getUrl('*/adminhtml_zendesk/bulkChangePriority', array('form_key' => $formKey, '_current' => true)), 'confirm' => Mage::helper('zendesk')->__('Are you sure you want to change priority of selected tickets?'), 'additional' => array('visibility' => array('name' => 'priority', 'type' => 'select', 'class' => 'required-entry', 'label' => Mage::helper('zendesk')->__('Priority'), 'values' => Mage::helper('zendesk')->getPriorityMap())))); $this->getMassactionBlock()->addItem('change_type', array('label' => Mage::helper('zendesk')->__('Change Type'), 'url' => $this->getUrl('*/adminhtml_zendesk/bulkChangeType', array('form_key' => $formKey, '_current' => true)), 'confirm' => Mage::helper('zendesk')->__('Are you sure you want to change type of selected tickets?'), 'additional' => array('visibility' => array('name' => 'type', 'type' => 'select', 'class' => 'required-entry', 'label' => Mage::helper('zendesk')->__('Type'), 'values' => Mage::helper('zendesk')->getTypeMap())))); $this->getMassactionBlock()->addItem('mark_as_spam', array('label' => Mage::helper('zendesk')->__('Mark as Spam'), 'url' => $this->getUrl('*/adminhtml_zendesk/bulkMarkSpam', array('form_key' => $formKey, '_current' => true)), 'confirm' => Mage::helper('zendesk')->__('Are you sure you want to mark as spam selected tickets?'))); return $this; }
protected function _prepareMassaction() { // Set mass-action identifiers //-------------------------------- $this->setMassactionIdField('`main_table`.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('autoMapping', array('label' => Mage::helper('M2ePro')->__('Map Item(s) Automatically'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('moving', array('label' => Mage::helper('M2ePro')->__('Move Item(s) to Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set mass-action identifiers //-------------------------------- $this->setMassactionIdField('`main_table`.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('relist', array('label' => Mage::helper('M2ePro')->__('Relist Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stop', array('label' => Mage::helper('M2ePro')->__('Stop Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.epid'); $this->getMassactionBlock()->setFormFieldName('epid'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('overwrite_attribute', array('label' => Mage::helper('M2ePro')->__('Overwrite ePIDs in Compatibility Attribute'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('add_to_attribute', array('label' => Mage::helper('M2ePro')->__('Add ePIDs to Compatibility Attribute'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('ship', array('label' => Mage::helper('M2ePro')->__('Mark Order(s) as Shipped'), 'url' => $this->getUrl('*/adminhtml_ebay_order/updateShippingStatus'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('pay', array('label' => Mage::helper('M2ePro')->__('Mark Order(s) as Paid'), 'url' => $this->getUrl('*/adminhtml_ebay_order/updatePaymentStatus'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set fake action //-------------------------------- if ($this->getMassactionBlock()->getCount() == 0) { $this->getMassactionBlock()->addItem('fake', array('label' => ' ', 'url' => '#')); } //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $typeIdentifier = Mage::helper('M2ePro/Component_Ebay_Motor_Compatibility')->getIdentifierKey($this->getCompatibilityType()); // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.' . $typeIdentifier); $this->getMassactionBlock()->setFormFieldName($typeIdentifier); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('overwrite_attribute', array('label' => Mage::helper('M2ePro')->__('Overwrite in Compatibility Attribute'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('add_to_attribute', array('label' => Mage::helper('M2ePro')->__('Add to Compatibility Attribute'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers // --------------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); // --------------------------------------- // Set delete action // --------------------------------------- $confirm = 'Attention! By deleting Account you delete all information on it from M2E Pro Server. '; $confirm .= 'This will cause inappropriate work of all Accounts\' copies.'; $confirm = Mage::helper('M2ePro')->__($confirm); $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('M2ePro')->__('Delete'), 'url' => $this->getUrl('*/*/delete'), 'confirm' => $confirm)); // --------------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $typeIdentifier = Mage::helper('M2ePro/Component_Ebay_Motors')->getIdentifierKey($this->getMotorsType()); // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.' . $typeIdentifier); $this->getMassactionBlock()->setFormFieldName($typeIdentifier); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('select', array('label' => Mage::helper('M2ePro')->__('Select'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('setNote', array('label' => Mage::helper('M2ePro')->__('Set Note'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('saveAsGroup', array('label' => Mage::helper('M2ePro')->__('Save As Group'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
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(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- $tabIdBuy = Ess_M2ePro_Block_Adminhtml_Component_Abstract::TAB_ID_BUY; // 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_listing/index', array('tab' => $tabIdBuy)))), '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_' . Ess_M2ePro_Helper_Component_Buy::NICK . '_listing/delete'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $this->setMassactionIdField('listing_product_id'); $this->setMassactionIdFieldOnlyIndexValue(true); //-------------------------------- $this->getMassactionBlock()->setGroups(array('edit_settings' => Mage::helper('M2ePro')->__('Edit Settings'), 'other' => Mage::helper('M2ePro')->__('Other'))); //-------------------------------- $this->getMassactionBlock()->addItem('editCategories', array('label' => Mage::helper('M2ePro')->__('All Categories'), 'url' => ''), 'edit_settings'); $this->getMassactionBlock()->addItem('editPrimaryCategories', array('label' => Mage::helper('M2ePro')->__('Primary Categories'), 'url' => ''), 'edit_settings'); if ($this->listing->getAccount()->getChildObject()->getEbayStoreCategories()) { $this->getMassactionBlock()->addItem('editStorePrimaryCategories', array('label' => Mage::helper('M2ePro')->__('Store Primary Categories'), 'url' => ''), 'edit_settings'); } $this->getMassactionBlock()->addItem('getSuggestedCategories', array('label' => Mage::helper('M2ePro')->__('Get Suggested Primary Categories'), 'url' => ''), 'other'); $this->getMassactionBlock()->addItem('resetCategories', array('label' => Mage::helper('M2ePro')->__('Reset Categories'), 'url' => ''), 'other'); $this->getMassactionBlock()->addItem('removeItem', array('label' => Mage::helper('M2ePro')->__('Remove Item(s)'), 'url' => ''), 'other'); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('list', array('label' => Mage::helper('M2ePro')->__('List Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('revise', array('label' => Mage::helper('M2ePro')->__('Revise Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('relist', array('label' => Mage::helper('M2ePro')->__('Relist Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stop', array('label' => Mage::helper('M2ePro')->__('Stop Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stop_and_remove', array('label' => Mage::helper('M2ePro')->__('Stop on Channel / Remove from Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('move_to_listing', array('label' => Mage::helper('M2ePro')->__('Move Item(s) to Another Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('map_to_general_id', array('label' => Mage::helper('M2ePro')->__('Assign Rakuten.com SKU to Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('new_general_id', array('label' => Mage::helper('M2ePro')->__('Add New Rakuten.com SKU'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('unmap_general_id', array('label' => Mage::helper('M2ePro')->__('Unassign Rakuten.com SKU'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('list', array('label' => Mage::helper('M2ePro')->__('List Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('revise', array('label' => Mage::helper('M2ePro')->__('Revise Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('relist', array('label' => Mage::helper('M2ePro')->__('Relist Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stop', array('label' => Mage::helper('M2ePro')->__('Stop Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stopAndRemove', array('label' => Mage::helper('M2ePro')->__('Stop on Channel / Remove from Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('moving', array('label' => Mage::helper('M2ePro')->__('Move Item(s) to Another Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('assignGeneralId', array('label' => Mage::helper('M2ePro')->__('Assign Play ID to Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('unassignGeneralId', array('label' => Mage::helper('M2ePro')->__('Unassign Play ID'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('duplicate', array('label' => Mage::helper('M2ePro')->__('Duplicate'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers // --------------------------------------- $this->setMassactionIdField('id'); $this->setMassactionIdFieldOnlyIndexValue(true); // --------------------------------------- // Set mass-action // --------------------------------------- $this->getMassactionBlock()->addItem('list', array('label' => Mage::helper('M2ePro')->__('List Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('revise', array('label' => Mage::helper('M2ePro')->__('Revise Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('relist', array('label' => Mage::helper('M2ePro')->__('Relist Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stop', array('label' => Mage::helper('M2ePro')->__('Stop Item(s)'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('stopAndRemove', array('label' => Mage::helper('M2ePro')->__('Stop on Channel / Remove from Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('deleteAndRemove', array('label' => Mage::helper('M2ePro')->__('Remove from Channel & Listing'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); // --------------------------------------- return parent::_prepareMassaction(); }
/** * Prepare grid massaction actions * * @return Mage_Adminhtml_Block_Catalog_Search_Grid */ protected function _prepareMassaction() { $this->setMassactionIdField('query_id'); $this->getMassactionBlock()->setFormFieldName('search'); $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('catalog')->__('Delete'), 'url' => $this->getUrl('*/*/massDelete'), 'confirm' => Mage::helper('catalog')->__('Are you sure?'))); return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('id'); $this->getMassactionBlock()->setFormFieldName('ids'); $this->getMassactionBlock()->setUseSelectAll(false); //-------------------------------- $this->getMassactionBlock()->addItem('delete', array('label' => Mage::helper('M2ePro')->__('Delete'), 'url' => '', 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('main_table.id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set mass-action //-------------------------------- $this->getMassactionBlock()->addItem('reservation_place', array('label' => Mage::helper('M2ePro')->__('Reserve QTY'), 'url' => $this->getUrl('*/adminhtml_order/reservationPlace'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('reservation_cancel', array('label' => Mage::helper('M2ePro')->__('Cancel QTY Reserve'), 'url' => $this->getUrl('*/adminhtml_order/reservationCancel'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('ship', array('label' => Mage::helper('M2ePro')->__('Mark Order(s) as Shipped'), 'url' => $this->getUrl('*/adminhtml_common_amazon_order/updateShippingStatus'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); $this->getMassactionBlock()->addItem('resend_shipping', array('label' => Mage::helper('M2ePro')->__('Resend Shipping Information'), 'url' => $this->getUrl('*/adminhtml_order/resubmitShippingInfo'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('entity_id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set fake action //-------------------------------- $this->getMassactionBlock()->addItem('attributes', array('label' => ' ', 'url' => $this->getUrl('*/adminhtml_common_buy_listing/massStatus', array('_current' => true)))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('table_name'); $this->getMassactionBlock()->setFormFieldName('tables'); $this->getMassactionBlock()->setUseSelectAll(false); //-------------------------------- // Set edit action //-------------------------------- $this->getMassactionBlock()->addItem('edit', array('label' => Mage::helper('M2ePro')->__('Edit Table(s)'), 'url' => $this->getUrl('*/adminhtml_development_database/manageTables'))); //-------------------------------- // Set truncate action //-------------------------------- $this->getMassactionBlock()->addItem('truncate', array('label' => Mage::helper('M2ePro')->__('Truncate Table(s)'), 'url' => $this->getUrl('*/adminhtml_development_database/truncateTables'), 'confirm' => Mage::helper('M2ePro')->__('Are you sure?'))); //-------------------------------- return parent::_prepareMassaction(); }
protected function _prepareMassaction() { $listingData = Mage::helper('M2ePro')->getGlobalValue('temp_data'); // Set massaction identifiers //-------------------------------- $this->setMassactionIdField('entity_id'); $this->getMassactionBlock()->setFormFieldName('ids'); //-------------------------------- // Set fake action //-------------------------------- $this->getMassactionBlock()->addItem('attributes', array('label' => ' ', 'url' => $this->getUrl('*/adminhtml_amazon_listing/massStatus', array('_current' => true)))); //-------------------------------- return parent::_prepareMassaction(); }
public function _prepareMassaction() { parent::_prepareMassaction(); }