wilkesystems / magento2-catalog-import
通过控制台命令导入Magento2目录
dev-master
2018-01-22 13:58 UTC
Requires
- magento/module-import-export: 100.*
This package is not auto-updated.
Last update: 2024-09-29 05:41:50 UTC
README
用于导入目录文件的Magento控制台命令。
安装
composer require wilkesystems/magento2-catalog-import:dev-master php bin/magento module:enable WilkeSystems_CatalogImport php bin/magento setup:upgrade
用法
php bin/magento catalog:import [-i|--images_path[="..."]] [-b|--behavior[="..."]] csv_file
--images_path: (默认pub/media/catalog/product) 必须是从您的Magento2项目根目录开始的相对路径--behavior: (默认append) 可能的值:append, add_update, replace, delete- csv_file: 可以是相对路径或绝对路径到有效的CSV文件