Installation

Install the Customer ID extension for Magento 2.

Prerequisites

  • Magento 2.4.0 or higher
  • PHP 8.0+
  • Composer installed
  • SSH access to your server
  • Backup of your Magento installation

Installation Steps

1. Add Repository Access

Contact your account manager to receive Composer repository credentials.

composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/

2. Require the Package

composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ composer require mageb2b/kundennummer:*

3. Enable the Module

php bin/magento module:enable MageB2B_Kundennummer

4. Run Setup Upgrade

php bin/magento setup:upgrade

5. Compile Code

php bin/magento setup:di:compile

6. Deploy Static Content

php bin/magento setup:static-content:deploy

7. Clear Cache

php bin/magento cache:flush

Verify Installation

Check module status:

php bin/magento module:status MageB2B_Kundennummer

Database Changes

The installation creates a new customer attribute:

  • customer_id_number - Stores the customer ID

Access Configuration

Navigate to Stores >Configuration > MageB2B > Customer ID to configure the extension.

Troubleshooting

Module Not Found

  • Verify repository credentials
  • Run composer clear-cache
  • Check composer.json for correct repository URL

Permission Errors

chmod -R 755 var/ pub/static/ generated/

Attribute Not Created

If the customer_id_number attribute is missing:

php bin/magento setup:upgrade --keep-generated

Next Steps

Proceed to Configuration to set up customer ID templates and ranges.

Found an issue with this documentation? Let us know