attributeSets.xml 5.64 KB
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<attribute_sets> <!-- Content of Attribute Sets -->
    <attribute_set>
        <name>Attribute Set 1</name>
        <attributes>
            <attribute>
                <is_required>1</is_required>
                <is_visible_on_front>1</is_visible_on_front>
                <is_visible_in_advanced_search>1</is_visible_in_advanced_search>
                <attribute_code>mycolor</attribute_code>
                <backend_type></backend_type>
                <is_searchable>1</is_searchable>
                <is_filterable>1</is_filterable>
                <is_filterable_in_search>1</is_filterable_in_search>
                <frontend_label>my color</frontend_label>
                <frontend_input>select</frontend_input>
                <default_value>my yellow</default_value>
                <options>
                    <option>
                        <label>my green</label>
                        <value>my green</value>
                    </option>
                    <option>
                        <label>my red</label>
                        <value>my red</value>
                    </option>
                    <option>
                        <label>my yellow</label>
                        <value>my yellow</value>
                    </option>
                </options>
            </attribute>
            <attribute>
                <is_required>1</is_required>
                <is_visible_on_front>1</is_visible_on_front>
                <is_visible_in_advanced_search>1</is_visible_in_advanced_search>
                <attribute_code>mysize</attribute_code>
                <backend_type></backend_type>
                <is_searchable>1</is_searchable>
                <is_filterable>1</is_filterable>
                <is_filterable_in_search>1</is_filterable_in_search>
                <frontend_label>my size</frontend_label>
                <frontend_input>select</frontend_input>
                <default_value>my large</default_value>
                <options>
                    <option>
                        <label>my small</label>
                        <value>my small</value>
                    </option>
                    <option>
                        <label>my medium</label>
                        <value>my medium</value>
                    </option>
                    <option>
                        <label>my large</label>
                        <value>my large</value>
                    </option>
                </options>
            </attribute>
        </attributes>
    </attribute_set>
    <attribute_set>
        <name>Attribute Set 2</name>
        <attributes>
            <attribute>
                <is_required>1</is_required>
                <is_visible_on_front>1</is_visible_on_front>
                <is_visible_in_advanced_search>1</is_visible_in_advanced_search>
                <attribute_code>attributeset2attribute1</attribute_code>
                <backend_type></backend_type>
                <is_searchable>1</is_searchable>
                <is_filterable>1</is_filterable>
                <is_filterable_in_search>1</is_filterable_in_search>
                <frontend_label>Attribute Set 2 - Attribute 1</frontend_label>
                <frontend_input>select</frontend_input>
                <default_value>attributeset2attribute1option1</default_value>
                <options>
                    <option>
                        <label>Attribute Set 2 - Attribute 1 - Option a</label>
                        <value>attributeset2attribute1option1</value>
                    </option>
                    <option>
                        <label>Attribute Set 2 - Attribute 1 - Option b</label>
                        <value>attributeset2attribute1option2</value>
                    </option>
                    <option>
                        <label>Attribute Set 2 - Attribute 1 - Option c</label>
                        <value>attributeset2attribute1option3</value>
                    </option>
                </options>
            </attribute>
        </attributes>
    </attribute_set>
    <attribute_set>
        <name>Attribute Set 3</name>
        <attributes>
            <attribute>
                <is_required>1</is_required>
                <is_visible_on_front>1</is_visible_on_front>
                <is_visible_in_advanced_search>1</is_visible_in_advanced_search>
                <attribute_code>attributeset3attribute1</attribute_code>
                <backend_type></backend_type>
                <is_searchable>1</is_searchable>
                <is_filterable>1</is_filterable>
                <is_filterable_in_search>1</is_filterable_in_search>
                <frontend_label>Attribute Set 3 - Attribute 1</frontend_label>
                <frontend_input>select</frontend_input>
                <default_value>attributeset3attribute1option1</default_value>
                <options>
                    <option>
                        <label>Attribute Set 3 - Attribute 1 - Option a</label>
                        <value>attributeset3attribute1option1</value>
                    </option>
                    <option>
                        <label>Attribute Set 3 - Attribute 1 - Option b</label>
                        <value>attributeset3attribute1option2</value>
                    </option>
                    <option>
                        <label>Attribute Set 3 - Attribute 1 - Option c</label>
                        <value>attributeset3attribute1option3</value>
                    </option>
                </options>
            </attribute>
        </attributes>
    </attribute_set>
</attribute_sets>