Install Customer ID
Install the package from the SoftwareSilo Composer repository in the same way as your other SoftwareSilo extensions. Take a database backup and test the change in staging before running it on a live store.
Install the package
composer config bearer.repo.softwaresilo.io <token>
composer config repositories.softwaresilo composer https://repo.softwaresilo.io/
composer require mageb2b/customer-id
php bin/magento module:enable MageB2B_CustomerId
php bin/magento setup:upgrade
php bin/magento cache:flush
Run dependency injection compilation and static-content deployment when your deployment mode and release process require them.
Verify the installation
php bin/magento module:status MageB2B_CustomerId
Then check these two places in Magento Admin:
- Open Stores > Configuration > MageB2B > Customer ID.
- Open Customers > All Customers, edit a customer and confirm that the Customer ID field is present.
The installed customer attribute code is customer_id. The extension also adds the customerid field to sales orders and the sales order grid. These names are intentionally different because Magento already uses customer_id for its internal order-to-customer relation.
Before enabling automatic assignment
Decide whether Magento or another system owns customer numbers. If you are migrating existing values from an ERP, import and verify them first, choose the desired website scope and only then enable automatic numbering for new accounts.
Continue with Configuration.