attributeSets.xml 5.6 KB

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