protected function _prepareLayout() { $this->jsUrl->addUrls($this->getHelper('Data')->getControllerActions('Order')); $this->jsUrl->addUrls($this->getHelper('Data')->getControllerActions('Ebay\\Order\\Log')); $this->jsUrl->addUrls($this->getHelper('Data')->getControllerActions('Amazon\\Order\\Log')); $this->jsTranslator->addTranslations(['Please enter correct Product ID or SKU.' => $this->__('Please enter correct Product ID or SKU.'), 'Please enter correct Product ID.' => $this->__('Please enter correct Product ID.'), 'Edit Shipping Address' => $this->__('Edit Shipping Address')]); $this->js->add(<<<JS require([ 'M2ePro/Order/Edit/Item', ], function(){ window.OrderEditItemObj = new OrderEditItem(); }); JS ); return parent::_prepareLayout(); }
protected function _prepareLayout() { $this->css->addFile('wizard.css'); return parent::_prepareLayout(); }