PHPackages                             beself/magento2-module-customer-enhancements - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. beself/magento2-module-customer-enhancements

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

beself/magento2-module-customer-enhancements
============================================

Magento 2 module that adds a B2B flag to customer groups and a favorite product type attribute for customers.

1.0.0(8mo ago)02MITPHPPHP &gt;=8.1

Since Aug 25Pushed 8mo agoCompare

[ Source](https://github.com/HamzaHannad/magento2-b2b-customer-enhancements)[ Packagist](https://packagist.org/packages/beself/magento2-module-customer-enhancements)[ RSS](/packages/beself-magento2-module-customer-enhancements/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Beself\_CustomerEnhancements Magento 2 Module
=============================================

[](#beself_customerenhancements-magento-2-module)

Overview
--------

[](#overview)

Magento 2 module that extends Customer and Customer Group entities with additional attributes, admin grid visibility, configuration-driven options, and frontend display.

Features
--------

[](#features)

- **Customer Group**

    - Adds a new column `is_b2b` (Yes/No) to distinguish B2B (distributor/wholesaler) groups.
    - Editable in the Customer Group form.
    - Displayed in the **Customer Groups grid** with Yes/No labels.
- **Customer Attribute**

    - Adds a new attribute `favorite_product_type`.
    - Type: `select` field.
    - Options are managed from **Stores → Configuration → Customers → Favorite Product Types**.
    - Options can be entered as comma-separated or multi-line values.
    - Editable in **Customer form**.
    - Visible in **Customers grid**.
- **System Configuration**

    - New group **Favorite Product Types** under `Stores > Configuration > Customers > Customer Configuration`.
    - Textarea field to define product types separated by commas.
    - frontend validation prevents invalid formats.
    - Configurable options are used by the customer attribute source model.
- **Frontend (Customer Account)**

    - Dashboard block **"Additional Information"** displays:
        - Whether the logged-in customer belongs to a B2B group.
        - The customer’s favorite product type.

Installation
------------

[](#installation)

### Via Composer

[](#via-composer)

1. Run the following commands in your Magento root directory: ```
    composer require beself/magento2-module-customer-enhancements
    bin/magento module:enable Beself_CustomerEnhancements
    bin/magento setup:upgrade
    ```

### Manual Installation

[](#manual-installation)

1. Create the directory: `app/code/Beself/CustomerEnhancements`
2. Download and extract the module contents into the directory
3. Run the following commands: ```
    bin/magento module:enable Beself_CustomerEnhancements
    bin/magento setup:upgrade
    ```

Usage
-----

[](#usage)

### Admin

[](#admin)

- **Customer Groups**

    - Edit a group → toggle **Is B2B**.
    - Column visible in the groups grid.
- **Customers**

    - Edit customer → choose **Favorite Product Type**.
    - Column visible in the customers grid.
- **Configuration**

    - Navigate to `Stores → Configuration → Customers → Customer Configuration -> Favorite Product Types`.
    - Enter values separated by commas or new lines (e.g.): ```
        Cardio equipment, Weight training equipment, Yoga and Pilates

        ```

### Frontend

[](#frontend)

- Customer logs in → `My Account → Dashboard`:
    - **Additional Information** box shows B2B status and favorite product type.

Requirements
------------

[](#requirements)

SoftwareVersionMagento2.4.6PHP8.1.27License
-------

[](#license)

This module is licensed under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance59

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

260d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/72de3a56fbe7b3c9535bc62397e0d4ee20558c0fb97baf80de6a8c5f8cd6f62f?d=identicon)[hamza0x](/maintainers/hamza0x)

### Embed Badge

![Health badge](/badges/beself-magento2-module-customer-enhancements/health.svg)

```
[![Health](https://phpackages.com/badges/beself-magento2-module-customer-enhancements/health.svg)](https://phpackages.com/packages/beself-magento2-module-customer-enhancements)
```

###  Alternatives

[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

2091.2M7](/packages/yireo-magento2-webp2)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27659.1k4](/packages/nosto-module-nostotagging)[magepal/magento2-customeraccountlinksmanager

Customer Account Links Manager for Magento2 allows you to quickly and easily remove unwanted links from customer account dashboard

4084.9k](/packages/magepal-magento2-customeraccountlinksmanager)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
