Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
eav_expected_data_output.php
Go to the documentation of this file.
1 <?php
7 return [
8  1 => [
9  "product" => [
10  "name" => "Simple Product",
11  "sku" => "simple",
12  "price" => "10.0000",
13  "tax_class_id" => "0",
14  "quantity_and_stock_status" => [
15  "is_in_stock" => true,
16  "qty" => 100.0
17  ],
18  "weight" => "1.0000",
19  "visibility" => "4",
20  "category_ids" => [
21  "2"
22  ],
23  "description" => "Description with <b>html tag</b>",
24  "short_description" => "Short description",
25  "media_gallery" => [
26  "images" => [
27 
28  ]
29  ],
30  "url_key" => "simple-product",
31  "meta_title" => "meta title",
32  "meta_keyword" => "meta keyword",
33  "meta_description" => "meta description",
34  "tier_price" => [
35  [
36  "website_id" => "0",
37  "all_groups" => "1",
38  "cust_group" => 32000,
39  "price" => "8.0000",
40  "price_qty" => "2.0000",
41  "website_price" => "8.0000",
42  "price_id" => "__placeholder__"
43  ],
44  [
45  "website_id" => "0",
46  "all_groups" => "0",
47  "cust_group" => "0",
48  "price" => "5.0000",
49  "price_qty" => "3.0000",
50  "website_price" => "5.0000",
51  "price_id" => "__placeholder__"
52  ],
53  [
54  "website_id" => "0",
55  "all_groups" => "1",
56  "cust_group" => 32000,
57  "price" => "5.0000",
58  "price_qty" => "5.0000",
59  "website_price" => "5.0000",
60  "price_id" => "__placeholder__"
61  ]
62  ],
63  "options_container" => "container2"
64  ]
65  ]
66 ];