ziaur1/import

通过命令行使用 Csv 和 Json 导入客户数据

安装: 3

依赖: 0

建议者: 0

安全: 0

星星: 0

关注者: 1

分支: 0

开放问题: 0

类型:magento2-module

2.1.1 2022-02-22 08:00 UTC

This package is auto-updated.

Last update: 2024-09-26 08:04:44 UTC


README

  1. 安装:1.1 方法一

    - Code is in a Zip file format named Wireit.zip
    - Unzip the zip file in magento_solution_directory/app/code folder 
    - Run the following commands to install the module 
       - php bin/magento setup:di:compile && php bin/magento setup:upgrade
    - Flush the cache by running 
       - php bin/magento cache:flush
    - Place the JSON and CSV files at following path 
       - magento_solution_directory/var/import/ 
    

1.2. 方法二

  - Please execute the following two commands in order to set Composer to accept dev releases
    - composer config minimum-stability dev
    - composer config prefer-stable true
  - For the installation of the module, please run
    - composer require ziaur1/import (It will install the module under directory magento_solution_director/vendor)
  - Once installed, please run
    - php bin/magento setup:di:compile && php bin/magento setup:uphgrade && php bin/magento module:enable Wireit_Import
  - Flush the cache by running following command
    - php bin/magento cache:flush 
  1. 使用
  • 请运行以下命令从提供的示例文件导入数据
  • 对于 JSON 配置文件
    • php bin/magento customer:import sample-json var/import/sample.json
  • 对于 CSV 配置文件 -php bin/magento customer:import sample-csv var/import/sample.csv