Customer ID Extension


Overview

The Customer ID Extension (Kundennummer) allows you to assign unique, customizable customer numbers to your Magento 2 customers. Perfect for B2B stores requiring traditional customer numbering systems with auto-increment, custom templates, and login integration.

Key Features

Auto-Increment System

Automatically assign sequential customer IDs with configurable starting points and ranges. Support for multiple websites with separate ID ranges.

Template Formatting

Create custom ID formats using sprintf templates (e.g., "CUST-%05d", "B2B-%06d"). Flexible formatting for different business requirements.

Login Integration

Allow customers to log in using their customer ID instead of email address. Seamless integration with Magento's authentication system.

Range Management

Define ID ranges per website or customer group. Prevent overlaps and maintain organized numbering across multi-store setups.

Duplicate Validation

Automatic duplicate detection prevents ID conflicts. Validates uniqueness before saving customer records.

API Integration

Customer IDs are exposed via REST/SOAP API through extension attributes. Perfect for ERP and CRM integrations.

What You Can Do

  • Assign unique customer numbers automatically
  • Customize ID format with templates
  • Enable login with customer ID
  • Define ID ranges per website
  • Import existing customer numbers
  • Multi-website support with separate ranges
  • Access customer IDs via API

Use Cases

B2B Customer Management

Traditional customer numbering for B2B businesses requiring structured customer identification.

Legacy System Migration

Import existing customer numbers from legacy systems while maintaining continuity.

ERP Integration

Synchronize customer IDs between Magento and ERP systems (SAP, Dynamics, etc.) via API.

Multi-Website Ranges

Separate customer ID ranges for different websites or brands (e.g., 1000-2000 for Website A, 3000-4000 for Website B).

Compliance & Audit

GoBD/SOX compliance with structured customer identification and audit trails.

Custom ID Formats

Flexible templates for different customer types (e.g., "B2B-00001" for business, "RET-00001" for retail).

System Requirements

  • Magento 2.4+
  • PHP 8.0+

Quick Start

  1. Installation Guide - Install the extension
  2. Configuration - Configure ID templates and ranges
  3. Login Integration - Enable login with customer ID

Ready to get started? Follow our Installation Guide to begin using Customer ID Extension.

Found an issue with this documentation? Let us know