mhinspeya / module-customer-fields
Adds a custom Kundennummer (Customer Number) field to customer registration.
Package info
git.modehaus.de/hyvae/customerfields
Type:magento2-module
pkg:composer/mhinspeya/module-customer-fields
1.0.0
2026-06-26 10:57 UTC
Requires
- php: >=7.3
- mhinspeya/backend-mod: ^1.0
Suggests
- mhinspeya/backend-mod: Support Configuration
This package is not auto-updated.
Last update: 2026-06-27 09:19:42 UTC
README
A lightweight Magento 2 module that extends the customer entity by adding a custom "Customer Number" (Kundennummer) field. This field is integrated into the frontend customer registration form and is also available in the backend customer management interface.
Compatibility
| Magento | PHP |
|---|---|
| 2.4.4 – 2.4.8 | 8.2 · 8.3 · 8.4 |
Features
- Custom Customer Attribute: Automatically installs a
modehaus_kundennummerattribute using Magento's modern Data Patch schema. - Frontend Integration: Injects the "Customer number" input field directly into the customer account creation form (
customer_account_create). - Backend Management: The custom attribute is assigned to all necessary adminhtml forms, allowing store admins to view and edit the customer number from the Magento Admin Panel.
- Fully Localized: Includes German (
de_DE) translations out-of-the-box.
Attribute Details
| Property | Value |
|---|---|
| Attribute Code | modehaus_kundennummer |
| Type | varchar (Text Input) |
| Label | Kundennummer (Customer number) |
| Required | No |
| Visible in Grid | Yes |
| Filterable in Grid | Yes |
Installation
Composer (Recommended)
composer require mhinspeya/module-customer-fields
bin/magento module:enable MHinspeya_CustomerFields
bin/magento setup:upgrade
bin/magento cache:flush
Manual Installation
- Copy the module files to
app/code/MHinspeya/CustomerFields/ - Run the following commands:
bin/magento module:enable MHinspeya_CustomerFields bin/magento setup:upgrade bin/magento cache:flush
Module Structure
MHinspeya/CustomerFields/
├── composer.json
├── registration.php
├── etc/
│ └── module.xml — Module declaration
├── i18n/
│ └── de_DE.csv — German translations
├── Setup/
│ └── Patch/
│ └── Data/
│ └── AddKundennummerAttribute.php — Installs the customer attribute
└── view/
└── frontend/
├── layout/
│ └── customer_account_create.xml — Injects the template block
└── templates/
└── additional.phtml — The HTML for the input field
Translations
| Key | de_DE |
|---|---|
| Customer number | Kundennummer |
Support
If you encounter any issues or have questions regarding this extension, please contact MHinspeya support.
License
Open Software License (OSL 3.0) — © MHinspeya