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.

Comments

Popular posts from this blog

XDebug - PHPStorm - Mac: How to configure Xdebug with PHPStorm on Mac OS and PHP 7.3

Elastic Search - How to install and manage multiple versions of elastic search