Magento 2: How to create new import entity
If you want to add a custom import feature in your Magento 2 site, you can do this by following steps. This will add a new entity in ADMIN PANEL > SYSTEM > DATA TRANSFER > IMPORT
Vendor\Module\etc\import.xml
Vendor\Module\Model\Import.php
Vendor\Module\Files\Sample\mycustomimport.csv
Now, Open your console and run below command:
Navigate to ADMIN PANEL > SYSTEM > DATA TRANSFER > IMPORT > IMPORT SETTINGS > Click on the dropdown >. Your custom import entity will appear here.
Vendor\Module\etc\import.xml
Vendor\Module\Model\Import.php
Vendor\Module\Files\Sample\mycustomimport.csv
Now, Open your console and run below command:
Navigate to ADMIN PANEL > SYSTEM > DATA TRANSFER > IMPORT > IMPORT SETTINGS > Click on the dropdown >. Your custom import entity will appear here.
Comments
Post a Comment