Skip to content

Commit

Permalink
Update system.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
barryvdh authored Feb 22, 2021
1 parent 46ec9b9 commit 94b60b7
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
@@ -1 +1,28 @@
<?xml version="1.0"?><config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> <tab id="fruitcake_b2b" translate="label" sortOrder="101"> <label>Fruitcake B2B</label> </tab> <section id="fruitcake_b2b_essentials" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1"> <class>separator-top</class> <label>Essentials</label> <tab>fruitcake_b2b</tab> <resource>Fruitcake_B2BEssentials::essentials</resource> <group id="customer" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Customer</label> <field id="disable_registration" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Disable Customer Registration on Front-End</label> <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> </field> </group> <group id="catalog" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Catalog</label> <field id="disable_guest_addtocart" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1"> <label>Disable Guest Add-to-cart</label> <source_model>Magento\Config\Model\Config\Source\Yesno</source_model> </field> </group> </section> </system></config>
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="fruitcake" translate="label" sortOrder="101">
<label>Fruitcake</label>
</tab>
<section id="fruitcake_b2b_essentials" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<class>separator-top</class>
<label>B2B Essentials</label>
<tab>fruitcake</tab>
<resource>Fruitcake_B2BEssentials::essentials</resource>
<group id="customer" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Customer</label>
<field id="disable_registration" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Disable Customer Registration on Front-End</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
</group>
<group id="catalog" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Catalog</label>
<field id="disable_guest_addtocart" translate="label comment" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Disable Guest Add-to-cart</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
</field>
</group>
</section>
</system>
</config>

0 comments on commit 94b60b7

Please sign in to comment.