system.xml 1.2 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © 2016 Magento. 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. <section id="sw_dailydeal" translate="label" type="text" sortOrder="305" showInDefault="1" showInWebsite="1" showInStore="1">
  11. <class>separator-top</class>
  12. <label>Dailydeal</label>
  13. <tab>sw_extensions</tab>
  14. <resource>Smartwave_Dailydeals::config_dailydeals</resource>
  15. <group id="general" translate="label" type="textarea" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
  16. <label>General</label>
  17. <field id="dailydeal_enabled" translate="label comment" type="select" showInDefault="1" showInWebsite="1" showInStore="1" >
  18. <label>Enabled</label>
  19. <comment>Enable/Disable the Dailydeals</comment>
  20. <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
  21. </field>
  22. </group>
  23. </section>
  24. </system>
  25. </config>