|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + /** |
| 4 | + * Copyright © Magento, Inc. All rights reserved. |
| 5 | + * See COPYING.txt for license details. |
| 6 | + */ |
| 7 | +--> |
| 8 | + |
| 9 | +<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 10 | + xsi:noNamespaceSchemaLocation="urn:magento:mftf:DataGenerator/etc/dataProfileSchema.xsd"> |
| 11 | + <!-- Categories --> |
| 12 | + <entity name="Import1" type="category"> |
| 13 | + <data key="name">Import1</data> |
| 14 | + <data key="name_lwr">import1</data> |
| 15 | + <data key="is_active">true</data> |
| 16 | + <data key="include_in_menu">true</data> |
| 17 | + </entity> |
| 18 | + |
| 19 | + <!-- Products --> |
| 20 | + <entity name="ImportSimple1" type="product"> |
| 21 | + <data key="name">import-simple1</data> |
| 22 | + <data key="sku">import-simple1</data> |
| 23 | + <data key="type_id">simple</data> |
| 24 | + <data key="attribute_set_id">4</data> |
| 25 | + <data key="price">12.00</data> |
| 26 | + <data key="visibility">4</data> |
| 27 | + <data key="status">1</data> |
| 28 | + <data key="quantity">100</data> |
| 29 | + <data key="urlKey">import-simple1</data> |
| 30 | + <data key="weight">12</data> |
| 31 | + <requiredEntity type="product_extension_attribute">EavStockItem</requiredEntity> |
| 32 | + <requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity> |
| 33 | + </entity> |
| 34 | + <entity name="ImportSimple2" type="product"> |
| 35 | + <data key="name">import-simple2</data> |
| 36 | + <data key="sku">import-simple2</data> |
| 37 | + <data key="type_id">simple</data> |
| 38 | + <data key="attribute_set_id">4</data> |
| 39 | + <data key="price">15.00</data> |
| 40 | + <data key="visibility">4</data> |
| 41 | + <data key="status">1</data> |
| 42 | + <data key="quantity">100</data> |
| 43 | + <data key="urlKey">import-simple2</data> |
| 44 | + <data key="weight">12</data> |
| 45 | + <requiredEntity type="product_extension_attribute">EavStockItem</requiredEntity> |
| 46 | + <requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity> |
| 47 | + </entity> |
| 48 | + <entity name="ImportSimple3" type="product"> |
| 49 | + <data key="name">import-simple3</data> |
| 50 | + <data key="sku">import-simple3</data> |
| 51 | + <data key="type_id">simple</data> |
| 52 | + <data key="attribute_set_id">4</data> |
| 53 | + <data key="price">10.00</data> |
| 54 | + <data key="visibility">4</data> |
| 55 | + <data key="status">1</data> |
| 56 | + <data key="quantity">100</data> |
| 57 | + <data key="urlKey">import-simple3</data> |
| 58 | + <data key="weight">12</data> |
| 59 | + <requiredEntity type="product_extension_attribute">EavStockItem</requiredEntity> |
| 60 | + <requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity> |
| 61 | + </entity> |
| 62 | + <entity name="ImportConfigurable" type="product"> |
| 63 | + <data key="name">import-configurable</data> |
| 64 | + <data key="sku">import-configurable</data> |
| 65 | + <data key="type_id">configurable</data> |
| 66 | + <data key="attribute_set_id">4</data> |
| 67 | + <data key="price"/> |
| 68 | + <data key="visibility">4</data> |
| 69 | + <data key="status">1</data> |
| 70 | + <data key="quantity"/> |
| 71 | + <data key="urlKey">import-configurable</data> |
| 72 | + <data key="weight">12</data> |
| 73 | + <requiredEntity type="product_extension_attribute">EavStockItem</requiredEntity> |
| 74 | + <requiredEntity type="custom_attribute_array">CustomAttributeCategoryIds</requiredEntity> |
| 75 | + </entity> |
| 76 | + |
| 77 | + <!-- Product Attributes --> |
| 78 | + <entity name="ProductAttributeFrontendLabelImport1" type="FrontendLabel"> |
| 79 | + <data key="store_id">0</data> |
| 80 | + <data key="label">import_attribute1</data> |
| 81 | + </entity> |
| 82 | + <entity name="ProductAttributeWithThreeOptionsForImport" extends="productAttributeDropdownTwoOptions" type="ProductAttribute"> |
| 83 | + <data key="attribute_code">import_attribute1</data> |
| 84 | + <requiredEntity type="FrontendLabel">ProductAttributeFrontendLabelImport1</requiredEntity> |
| 85 | + </entity> |
| 86 | + <entity name="ProductAttributeOptionThreeForImport" extends="productAttributeOption3" type="ProductAttributeOption"> |
| 87 | + <data key="label">option3</data> |
| 88 | + </entity> |
| 89 | + |
| 90 | + <!-- Images --> |
| 91 | + <entity name="TestImageImageContentExportImport" extends="TestImageContent" type="ImageContent"> |
| 92 | + <data key="name">test_image.jpg</data> |
| 93 | + </entity> |
| 94 | + <entity name="ApiProductAttributeMediaGalleryForExportImport2" extends="ApiProductAttributeMediaGalleryEntryTestImage" type="ProductAttributeMediaGalleryEntry"> |
| 95 | + <data key="label">Test Image</data> |
| 96 | + <requiredEntity type="ImageContent">TestImageImageContentExportImport</requiredEntity> |
| 97 | + </entity> |
| 98 | +</entities> |
0 commit comments