Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
products_variation_2.php
Go to the documentation of this file.
1 <?php
7 return [
8  'entity_0' => [
9  'data_0' => [
10  'sku' => '%sku%',
11  'attribute_set_code' => 'Default',
12  'product_type' => "simple",
13  'name' => '%name%',
14  'product_websites' => 'base,%code%',
15  'price' => '999.00',
16  'url_key' => '%url_key%',
17  'additional_attributes' => '',
18  'weight' => '',
19  'qty' => '999',
20  'configurable_variations' => ''
21  ],
22  ],
23  'entity_1' => [
24  'data_0' => [
25  'sku' => '%sku%',
26  'attribute_set_code' => 'Default',
27  'product_type' => "simple",
28  'name' => '%name%',
29  'product_websites' => 'base',
30  'price' => '999.00',
31  'url_key' => '%url_key%',
32  'additional_attributes' => '',
33  'weight' => '',
34  'qty' => '999',
35  'configurable_variations' => ''
36  ],
37  ],
38  'entity_2' => [
39  'data_0' => [
40  'sku' => '%configurable_attribute_sku%',
41  'attribute_set_code' => 'Default',
42  'product_type' => "simple",
43  'name' => '%configurable_attribute_name%',
44  'product_websites' => 'base',
45  'price' => '50.00',
46  'url_key' => '%configurable_attribute_url_key%',
47  'additional_attributes' => '%configurable_additional_attributes%=black',
48  'weight' => '1',
49  'qty' => '50',
50  'configurable_variations' => ''
51  ],
52  'data_1' => [
53  'sku' => '%sku%',
54  'attribute_set_code' => 'Default',
55  'product_type' => "configurable",
56  'name' => '%name%',
57  'product_websites' => 'base',
58  'price' => '50.00',
59  'url_key' => '%url_key%',
60  'additional_attributes' => '%configurable_additional_attributes%=black',
61  'weight' => '30',
62  'qty' => '50',
63  'configurable_variations' =>
64  "sku=%configurable_attribute_sku%,%configurable_additional_attributes%=black"
65  ],
66  ],
67 ];