magesource/customerimport
Composer 安装命令:
composer require magesource/customerimport
包简介
Magesource Customer Import for Magento 2.
README 文档
README
Import Customer with command in csv or json files
Installation
-
Install the module composer by running
composer require magesource/customerimport:dev-main -
Enable the module by running
php bin/magento module:enable Magesource_CustomerImport -
Run Magento commands by running
php bin/magento set:up;php bin/magento s:d:c;php bin/magento s:s:d -f;php bin/magento c:f
Features
Create customers from csv or json file from command line terminal.
Configurations
bin/magento customer:import <profile-name> <source>
So to import from the CSV and the JSON respectively the user would execute either one of the following
profile-name is 'customer-csv' or 'customer-json'
source is your file path name added in var/import folder (eg. 'customer.csv' or 'customer.json')
-
php bin/magento customer:import --help -
Description: Customer Import via CSV & JSON
-
Usage: customer:import
-
Arguments: profile Profile name ex: customer-csv or customer-json source Source Path ex: customer.csv or customer.json
bin/magento customer:import customer-csv customer.csv
bin/magento customer:import customer-json customer.json
Once we run our customer import command,also need to make sure to re-index the Customer Grid indexer
`php bin/magento indexer:reindex customer_grid`
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2024-05-19