system.xml 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <?xml version="1.0"?>
  2. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  3. <system>
  4. <section id="weltpixel_quickview" translate="label" type="text" sortOrder="160" showInDefault="1" showInWebsite="1" showInStore="1">
  5. <label>Quickview and Ajax Cart</label>
  6. <tab>weltpixel</tab>
  7. <resource>WeltPixel_Quickview::QuickviewSettings</resource>
  8. <group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
  9. <label>General</label>
  10. <field id="enable_product_listing" translate="label" type="select" sortOrder="0" showInDefault="1" showInWebsite="1" showInStore="1">
  11. <label>Enable on product listing</label>
  12. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  13. </field>
  14. <field id="remove_product_image" translate="label" type="select" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
  15. <label>Remove product image</label>
  16. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  17. </field>
  18. <field id="remove_product_image_thumb" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
  19. <label>Remove product image thumb</label>
  20. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  21. <depends>
  22. <field id="remove_product_image">0</field>
  23. </depends>
  24. </field>
  25. <field id="remove_short_description" translate="label" type="select" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
  26. <label>Remove short description</label>
  27. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  28. </field>
  29. <field id="remove_qty_selector" translate="label" type="select" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
  30. <label>Remove qty selector</label>
  31. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  32. </field>
  33. <field id="enable_goto_product_button" translate="label" type="select" sortOrder="50" showInDefault="1" showInWebsite="1" showInStore="1">
  34. <label>Enable go to product button</label>
  35. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  36. </field>
  37. <field id="remove_availability" translate="label" type="select" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
  38. <label>Remove availability</label>
  39. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  40. </field>
  41. <field id="remove_sku" translate="label" type="select" sortOrder="70" showInDefault="1" showInWebsite="1" showInStore="1">
  42. <label>Remove sku</label>
  43. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  44. </field>
  45. <field id="button_style" translate="label" type="select" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="1">
  46. <label>Button Style</label>
  47. <source_model>WeltPixel\Quickview\Model\Config\Source\Buttonstyle</source_model>
  48. </field>
  49. <field id="close_quickview" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
  50. <label>After adding product to cart close quickview in X seconds</label>
  51. <validate>number</validate>
  52. <comment>If you enter 0, it will remain open until you close it.</comment>
  53. </field>
  54. <field id="scroll_to_top" translate="label" type="select" sortOrder="110" showInDefault="1" showInWebsite="1" showInStore="1">
  55. <label>Auto scroll to top and open quick </label>
  56. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  57. </field>
  58. <field id="enable_shopping_checkout_product_buttons" translate="label" type="select" sortOrder="120" showInDefault="1" showInWebsite="1" showInStore="1">
  59. <label>Enable continue shopping/go to checkout buttons</label>
  60. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  61. </field>
  62. <field id="custom_css" translate="label" type="textarea" sortOrder="130" showInDefault="1" showInWebsite="1" showInStore="1">
  63. <label>Custom CSS</label>
  64. </field>
  65. <field id="enable_zoom" translate="label" type="select" sortOrder="140" showInDefault="1" showInWebsite="1" showInStore="1">
  66. <label>Enable zoom</label>
  67. <source_model>WeltPixel\Quickview\Model\Config\Source\TrueFalse</source_model>
  68. </field>
  69. <field id="zoom_fullscreenzoom" translate="label" type="text" sortOrder="150" showInDefault="1" showInWebsite="1" showInStore="1">
  70. <label>Zoom of fullscreen</label>
  71. <validate>validate-number</validate>
  72. <depends>
  73. <field id="enable_zoom">true</field>
  74. </depends>
  75. </field>
  76. <field id="zoom_top" translate="label" type="text" sortOrder="160" showInDefault="1" showInWebsite="1" showInStore="1">
  77. <label>Top position of magnifier</label>
  78. <depends>
  79. <field id="enable_zoom">true</field>
  80. </depends>
  81. </field>
  82. <field id="zoom_left" translate="label" type="text" sortOrder="170" showInDefault="1" showInWebsite="1" showInStore="1">
  83. <label>Left position of magnifier</label>
  84. <depends>
  85. <field id="enable_zoom">true</field>
  86. </depends>
  87. </field>
  88. <field id="zoom_width" translate="label" type="text" sortOrder="180" showInDefault="1" showInWebsite="1" showInStore="1">
  89. <label>Width of magnifier block</label>
  90. <depends>
  91. <field id="enable_zoom">true</field>
  92. </depends>
  93. </field>
  94. <field id="zoom_height" translate="label" type="text" sortOrder="190" showInDefault="1" showInWebsite="1" showInStore="1">
  95. <label>Height of magnifier block</label>
  96. <depends>
  97. <field id="enable_zoom">true</field>
  98. </depends>
  99. </field>
  100. <field id="zoom_eventtype" translate="label" type="select" sortOrder="200" showInDefault="1" showInWebsite="1" showInStore="1">
  101. <label>Action that activates zoom</label>
  102. <source_model>WeltPixel\Quickview\Model\Config\Source\Gallery\EventType</source_model>
  103. <depends>
  104. <field id="enable_zoom">true</field>
  105. </depends>
  106. </field>
  107. </group>
  108. </section>
  109. </system>
  110. </config>