Exemplo n.º 1
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingTemplateEditForm');
     // ---------------------------------------
 }
Exemplo n.º 2
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonTemplateDescriptionEditForm');
     // ---------------------------------------
 }
Exemplo n.º 3
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonListingEditForm');
     // ---------------------------------------
 }
Exemplo n.º 4
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayListingAccountMarketplace');
     // ---------------------------------------
 }
Exemplo n.º 5
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('wizardInstallationWizardTutorial');
     // ---------------------------------------
 }
Exemplo n.º 6
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('listingAutoActionModeCategory');
     // ---------------------------------------
 }
Exemplo n.º 7
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayTemplateEditForm');
     // ---------------------------------------
     $this->css->addFile('ebay/template.css');
 }
Exemplo n.º 8
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('listingAutoActionModeWebsite');
     // ---------------------------------------
     $this->formData = $this->getFormData();
 }
Exemplo n.º 9
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonTemplateDescriptionEditTabsSpecifics');
     // ---------------------------------------
     $this->formData = $this->getFormData();
 }
Exemplo n.º 10
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayTemplateReturnEditFormData');
     // ---------------------------------------
     $this->formData = $this->getFormData();
     $this->marketplaceData = $this->getMarketplaceData();
 }
Exemplo n.º 11
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonTemplateDescriptionEditTabsDefinition');
     // ---------------------------------------
     $this->templateModel = $this->getHelper('Data\\GlobalData')->getValue('tmp_template');
     $this->formData = $this->getFormData();
     $magentoAttributeHelper = $this->getHelper('Magento\\Attribute');
     $this->allAttributes = $magentoAttributeHelper->getAll();
     $generalAttributes = $magentoAttributeHelper->getGeneralFromAllAttributeSets();
     $this->generalAttributesByInputTypes = ['text' => $magentoAttributeHelper->filterByInputTypes($generalAttributes, ['text']), 'text_select' => $magentoAttributeHelper->filterByInputTypes($generalAttributes, ['text', 'select']), 'text_weight' => $magentoAttributeHelper->filterByInputTypes($generalAttributes, ['text', 'weight']), 'text_images' => $magentoAttributeHelper->filterByInputTypes($generalAttributes, ['text', 'image', 'media_image', 'gallery', 'multiline', 'textarea', 'select', 'multiselect'])];
     $this->allAttributesByInputTypes = ['text_select' => $magentoAttributeHelper->filterByInputTypes($this->allAttributes, ['text', 'select'])];
 }
Exemplo n.º 12
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('ebayTemplateShippingEditFormData');
     // ---------------------------------------
     $this->formData = $this->getFormData();
     $this->marketplaceData = $this->getMarketplaceData();
     $this->attributes = $this->getHelper('Data\\GlobalData')->getValue('ebay_attributes');
     /** @var \Ess\M2ePro\Helper\Magento\Attribute $magentoAttributeHelper */
     $magentoAttributeHelper = $this->getHelper('Magento\\Attribute');
     $this->attributesByInputTypes = ['text' => $magentoAttributeHelper->filterByInputTypes($this->attributes, ['text']), 'text_select' => $magentoAttributeHelper->filterByInputTypes($this->attributes, ['text', 'select']), 'text_price' => $magentoAttributeHelper->filterByInputTypes($this->attributes, ['text', 'price']), 'text_weight' => $magentoAttributeHelper->filterByInputTypes($this->attributes, ['text', 'weight']), 'text_price_select' => $magentoAttributeHelper->filterByInputTypes($this->attributes, ['text', 'price', 'select'])];
     $this->missingAttributes = $this->getMissingAttributes();
 }
Exemplo n.º 13
0
 public function _construct()
 {
     parent::_construct();
     // Initialization block
     // ---------------------------------------
     $this->setId('amazonTemplateDescriptionEditTabsGeneral');
     // ---------------------------------------
     $this->templateModel = $this->getHelper('Data\\GlobalData')->getValue('tmp_template');
     $this->formData = $this->getFormData();
     $marketplaces = $this->getHelper('Component\\Amazon')->getMarketplacesAvailableForAsinCreation();
     $marketplaces = $marketplaces->toArray();
     $this->marketplaceData = $marketplaces['items'];
     //TODO
     //        $attributeHelper = $this->getHelper('Magento\Attribute');
     //        $allAttributes = $attributeHelper->getAll();
 }
Exemplo n.º 14
0
 protected function _construct()
 {
     parent::_construct();
     $this->listing = $this->parentFactory->getObjectLoaded(\Ess\M2ePro\Helper\Component\Amazon::NICK, 'Listing', $this->getRequest()->getParam('id'));
 }
Exemplo n.º 15
0
 public function _construct()
 {
     parent::_construct();
     $this->css->addFile('marketplace/form.css');
 }