分类
Magento

system.xml

<?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="maijindou" translate="label" sortOrder="1">
        <label>Maijindou</label>
    </tab>
    <section id="maijindou" translate="label" type="text" sortOrder="8888" showInDefault="1" showInWebsite="1" showInStore="1">
        <class>separator-top</class>
        <label>Configuration</label>
        <tab>maijindou</tab>
        <resource>Maijindou_Base::configuration</resource>
        <group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
            <label><![CDATA[17track Configuration]]></label>
            <field id="enabled" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
                <label><![CDATA[是否开启]]></label>
                <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            </field>

            <field id="url" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
                <label><![CDATA[input text]]></label>
                <validate><![CDATA[input text]]></validate>
            </field>

            <field id="order_status" translate="label" type="select" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
                <label>SELECT 订单状态</label>
                <comment>When a Membership product is purchased, which order status should used to enable Membership status.</comment>
                <source_model>Magento\Sales\Model\Config\Source\Order\Status</source_model>
            </field>

            <field id="customer_groups" translate="label" type="multiselect" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
                <label>会员组多选</label>
                <source_model>Magento\Customer\Model\Config\Source\Group</source_model>
            </field>
        </group>
    </section>
</system>
</config>