/MageImportExport

Magento2 Product Import Export Using CLI

Primary LanguagePHP

MageImportExport

Magento2 Product Import Export Using CLI

Inspired by the following article

https://www.thirdandgrove.com/importing-products-magento2-part2

Installation

Copy the folder Dhimant/ImpExp/ to your app/code

Run the following commands

php bin/magento module:enable Dhimant_ImpExp
php bin/magento setup:upgrade
php bin/magento setup:di:compile

Usage

Import Products

php bin/magento dhimant_impexp:importproducts /public_html/var/import/import_products.csv

Export Products

php bin/magento dhimant_impexp:exportproducts /public_html/var/export/export_products.csv

Help

php bin/magento dhimant_impexp:importproducts -h
php bin/magento dhimant_impexp:exportproducts -h

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT