Skip to content

odeland/magento2-module-catalog-import-command

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magento2-module-catalog-import-command

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

About

A Magento2 console command to import catalog files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%