haroonmind / importcustomer
Magentlo2 module for import customer from command line
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~5.6.0|~7.1.0|~7.3.0
- magento/framework: ~100.0
This package is auto-updated.
Last update: 2024-10-12 20:06:50 UTC
README
``mind/module-import-customer``
Main Functionalities
Get Customer import from file input from command line
Installation
* = in production please use the --keep-generated
option
Type 1: Zip file
- Unzip the zip file in
app/code/Mind
- Enable the module by running
php bin/magento module:enable Mind_ImportCustomer
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
-
the module available in a composer repository for :
- public repository
packagist.org
- public github repository as vcs
- public repository
-
Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
-
Install the module composer by running
composer require mind/module-import
-
enable the module by running
php bin/magento module:enable Mind_ImportCustomer
-
apply database updates by running
php bin/magento setup:upgrade
* -
Flush the cache by running
php bin/magento cache:flush
Configuration
Specifications
-
Console Command
-
Import -it better to save file in var folder therefore path should be like this e.g /var/sample.csv /var/sample.json
OR
-if save file on base root save file e.g
{root}sample.csv {root}sample.json
- So to import from the CSV and the JSON respectively the user would execute either one of the following
php bin/magento customer:import sample-csv sample.csv php bin/magento customer:import sample-json sample.json
-
Attributes