Your IP : 216.73.216.52


Current Path : /home/rtorresani/www/app/code/Webkul/BuyButton/etc/adminhtml/
Upload File :
Current File : //home/rtorresani/www/app/code/Webkul/BuyButton/etc/adminhtml/system.xml

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
    <system>
        <tab id="webkul" translate="label" sortOrder="10">
            <label>Webkul</label>
        </tab>
        <section id="buybutton" translate="label" type="text" sortOrder="300" showInDefault="1" showInWebsite="1" showInStore="0">
            <label>Buy Button</label>
            <!-- Assign section to tab -->
            <tab>webkul</tab>
            <resource>Webkul_BuyButton::auth</resource>
            <group id="general_settings" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="1" showInStore="1">
                <label>General Settings</label>
                <field id="access_key" translate="label comment" sortOrder="1" type="text" showInDefault="1" showInWebsite="0" showInStore="0">
                    <label>Access Key</label>
                    <validate>required-entry</validate>
                    <comment>Entered key will be used to give access to the buy button js</comment>
                </field>
                <field id="do_redirect" translate="label comment" sortOrder="1" type="select" showInDefault="1" showInWebsite="0" showInStore="0">
                    <label>Redirect To Original Product</label>
                    <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
                    <comment>Select yes if you want to redirect the buyer to origin product page if he clicks on its name in the buy button.</comment>
                </field>
            </group>
        </section>
    </system>
</config>