mhinspeya/module-customer-fields

Adds a custom Kundennummer (Customer Number) field to customer registration.

Maintainers

Package info

git.modehaus.de/hyvae/customerfields

Homepage

Type:magento2-module

pkg:composer/mhinspeya/module-customer-fields

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

1.0.0 2026-06-26 10:57 UTC

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

MagentoPHP
2.4.4 – 2.4.88.2 · 8.3 · 8.4

Features

  • Custom Customer Attribute: Automatically installs a modehaus_kundennummer attribute 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

PropertyValue
Attribute Codemodehaus_kundennummer
Typevarchar (Text Input)
LabelKundennummer (Customer number)
RequiredNo
Visible in GridYes
Filterable in GridYes

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

  1. Copy the module files to app/code/MHinspeya/CustomerFields/
  2. 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

Keyde_DE
Customer numberKundennummer

Support

If you encounter any issues or have questions regarding this extension, please contact MHinspeya support.

License

Open Software License (OSL 3.0) — © MHinspeya