Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
products_variation_3.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  'associated_skus' => '',
22  'bundle_shipment_type' => '',
23  'bundle_values' => '',
24  'bundle_price_type' => '',
25  'bundle_price_view' => '',
26  'bundle_sku_type' => '',
27  'bundle_weight_type' => ''
28  ],
29  ],
30  'entity_1' => [
31  'data_0' => [
32  'sku' => '%configurable_attribute_sku%',
33  'attribute_set_code' => 'Default',
34  'product_type' => "simple",
35  'name' => '%configurable_attribute_name%',
36  'product_websites' => 'base',
37  'price' => '50.00',
38  'url_key' => '%configurable_attribute_url_key%',
39  'additional_attributes' => '%configurable_additional_attributes%=black',
40  'weight' => '1',
41  'qty' => '50',
42  'configurable_variations' => '',
43  'associated_skus' => '',
44  'bundle_shipment_type' => '',
45  'bundle_values' => '',
46  'bundle_price_type' => '',
47  'bundle_price_view' => '',
48  'bundle_sku_type' => '',
49  'bundle_weight_type' => ''
50  ],
51  'data_1' => [
52  'sku' => '%sku%',
53  'attribute_set_code' => 'Default',
54  'product_type' => "configurable",
55  'name' => '%name%',
56  'product_websites' => 'base',
57  'price' => '50.00',
58  'url_key' => '%url_key%',
59  'additional_attributes' => '%configurable_additional_attributes%=black',
60  'weight' => '30',
61  'qty' => '50',
62  'configurable_variations' =>
63  "sku=%configurable_attribute_sku%,%configurable_additional_attributes%=black",
64  'associated_skus' => '',
65  'bundle_shipment_type' => '',
66  'bundle_values' => '',
67  'bundle_price_type' => '',
68  'bundle_price_view' => '',
69  'bundle_sku_type' => '',
70  'bundle_weight_type' => ''
71  ],
72  ],
73  'entity_2' => [
74  'data_0' => [
75  'sku' => '%grouped_attribute_sku%',
76  'attribute_set_code' => 'Default',
77  'product_type' => "simple",
78  'name' => '%grouped_attribute_name%',
79  'product_websites' => 'base',
80  'price' => '50.00',
81  'url_key' => '%grouped_attribute_url_key%',
82  'additional_attributes' => '',
83  'weight' => '1',
84  'qty' => '50',
85  'configurable_variations' => '',
86  'associated_skus' => '',
87  'bundle_shipment_type' => '',
88  'bundle_values' => '',
89  'bundle_price_type' => '',
90  'bundle_price_view' => '',
91  'bundle_sku_type' => '',
92  'bundle_weight_type' => ''
93  ],
94  'data_1' => [
95  'sku' => '%sku%',
96  'attribute_set_code' => 'Default',
97  'product_type' => "grouped",
98  'name' => '%name%',
99  'product_websites' => 'base',
100  'price' => '50.00',
101  'url_key' => '%url_key%',
102  'additional_attributes' => '',
103  'weight' => '30',
104  'qty' => '50',
105  'configurable_variations' => "",
106  'associated_skus' => '%grouped_attribute_sku%=1.0000',
107  'bundle_shipment_type' => '',
108  'bundle_values' => '',
109  'bundle_price_type' => '',
110  'bundle_price_view' => '',
111  'bundle_sku_type' => '',
112  'bundle_weight_type' => ''
113  ],
114  ],
115  'entity_3' => [
116  'data_0' => [
117  'sku' => '%bundle_attribute_sku%',
118  'attribute_set_code' => 'Default',
119  'product_type' => "simple",
120  'name' => '%bundle_attribute_name%',
121  'product_websites' => 'base',
122  'price' => '50.00',
123  'url_key' => '%bundle_attribute_url_key%',
124  'additional_attributes' => '',
125  'weight' => '1',
126  'qty' => '50',
127  'configurable_variations' => '',
128  'associated_skus' => '',
129  'bundle_shipment_type' => '',
130  'bundle_values' => '',
131  'bundle_price_type' => '',
132  'bundle_price_view' => '',
133  'bundle_sku_type' => '',
134  'bundle_weight_type' => ''
135  ],
136  'data_1' => [
137  'sku' => '%sku%',
138  'attribute_set_code' => 'Default',
139  'product_type' => "bundle",
140  'name' => '%name%',
141  'product_websites' => 'base',
142  'price' => '50.00',
143  'url_key' => '%url_key%',
144  'additional_attributes' => '',
145  'weight' => '30',
146  'qty' => '50',
147  'configurable_variations' => "",
148  'associated_skus' => '%bundle_attribute_sku%',
149  'bundle_shipment_type' => 'together',
150  'bundle_values' => "name=Drop-down Option,type=select,required=1,sku=%bundle_attribute_sku%,"
151  . "price=0.0000,default=0,default_qty=1.0000,price_type=dynamic",
152  'bundle_price_type' => 'dynamic',
153  'bundle_price_view' => 'Price range',
154  'bundle_sku_type' => 'dynamic',
155  'bundle_weight_type' => 'fixed'
156  ],
157  ],
158 ];