iammanish / module-customerimport
通过CSV & JSON进行客户导入
dev-main
2022-02-27 13:32 UTC
Requires
- php: ~7.3.0||~7.4.0
- magento/module-customer: 103.0.*
- magento/module-customer-import-export: 100.4.*
This package is auto-updated.
Last update: 2024-09-27 19:40:29 UTC
README
``iammanish/module-customerimport``
主要功能
客户导入
安装
* = 在生产中请使用 --keep-generated
选项
类型1:Zip文件
- 在
app/code
中解压zip文件 - 通过运行
php bin/magento module:enable MR_CustomerImport
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新 - 通过运行
php bin/magento cache:flush
清空缓存
类型2:Composer
- 通过运行
composer require mr/module-customerimport:dev-main
安装模块 - 通过运行
php bin/magento module:enable MR_CustomerImport
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新 - 通过运行
php bin/magento cache:flush
清空缓存
规格和用法
-
控制台命令
-
JSON配置 - 将json文件放置在var/import/文件夹内
php bin/magento customer:import json var/import/sample.json -
CSV配置 - 将CSV文件放置在var/import/文件夹内
php bin/magento customer:import csv var/import/sample.csv -
运行客户导入脚本后,还需要确保重新索引客户网格索引器 - php bin/magento indexer:reindex customer_grid