mundipagg/magento2

View on GitHub
etc/adminhtml/system/customer/address.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>

<include xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_include.xsd">
    <group id="mundipagg_mundipagg_customer_address" translate="label comment" showInDefault="1" showInWebsite="1" showInStore="1" sortOrder="20">
        <label>Address</label>

        <field id="street_attribute" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="10" translate="label" type="text">
            <label>Street Attibute</label>
            <comment><![CDATA[<b> for example: </b> street_1]]></comment>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <config_path>payment/mundipagg_customer_address/street_attribute</config_path>
        </field>

        <field id="number_attribute" showInDefault="1" showInStore="1" showInWebsite="1" sortOrder="20" translate="label" type="text">
            <label>Number Attribute</label>
            <comment><![CDATA[<b> for example: </b> street_2]]></comment>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <config_path>payment/mundipagg_customer_address/number_attribute</config_path>
        </field>
        <field id="district_attribute" showInDefault="1" showInStore="1"
               showInWebsite="1" sortOrder="30" translate="label" type="text">
            <label>District Attribute</label>
            <comment><![CDATA[<b> for example: </b> street_3]]></comment>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <config_path>payment/mundipagg_customer_address/district_attribute</config_path>
        </field>
        <field id="complement_attribute" showInDefault="1" showInStore="1"
               showInWebsite="1" sortOrder="40" translate="label" type="text">
            <label>Complement Attribute</label>
            <comment><![CDATA[<b> for example: </b> street_4]]></comment>
            <source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
            <config_path>payment/mundipagg_customer_address/complement_attribute</config_path>
        </field>
    </group>
</include>