13 ->setAttributeSetId(4)
15 ->setName(
'Simple Product Apple')
16 ->setSku(
'fulltext-1')
18 ->setMetaTitle(
'first meta title')
19 ->setMetaKeyword(
'first meta keyword')
20 ->setMetaDescription(
'first meta description')
21 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
22 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
23 ->setStockData([
'use_config_manage_stock' => 0])
29 ->setAttributeSetId(4)
31 ->setName(
'Simple Product Banana')
32 ->setSku(
'fulltext-2')
34 ->setMetaTitle(
'second meta title')
35 ->setMetaKeyword(
'second meta keyword')
36 ->setMetaDescription(
'second meta description')
37 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
38 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
39 ->setStockData([
'use_config_manage_stock' => 0])
45 ->setAttributeSetId(4)
47 ->setName(
'Simple Product Orange')
48 ->setSku(
'fulltext-3')
50 ->setMetaTitle(
'third meta title')
51 ->setMetaKeyword(
'third meta keyword')
52 ->setMetaDescription(
'third meta description')
53 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
54 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
55 ->setStockData([
'use_config_manage_stock' => 0])
61 ->setAttributeSetId(4)
63 ->setName(
'Simple Product Papaya')
64 ->setSku(
'fulltext-4')
66 ->setMetaTitle(
'fourth meta title')
67 ->setMetaKeyword(
'fourth meta keyword')
68 ->setMetaDescription(
'fourth meta description')
69 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
70 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
71 ->setStockData([
'use_config_manage_stock' => 0])
77 ->setAttributeSetId(4)
79 ->setName(
'Simple Product Cherry')
80 ->setSku(
'fulltext-5')
82 ->setMetaTitle(
'fifth meta title')
83 ->setMetaKeyword(
'fifth meta keyword')
84 ->setMetaDescription(
'fifth meta description')
85 ->setVisibility(\
Magento\Catalog\Model\Product\Visibility::VISIBILITY_BOTH)
86 ->setStatus(\
Magento\Catalog\Model\Product\Attribute\Source\Status::STATUS_ENABLED)
87 ->setStockData([
'use_config_manage_stock' => 0])
static getObjectManager()