sharika / module-customer-import
A Magento 2 module for importing customers from various data sources.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
pkg:composer/sharika/module-customer-import
Requires
- php: ~8.2.0
- magento/framework: ^103.0.0
- magento/module-customer: ^103.0.0
This package is not auto-updated.
Last update: 2026-01-10 19:00:01 UTC
README
This module allows you to import customer data from different Profiles (CSV, JSON, etc.) into your Magento store.
Installation
-
Unzip the module's zip file into the
app/code/directory. -
Enable the module by running the following command: php bin/magento module:enable Sharika_CustomerImport
-
Apply database updates: php bin/magento setup:upgrade
-
Flush the cache: php bin/magento cache:flush
Usage and Commands
CLI Command - JSON Profile
-
Place the
sample.jsonfile inside thevar/import/directory. -
Run the import command: php bin/magento customer:import json var/import/sample.json
CLI Command - CSV Profile
-
Place the
sample.csvfile inside thevar/import/directory. -
Run the import command: php bin/magento customer:import csv var/import/sample.csv
After running the customer import script, you'll need to reindex the Customer Grid indexer: php bin/magento indexer:reindex customer_grid