Beispiel #1
0
 /**
  * @constructor
  * @param DataInterface $configuration
  * @param EventManagerInterface $eventManager
  */
 public function __construct(DataInterface $configuration, EventManagerInterface $eventManager)
 {
     parent::__construct($configuration, $eventManager);
     $this->mappingData += ['selection_can_change_qty' => ['Yes' => 1, 'No' => 0], 'sku_type' => ['Dynamic' => 0, 'Fixed' => 1], 'price_type' => ['Dynamic' => 0, 'Fixed' => 1], 'weight_type' => ['Dynamic' => 0, 'Fixed' => 1], 'shipment_type' => ['Together' => 0, 'Separately' => 1], 'type' => ['Drop-down' => 'select', 'Radio Buttons' => 'radio', 'Checkbox' => 'checkbox', 'Multiple Select' => 'multi'], 'selection_price_type' => ['Fixed' => 0, 'Percent' => 1]];
 }
Beispiel #2
0
 /**
  * Constructor
  *
  * @param DataInterface $configuration
  * @param EventManagerInterface $eventManager
  */
 public function __construct(DataInterface $configuration, EventManagerInterface $eventManager)
 {
     parent::__construct($configuration, $eventManager);
     $this->mappingData += ['links_purchased_separately' => ['Yes' => 1, 'No' => 0], 'is_shareable' => ['Yes' => 1, 'No' => 0, 'Use config' => 2]];
 }
Beispiel #3
0
 /**
  * Constructor
  *
  * @param DataInterface $configuration
  * @param EventManagerInterface $eventManager
  */
 public function __construct(DataInterface $configuration, EventManagerInterface $eventManager)
 {
     parent::__construct($configuration, $eventManager);
     $this->mappingData += ['is_percent' => ['Yes' => 1, 'No' => 0], 'include' => ['Yes' => 1, 'No' => 0]];
 }
Beispiel #4
0
 /**
  * Constructor
  *
  * @param Config $configuration
  */
 public function __construct(Config $configuration)
 {
     parent::__construct($configuration);
     $this->mappingData += ['is_percent' => ['Yes' => 1, 'No' => 0], 'include' => ['Yes' => 1, 'No' => 0]];
 }
Beispiel #5
0
 /**
  * Constructor
  *
  * @param Config $configuration
  */
 public function __construct(Config $configuration)
 {
     parent::__construct($configuration);
     $this->mappingData += ['links_purchased_separately' => ['Yes' => 1, 'No' => 0], 'is_shareable' => ['Yes' => 1, 'No' => 0, 'Use config' => 2]];
 }