0

I want to import the configurations using CSV in Store -> Config under my module. After importing, it should set in the store config fields. How can I achieve that?

I have referred this link Here. I'm trying to add the Import button using the code in the link, but it doesn't show anything in the configuration.

<group id="import_setting" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
     <field id="import" translate="label" type="Magento\OfflineShipping\Block\Adminhtml\Form\Field\Import" sortOrder="6" showInDefault="0" showInWebsite="1" showInStore="0">
        <label>Import</label>
        <backend_model>Magento\OfflineShipping\Model\Config\Backend\Tablerate</backend_model>
    </field>
</group>

Please let me know if anyone has any ideas.

Thanks in advance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.