예제 #1
0
 public function __construct($registry, $action)
 {
     parent::__construct($registry, $action);
     $this->getLoader()->language('catalog/product');
     $this->document->setTitle($this->language->get('heading_title'));
     $this->data['heading_title'] = $this->language->get('heading_title');
     $this->getLoader()->model('catalog/product');
     $this->takeSessionVariables();
 }
예제 #2
0
 public function __construct($registry)
 {
     parent::__construct($registry);
     $this->takeSessionVariables();
     $this->load->language('sale/order_items');
     $this->load->model('catalog/product');
     $this->load->library('Status');
     $this->modelSaleOrder = $this->load->model('sale/order');
     $this->load->model('sale/order_item_history');
     $this->load->model('tool/image');
 }
예제 #3
0
 protected function initParameters()
 {
     parent::initParameters();
     $this->parameters['importMappedCategoriesOnly'] = !empty($_REQUEST['importMappedCategoriesOnly']) ? true : false;
     $this->parameters['defaultCategories'] = !empty($_REQUEST['defaultCategories']) ? explode(',', $_REQUEST['defaultCategories']) : array();
     $this->parameters['stores'] = !empty($_REQUEST['stores']) ? explode(',', $_REQUEST['stores']) : array();
     $this->initParametersWithDefaults(['category' => [], 'continue' => 0, 'defaultItemWeight' => 0, 'defaultManufacturerId' => 0, 'defaultSupplierId' => 0, 'importClass' => null, 'regularCustomerPriceRate' => 1, 'siteName' => null, 'token' => $this->session->data['token'], 'wholesaleCustomerPriceRate' => 1]);
 }
예제 #4
0
 public function __construct($registry)
 {
     parent::__construct($registry);
 }