cedricblondeau/magento2-module-catalog-import-command

Import catalog via console command

1.1.3 2016-09-03 23:09 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:05:47 UTC


README

A console command for importing catalog files.

Install

composer require cedricblondeau/magento2-module-catalog-import-command
php bin/magento module:enable CedricBlondeau_CatalogImportCommand
php bin/magento setup:upgrade

Usage

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
  • csv_file: could be a relative or an absolute path to a valid CSV file

Inspiration