system.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <tab id="catalog" translate="label" sortOrder="200">
  11. <label>Catalog</label>
  12. </tab>
  13. <tab id="advanced" translate="label" sortOrder="999999">
  14. <label>Advanced</label>
  15. </tab>
  16. <section id="catalog" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
  17. <class>separator-top</class>
  18. <label>Catalog</label>
  19. <tab>catalog</tab>
  20. <resource>Magento_Catalog::config_catalog</resource>
  21. <group id="fields_masks" translate="label" type="text" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
  22. <label>Product Fields Auto-Generation</label>
  23. <field id="sku" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  24. <label>Mask for SKU</label>
  25. <comment>Use {{name}} as Product Name placeholder</comment>
  26. </field>
  27. <field id="meta_title" translate="label comment" type="text" sortOrder="20" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  28. <label>Mask for Meta Title</label>
  29. <comment>Use {{name}} as Product Name placeholder</comment>
  30. </field>
  31. <field id="meta_keyword" translate="label comment" type="text" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  32. <label>Mask for Meta Keywords</label>
  33. <comment>Use {{name}} as Product Name or {{sku}} as Product SKU placeholders</comment>
  34. </field>
  35. <field id="meta_description" translate="label comment" type="text" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  36. <label>Mask for Meta Description</label>
  37. <comment>Use {{name}} and {{description}} as Product Name and Product Description placeholders</comment>
  38. </field>
  39. </group>
  40. <group id="recently_products" translate="label" type="text" sortOrder="350" showInDefault="1" showInWebsite="1" showInStore="0">
  41. <label>Recently Viewed/Compared Products</label>
  42. <field id="recently_viewed_lifetime" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  43. <label>Lifetime of products in Recently Viewed Widget</label>
  44. </field>
  45. <field id="recently_compared_lifetime" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  46. <label>Lifetime of products in Recently Compared Widget</label>
  47. </field>
  48. <field id="synchronize_with_backend" translate="label" type="select" showInDefault="1" canRestore="1">
  49. <label>Synchronize widget products with backend storage</label>
  50. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  51. </field>
  52. </group>
  53. <group id="frontend" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
  54. <label>Storefront</label>
  55. <field id="list_mode" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  56. <label>List Mode</label>
  57. <source_model>Magento\Catalog\Model\Config\Source\ListMode</source_model>
  58. </field>
  59. <field id="grid_per_page_values" translate="label comment" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  60. <label>Products per Page on Grid Allowed Values</label>
  61. <comment>Comma-separated.</comment>
  62. <validate>validate-per-page-value-list</validate>
  63. </field>
  64. <field id="grid_per_page" translate="label comment" type="text" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  65. <label>Products per Page on Grid Default Value</label>
  66. <comment>Must be in the allowed values list</comment>
  67. <validate>validate-per-page-value</validate>
  68. </field>
  69. <field id="list_per_page_values" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  70. <label>Products per Page on List Allowed Values</label>
  71. <comment>Comma-separated.</comment>
  72. <validate>validate-per-page-value-list</validate>
  73. </field>
  74. <field id="list_per_page" translate="label comment" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  75. <label>Products per Page on List Default Value</label>
  76. <comment>Must be in the allowed values list</comment>
  77. <validate>validate-per-page-value</validate>
  78. </field>
  79. <field id="flat_catalog_category" translate="label" type="select" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  80. <label>Use Flat Catalog Category</label>
  81. <backend_model>Magento\Catalog\Model\Indexer\Category\Flat\System\Config\Mode</backend_model>
  82. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  83. </field>
  84. <field id="flat_catalog_product" translate="label" type="select" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0">
  85. <label>Use Flat Catalog Product</label>
  86. <backend_model>Magento\Catalog\Model\Indexer\Product\Flat\System\Config\Mode</backend_model>
  87. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  88. </field>
  89. <field id="default_sort_by" translate="label comment" type="select" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  90. <label>Product Listing Sort by</label>
  91. <comment>Applies to category pages</comment>
  92. <source_model>Magento\Catalog\Model\Config\Source\ListSort</source_model>
  93. </field>
  94. <field id="list_allow_all" translate="label comment" type="select" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="1">
  95. <label>Allow All Products per Page</label>
  96. <comment>Whether to show "All" option in the "Show X Per Page" dropdown</comment>
  97. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  98. </field>
  99. <field id="remember_pagination" translate="label comment" type="select" sortOrder="7" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  100. <label>Remember Category Pagination</label>
  101. <comment>Changing may affect SEO and cache storage consumption.</comment>
  102. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  103. </field>
  104. </group>
  105. <group id="placeholder" translate="label" sortOrder="300" showInDefault="1" showInWebsite="1" showInStore="1">
  106. <label>Product Image Placeholders</label>
  107. <clone_fields>1</clone_fields>
  108. <clone_model>Magento\Catalog\Model\Config\CatalogClone\Media\Image</clone_model>
  109. <field id="placeholder" type="image" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
  110. <backend_model>Magento\Config\Model\Config\Backend\Image</backend_model>
  111. <upload_dir config="system/filesystem/media" scope_info="1">catalog/product/placeholder</upload_dir>
  112. <base_url type="media" scope_info="1">catalog/product/placeholder</base_url>
  113. </field>
  114. </group>
  115. <group id="seo" translate="label" type="text" sortOrder="500" showInDefault="1" showInWebsite="1" showInStore="1">
  116. <label>Search Engine Optimization</label>
  117. <field id="title_separator" translate="label" type="text" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  118. <label>Page Title Separator</label>
  119. </field>
  120. <field id="category_canonical_tag" translate="label" type="select" sortOrder="7" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  121. <label>Use Canonical Link Meta Tag For Categories</label>
  122. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  123. </field>
  124. <field id="product_canonical_tag" translate="label" type="select" sortOrder="8" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  125. <label>Use Canonical Link Meta Tag For Products</label>
  126. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  127. </field>
  128. </group>
  129. <group id="price" translate="label" type="text" sortOrder="400" showInDefault="1" showInWebsite="0" showInStore="0">
  130. <label>Price</label>
  131. <field id="scope" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
  132. <label>Catalog Price Scope</label>
  133. <comment><![CDATA[This defines the base currency scope ("Currency Setup" > "Currency Options" > "Base Currency").]]></comment>
  134. <backend_model>Magento\Catalog\Model\Indexer\Product\Price\System\Config\PriceScope</backend_model>
  135. <source_model>Magento\Catalog\Model\Config\Source\Price\Scope</source_model>
  136. <hide_in_single_store_mode>1</hide_in_single_store_mode>
  137. </field>
  138. </group>
  139. <group id="navigation" translate="label" type="text" sortOrder="500" showInDefault="1" showInWebsite="1" showInStore="1">
  140. <label>Category Top Navigation</label>
  141. <field id="max_depth" translate="label" type="text" sortOrder="1" showInDefault="1" canRestore="1">
  142. <label>Maximal Depth</label>
  143. </field>
  144. </group>
  145. <group id="custom_options" translate="label" type="text" sortOrder="700" showInDefault="1" showInWebsite="1" showInStore="1">
  146. <label><![CDATA[Date & Time Custom Options]]></label>
  147. <field id="use_calendar" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
  148. <label>Use JavaScript Calendar</label>
  149. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  150. </field>
  151. <field id="date_fields_order" translate="label" type="select" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  152. <label>Date Fields Order</label>
  153. <frontend_model>Magento\Catalog\Block\Adminhtml\Form\Renderer\Config\DateFieldsOrder</frontend_model>
  154. </field>
  155. <field id="time_format" translate="label" type="select" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
  156. <label>Time Format</label>
  157. <source_model>Magento\Catalog\Model\Config\Source\TimeFormat</source_model>
  158. </field>
  159. <field id="year_range" translate="label comment" type="text" sortOrder="4" showInDefault="1" showInWebsite="1" showInStore="1">
  160. <label>Year Range</label>
  161. <comment>Please use a four-digit year format.</comment>
  162. <frontend_model>Magento\Catalog\Block\Adminhtml\Form\Renderer\Config\YearRange</frontend_model>
  163. </field>
  164. </group>
  165. </section>
  166. <section id="cms">
  167. <group id="wysiwyg">
  168. <field id="use_static_urls_in_catalog" translate="label comment" type="select" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
  169. <label>Use Static URLs for Media Content in WYSIWYG</label>
  170. <comment>Media content will be inserted into the editor as a static URL. Media content is not updated if the system configuration base URL changes.</comment>
  171. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  172. </field>
  173. </group>
  174. </section>
  175. <section id="rss">
  176. <group id="catalog" translate="label" type="text" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1">
  177. <label>Catalog</label>
  178. <field id="new" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
  179. <label>New Products</label>
  180. <source_model>Magento\Config\Model\Config\Source\Enabledisable</source_model>
  181. </field>
  182. <field id="special" translate="label" type="select" sortOrder="11" showInDefault="1" showInWebsite="1" showInStore="1">
  183. <label>Special Products</label>
  184. <source_model>Magento\Config\Model\Config\Source\Enabledisable</source_model>
  185. </field>
  186. <field id="category" translate="label" type="select" sortOrder="14" showInDefault="1" showInWebsite="1" showInStore="1">
  187. <label>Top Level Category</label>
  188. <source_model>Magento\Config\Model\Config\Source\Enabledisable</source_model>
  189. </field>
  190. </group>
  191. </section>
  192. <section id="web">
  193. <group id="default_layouts" translate="label" type="text" sortOrder="35" showInDefault="1">
  194. <label>Default Layouts</label>
  195. <field id="default_product_layout" translate="label" type="select" sortOrder="10" showInDefault="1">
  196. <label>Default Product Layout</label>
  197. <source_model>Magento\Catalog\Model\Config\Source\LayoutList</source_model>
  198. </field>
  199. <field id="default_category_layout" translate="label" type="select" sortOrder="20" showInDefault="1">
  200. <label>Default Category Layout</label>
  201. <source_model>Magento\Catalog\Model\Config\Source\LayoutList</source_model>
  202. </field>
  203. </group>
  204. </section>
  205. <section id="system" translate="label" type="text" sortOrder="900" showInDefault="1" showInWebsite="1" showInStore="1">
  206. <class>separator-top</class>
  207. <label>System</label>
  208. <tab>advanced</tab>
  209. <resource>Magento_Config::config_system</resource>
  210. <group id="upload_configuration" translate="label" type="text" sortOrder="1000" showInDefault="1" showInWebsite="1" showInStore="1">
  211. <label>Images Upload Configuration</label>
  212. <field id="jpeg_quality" translate="label comment" type="text" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  213. <label>Quality</label>
  214. <validate>validate-digits validate-digits-range digits-range-1-100 required-entry</validate>
  215. <comment>Jpeg quality for resized images 1-100%.</comment>
  216. </field>
  217. </group>
  218. </section>
  219. </system>
  220. </config>