protected function _construct() { parent::_construct(); $this->_controller = 'adminhtml_ebay_account'; $this->buttonList->update('add', 'label', $this->__('Add Account')); $this->buttonList->update('add', 'onclick', 'setLocation(\'' . $this->getUrl('*/ebay_account/new') . '\');'); }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingCategory'); $this->_controller = 'adminhtml_ebay_listing_product_category_settings_mode_category'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- // --------------------------------------- $this->_headerText = $this->__('Set eBay Categories (Based On Magento Categories)'); // --------------------------------------- // --------------------------------------- $url = $this->getUrl('*/*/', array('step' => 1, '_current' => true)); $this->addButton('back', array('label' => $this->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $url . '\');')); // --------------------------------------- // --------------------------------------- $this->addButton('next', array('id' => 'ebay_listing_category_continue_btn', 'label' => $this->__('Continue'), 'class' => 'action-primary forward', 'onclick' => "EbayListingProductCategorySettingsModeCategoryGridObj.validate()")); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ListingAddFromProductList'); $this->_controller = 'adminhtml_amazon_listing_product_add_sourceMode_product'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- // --------------------------------------- if (is_null($this->getRequest()->getParam('back'))) { $url = $this->getUrl('*/amazon_listing_product_add/index', array('id' => $this->getRequest()->getParam('id'))); } else { $url = $this->getHelper('Data')->getBackUrl('*/adminhtml_amazon_listing/index'); } $this->addButton('back', array('label' => $this->__('Back'), 'onclick' => 'ListingProductGridObj.backClick(\'' . $url . '\')', 'class' => 'back')); // --------------------------------------- $this->addButton('auto_action', array('label' => $this->__('Auto Add/Remove Rules'), 'onclick' => 'ListingAutoActionObj.loadAutoActionHtml();', 'class' => 'action-primary')); // --------------------------------------- // --------------------------------------- $this->addButton('save_and_go_to_listing_view', array('label' => $this->__('Continue'), 'onclick' => 'ListingProductGridObj.saveClick(\'view\')', 'class' => 'action-primary forward')); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('newAsinDescriptionTemplateManual'); // --------------------------------------- // Set header text // --------------------------------------- $this->_controller = 'adminhtml_amazon_listing_product_add_newAsin_manual'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- // --------------------------------------- $url = $this->getUrl('*/*/resetNewAsin', array('_current' => true)); $this->addButton('back', array('label' => $this->__('Back'), 'onclick' => 'ListingGridHandlerObj.backClick(\'' . $url . '\')', 'class' => 'back')); // --------------------------------------- $url = $this->getUrl('*/*/index', array('_current' => true, 'step' => 5)); // --------------------------------------- $this->addButton('save_and_go_to_listing_view', array('label' => $this->__('Continue'), 'onclick' => 'ListingGridHandlerObj.checkManualProducts(\'' . $url . '\')', 'class' => 'action-primary forward')); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('synchronizationLog'); $this->_controller = 'adminhtml_developers_tabs_synchronizationLog'; // --------------------------------------- // Set header text // --------------------------------------- $this->_headerText = ''; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // Set template // --------------------------------------- $this->setTemplate('Ess_M2ePro::magento/grid/container/only_content.phtml'); // --------------------------------------- }
public function _construct() { parent::_construct(); $this->listing = $this->getHelper('Data\\GlobalData')->getValue('listing_for_products_add'); // Initialization block // --------------------------------------- $this->setId('searchAsinForListingProducts'); // --------------------------------------- // Set header text // --------------------------------------- $this->_controller = 'adminhtml_amazon_listing_product_add_searchAsin'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- // --------------------------------------- $url = $this->getUrl('*/*/removeAddedProducts', array('id' => $this->listing['id'], '_current' => true)); $this->addButton('back', array('label' => $this->__('Back'), 'onclick' => 'ListingGridHandlerObj.backClick(\'' . $url . '\')', 'class' => 'back')); // --------------------------------------- $this->addButton('auto_action', array('label' => $this->__('Edit Search Settings'), 'class' => 'action-primary next', 'onclick' => 'ListingGridHandlerObj.editSearchSettings(\'' . $this->__('Listing Search Settings') . '\' ,' . $this->listing['id'] . ');')); // --------------------------------------- // --------------------------------------- $this->addButton('save_and_go_to_listing_view', array('label' => $this->__('Continue'), 'onclick' => 'ListingGridHandlerObj.checkSearchResults(' . $this->listing['id'] . ')', 'class' => 'action-primary forward')); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ebayListing'); $this->_controller = 'adminhtml_ebay_listing'; // --------------------------------------- }
public function _construct() { parent::_construct(); $this->_controller = 'adminhtml_amazon_listing'; // --------------------------------------- $url = $this->getUrl('*/amazon_listing_create/index', array('step' => '1', 'clear' => 'yes')); $this->addButton('add', array('label' => $this->__('Add Listing'), 'onclick' => 'setLocation(\'' . $url . '\')', 'class' => 'action-primary')); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('amazonListingProductVariationManage'); $this->_controller = 'adminhtml_amazon_listing_product_variation_manage_tabs_variations'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('add'); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingProduct'); $this->_controller = 'adminhtml_ebay_listing_product_add_'; $this->_controller .= $this->getRequest()->getParam('source'); // --------------------------------------- // Set header text // --------------------------------------- $this->_headerText = $this->__('Select Products'); // --------------------------------------- }
public function _construct() { parent::_construct(); $this->listing = $this->getHelper('Data\\GlobalData')->getValue('view_listing'); // Initialization block // --------------------------------------- $this->setId('ebayListingView'); $this->_controller = 'adminhtml_ebay_listing_view_' . $this->getViewMode(); // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('add'); // --------------------------------------- }
public function _construct() { parent::_construct(); $this->_controller = 'adminhtml_amazon_order'; // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- }
public function _construct() { parent::_construct(); $this->_controller = 'adminhtml_ebay_listing_search'; // Initialization block // --------------------------------------- $this->setId('ebayListingSearch'); // --------------------------------------- $this->buttonList->remove('back'); $this->buttonList->remove('reset'); $this->buttonList->remove('delete'); $this->buttonList->remove('add'); $this->buttonList->remove('save'); $this->buttonList->remove('edit'); }
protected function _construct() { parent::_construct(); // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- $this->_controller = 'adminhtml_amazon_account'; $url = $this->getUrl('*/amazon_account/new'); $this->buttonList->update('add', 'label', $this->__('Add Account')); $this->buttonList->update('add', 'onclick', 'setLocation(\'' . $url . '\');'); }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('listingLog'); $this->_controller = 'adminhtml_amazon_listing_log'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ebayTemplate'); $this->_controller = 'adminhtml_ebay_template'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- }
public function _construct() { parent::_construct(); $this->_controller = 'adminhtml_amazon_template_description_category_specific_add'; // Initialization block // --------------------------------------- $this->setId('amazonTemplateDescriptionCategorySpecificAdd'); // --------------------------------------- // Set buttons actions // --------------------------------------- $this->buttonList->remove('back'); $this->buttonList->remove('reset'); $this->buttonList->remove('delete'); $this->buttonList->remove('add'); $this->buttonList->remove('save'); $this->buttonList->remove('edit'); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('amazonListingOther'); $this->_controller = 'adminhtml_amazon_listing_other'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->buttonList->remove('back'); $this->buttonList->remove('reset'); $this->buttonList->remove('delete'); $this->buttonList->remove('add'); $this->buttonList->remove('save'); $this->buttonList->remove('edit'); // --------------------------------------- $this->isAjax = json_encode($this->getRequest()->isXmlHttpRequest()); }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('amazonTemplate'); $this->_controller = 'adminhtml_amazon_template'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->buttonList->remove('back'); $this->buttonList->remove('reset'); $this->buttonList->remove('delete'); $this->buttonList->remove('save'); $this->buttonList->remove('edit'); // --------------------------------------- // --------------------------------------- $this->buttonList->update('add', 'label', $this->__('Add Policy')); $this->buttonList->update('add', 'onclick', ''); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingOtherLog'); $this->_controller = 'adminhtml_ebay_listing_other_log'; // --------------------------------------- // --------------------------------------- if ($this->getListingOtherId()) { $this->setTemplate('Ess_M2ePro::magento/grid/container/only_content.phtml'); } // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- }
public function _construct() { parent::_construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingOtherView'); $this->_controller = 'adminhtml_ebay_listing_other_view'; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->buttonList->remove('back'); $this->buttonList->remove('reset'); $this->buttonList->remove('delete'); $this->buttonList->remove('add'); $this->buttonList->remove('save'); $this->buttonList->remove('edit'); // --------------------------------------- // --------------------------------------- if (!is_null($this->getRequest()->getParam('back'))) { $url = $this->getHelper('Data')->getBackUrl(); $this->buttonList->add('back', array('label' => $this->__('Back'), 'onclick' => 'CommonObj.backClick(\'' . $url . '\')', 'class' => 'back')); } // --------------------------------------- }
public function _construct() { $this->_controller = 'adminhtml_listing_other_mapping'; parent::_construct(); }
protected function _construct() { parent::_construct(); $this->_controller = 'adminhtml_ebay_listing_variation_product_manage_view'; $this->removeButton('add'); }