Type
magento2-module
Import catalog via console command
magento2-module
MIT
None
None
None
None
None
A console command for importing catalog files.
composer require cedricblondeau/magento2-module-catalog-import-command
php bin/magento module:enable CedricBlondeau_CatalogImportCommand
php bin/magento setup:upgrade
php bin/magento catalog:import [-i|--images_path[="..."]] [-b|--behavior[="..."]] csv_file
--images_path
: (default pub/media/catalog/product
) must be a relative path starting from your Magento2 project root--behavior
: (default append
) possible values: append, add_update, replace, delete