mhinspeya/module-customer-fields
Composer 安装命令:
composer require mhinspeya/module-customer-fields
包简介
Adds a custom Kundennummer (Customer Number) field to customer registration.
README 文档
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
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2026-06-26