public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('ebayListingCategoryMode'); //------------------------------ //------------------------------ $listingId = $this->getRequest()->getParam('listing_id'); $listing = Mage::helper('M2ePro/Component_Ebay')->getCachedObject('Listing', $listingId); $listingAdditionalData = $listing->getData('additional_data'); $listingAdditionalData = json_decode($listingAdditionalData, true); //------------------------------ $this->_headerText = Mage::helper('M2ePro')->__('Set Your eBay Categories'); $url = $this->getUrl('*/adminhtml_ebay_listing_productAdd', array('step' => 2, '_current' => true)); if (Mage::helper('M2ePro/View_Ebay')->isSimpleMode()) { $url = $this->getUrl('*/adminhtml_ebay_listing_productAdd/deleteAll', array('_current' => true)); } $productAddSessionData = Mage::helper('M2ePro/Data_Session')->getValue('ebay_listing_product_add'); if (isset($productAddSessionData['show_settings_step'])) { !(bool) $productAddSessionData['show_settings_step'] && ($url = $this->getUrl('*/adminhtml_ebay_listing_productAdd/deleteAll', array('_current' => true))); } elseif (isset($listingAdditionalData['show_settings_step'])) { !(bool) $listingAdditionalData['show_settings_step'] && ($url = $this->getUrl('*/adminhtml_ebay_listing_productAdd/deleteAll', array('_current' => true))); } if (!$this->getRequest()->getParam('without_back')) { $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $url . '\');')); } $this->_addButton('next', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => "\$('categories_mode_form').submit();")); $this->setTemplate('M2ePro/ebay/listing/category/mode.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('commonTemplate'); $this->_blockGroup = 'M2ePro'; $this->_controller = 'adminhtml_common_template'; // --------------------------------------- // Set header text // --------------------------------------- $this->_headerText = ''; // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- // --------------------------------------- $this->_addButton('add', array('label' => Mage::helper('M2ePro')->__('Add Policy'), 'onclick' => '', 'class' => 'add add-button-drop-down')); // --------------------------------------- }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('ebayListingSearch'); //------------------------------ }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('ebayListingHelp'); //------------------------------ $this->setTemplate('M2ePro/ebay/listing/help.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('listingProductReview'); // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('Congratulations'); $this->setTemplate('M2ePro/common/listing/add/review.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('ebayMigrationToV6Breadcrumb'); // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('M2E Pro Migration to v. %version%', Mage::helper('M2ePro/Module')->getVersion()); $this->setTemplate('widget/form/container.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('ebayOrderViewForm'); $this->setTemplate('M2ePro/ebay/order.phtml'); // --------------------------------------- $this->order = Mage::helper('M2ePro/Data_Global')->getValue('temp_data'); }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('amazonOrderViewForm'); $this->setTemplate('M2ePro/common/amazon/order.phtml'); //------------------------------ /** @var $order Ess_M2ePro_Model_Order */ $this->order = Mage::helper('M2ePro/Data_Global')->getValue('temp_data'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('amazonListingAddNewAsin'); // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('New ASIN/ISBN Creation'); $url = $this->getUrl('*/*/index', array('step' => 1, '_current' => true)); $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $url . '\');')); $this->_addButton('next', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => "descriptionTemplateModeFormSubmit()")); $this->setTemplate('M2ePro/common/amazon/listing/add/new_asin.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('configurationLinker'); // --------------------------------------- // Set header text // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('Global Settings'); // --------------------------------------- $this->setTemplate('M2ePro/configuration/linker.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingCategorySameSpecific'); // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('eBay Same Categories'); $this->setTemplate('M2ePro/ebay/listing/category/same/specific.phtml'); $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/*', array('_current' => true, 'step' => 2)) . '\');')); $saveUrl = $this->getUrl('*/*/*', array('step' => 3, '_current' => true)); $this->_addButton('save', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => "EbayListingCategorySpecificHandlerObj.submitData('{$saveUrl}');")); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingCategorySameChooser'); // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('eBay Same Categories'); $this->setTemplate('M2ePro/ebay/listing/category/same/chooser.phtml'); $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back', 'onclick' => 'setLocation(\'' . $this->getUrl('*/*/*', array('_current' => true, 'step' => 1)) . '\');')); $onClick = <<<JS EbayListingCategoryChooserHandlerObj.submitData( '{$this->getUrl('*/*/*', array('step' => 2, '_current' => true))}' ); JS; $this->_addButton('next', array('label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next', 'onclick' => $onClick)); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('ebayListingCategorySpecificWrapper'); // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('eBay Categories Specifics'); // --------------------------------------- $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'class' => 'back back_category_button', 'onclick' => 'EbayListingCategorySpecificWrapperHandlerObj.renderPrevCategory();')); // --------------------------------------- // --------------------------------------- $this->_addButton('continue', array('id' => 'save_button', 'label' => Mage::helper('M2ePro')->__('Continue'), 'class' => 'scalable next continue specifics_buttons', 'onclick' => "EbayListingCategorySpecificWrapperHandlerObj.save();")); // --------------------------------------- // --------------------------------------- $this->_addButton('next_category_header_button', array('id' => 'next_category_header_button', 'label' => Mage::helper('M2ePro')->__('Next Category'), 'class' => 'next next_category_button specifics_buttons', 'onclick' => "EbayListingCategorySpecificWrapperHandlerObj.renderNextCategory();")); // --------------------------------------- $this->setTemplate('M2ePro/ebay/listing/category/specific/wrapper.phtml'); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('ebayConfigurationCategoryEditPrimary'); // --------------------------------------- // Set header text // --------------------------------------- $this->_headerText = Mage::helper('M2ePro')->__('Edit eBay Primary Category'); // --------------------------------------- $this->setTemplate('M2ePro/ebay/configuration/category/primary.phtml'); $this->removeButton('save'); $this->removeButton('reset'); $this->removeButton('back'); $backUrl = $this->getUrl('*/adminhtml_ebay_category/index'); $this->_addButton('back', array('label' => Mage::helper('M2ePro')->__('Back'), 'onclick' => 'setLocation(\'' . $backUrl . '\');', 'class' => 'back')); $this->_addButton('save_and_continue', array('label' => Mage::helper('M2ePro')->__('Save And Continue Edit'), 'onclick' => 'EbayConfigurationCategoryHandlerObj.save_click(\'primary\', true)', 'class' => 'save')); $this->_addButton('save', array('label' => Mage::helper('M2ePro')->__('Save'), 'onclick' => 'EbayConfigurationCategoryHandlerObj.save_click(\'primary\', false)', 'class' => 'save')); }
public function __construct() { parent::__construct(); // Initialization block // --------------------------------------- $this->setId('amazonTemplateDescriptionCategorySpecificAdd'); // --------------------------------------- // Set buttons actions // --------------------------------------- $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); // --------------------------------------- // --------------------------------------- $this->setTemplate('M2ePro/common/amazon/template/description/category/specific/add.phtml'); // --------------------------------------- }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('ebayListingCategoryChooserEdit'); //------------------------------ // Set buttons actions //------------------------------ $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); //------------------------------ //------------------------------ $this->setTemplate('M2ePro/ebay/listing/category/chooser/edit.phtml'); //------------------------------ }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('commonConfiguration'); //------------------------------ // Set header text //------------------------------ $this->_headerText = Mage::helper('M2ePro')->__('Configuration'); //------------------------------ // Set buttons actions //------------------------------ $this->removeButton('back'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); //------------------------------ $this->setTemplate('M2ePro/common/component/container.phtml'); //------------------------------ }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('ebayLog'); //------------------------------ // Set header text //------------------------------ $this->_headerText = Mage::helper('M2ePro')->__('Logs'); //------------------------------ // Set buttons actions //------------------------------ $this->removeButton('back'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); //------------------------------ $this->setTemplate('M2ePro/ebay/log.phtml'); //------------------------------ }
public function __construct() { parent::__construct(); // Initialization block //------------------------------ $this->setId('commonManageListings'); //------------------------------ // Set header text //------------------------------ $this->_headerText = Mage::helper('M2ePro')->__('Listings'); //------------------------------ // Set buttons actions //------------------------------ $this->removeButton('back'); $this->removeButton('reset'); $this->removeButton('delete'); $this->removeButton('add'); $this->removeButton('save'); $this->removeButton('edit'); //------------------------------ $this->setTemplate('M2ePro/common/manageListings.phtml'); //------------------------------ }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/ebay/configuration/category/help.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/wizard/migrationToV6/installation/sellingFormatCurrencies/amazon.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/order/item/product/options/mapping.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/order/item/edit.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/common/amazon/listing/variation/product/manage/tabs/vocabulary.phtml'); return $this; }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/common/amazon/listing/template/shipping_override/main.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/common/listing/help.phtml'); }
public function __construct() { parent::__construct(); $this->setId('supportSearchResults'); $this->setTemplate('M2ePro/support/results.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/ebay/listing/variation/product/manage/view.phtml'); return $this; }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/ebay/motor/view/item.phtml'); }
public function __construct() { parent::__construct(); $this->setTemplate('M2ePro/ebay/synchronization/help.phtml'); }