PHPackages                             mgh-tech/module-parent-products - 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. [Admin Panels](/categories/admin)
4. /
5. mgh-tech/module-parent-products

ActiveMagento2-module[Admin Panels](/categories/admin)

mgh-tech/module-parent-products
===============================

Magento2 Admin product form section listing parent products (grouped, configurable, bundle) for current product.

1.0.1(2mo ago)122822proprietaryPHPPHP &gt;=8.1

Since Dec 12Pushed 2mo agoCompare

[ Source](https://github.com/mgh-tech/module-parent-products)[ Packagist](https://packagist.org/packages/mgh-tech/module-parent-products)[ RSS](/packages/mgh-tech-module-parent-products/feed)WikiDiscussions main Synced 1w ago

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

Magento2 Admin ParentProducts
=============================

[](#magento2-admin-parentproducts)

[![Latest Stable Version](https://camo.githubusercontent.com/2274573f68c7eb07fc71af4d4672fc475e9cdf1577d86658d7ba081ce2a2e1de/687474703a2f2f706f7365722e707567782e6f72672f6d67682d746563682f6d6f64756c652d706172656e742d70726f64756374732f76)](https://packagist.org/packages/mgh-tech/module-parent-products) [![Total Downloads](https://camo.githubusercontent.com/f60a5584a223d2c67b5d324c7faef3b165271d3fd3ca48a58f17834cb5251d0c/687474703a2f2f706f7365722e707567782e6f72672f6d67682d746563682f6d6f64756c652d706172656e742d70726f64756374732f646f776e6c6f616473)](https://packagist.org/packages/mgh-tech/module-parent-products) [![Latest Unstable Version](https://camo.githubusercontent.com/26a00f4b6e76f1bd83fbaf9de75e2a58cdb5a4d73722e8b9f40a94976f58760f/687474703a2f2f706f7365722e707567782e6f72672f6d67682d746563682f6d6f64756c652d706172656e742d70726f64756374732f762f756e737461626c65)](https://packagist.org/packages/mgh-tech/module-parent-products) [![License](https://camo.githubusercontent.com/01ed0b4af3f0a7a13a853a1e6a551bd58a638caccc6531c342127a5be6a02b41/687474703a2f2f706f7365722e707567782e6f72672f6d67682d746563682f6d6f64756c652d706172656e742d70726f64756374732f6c6963656e7365)](https://packagist.org/packages/mgh-tech/module-parent-products) [![PHP Version Require](https://camo.githubusercontent.com/65fc6dc04ba256d57e34d94a65e79a7b5704f6404db807a2b55214bde9b41d35/687474703a2f2f706f7365722e707567782e6f72672f6d67682d746563682f6d6f64756c652d706172656e742d70726f64756374732f726571756972652f706870)](https://packagist.org/packages/mgh-tech/module-parent-products)

A Magento 2 admin module that displays a fieldset listing all parent products (Configurable, Grouped, Bundle) referencing the current product in the product edit form.

Overview
--------

[](#overview)

**MGH\_ParentProducts** enhances the Magento admin product edit experience by providing a clear, ACL-protected overview of parent product relationships. This is especially useful for catalog managers and merchandisers working with complex product structures.

Problem &amp; Solution
----------------------

[](#problem--solution)

Ever found yourself lost in Magento's admin, desperately trying to figure out which configurable, grouped, or bundle products reference the simple product you're editing? Have you ever needed to navigate back to the product grid or, even worse, run a database query just to find a parent product?

If so, this module is for you. Now you get a clear, instant overview of all parent products referencing the current product, right in the admin product edit form.

No more wild goose chases.

**Before**[![Without parent product feature](https://private-user-images.githubusercontent.com/11610880/526226727-c3688db7-04f0-442e-80cc-ac86fd46dc20.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2NDg0ODYsIm5iZiI6MTc4MzY0ODE4NiwicGF0aCI6Ii8xMTYxMDg4MC81MjYyMjY3MjctYzM2ODhkYjctMDRmMC00NDJlLTgwY2MtYWM4NmZkNDZkYzIwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTAlMkZ1cy1lYXN0LTElMkZzMyUy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zFhiJ3l7eXtQ3pxjo_8Um89Ejhb4olA)**After**[![Parent products grouped/bundle](https://private-user-images.githubusercontent.com/11610880/526226725-dd3e2c8a-96a8-4aea-a4f7-8b9c7f225d43.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2NDg0ODYsIm5iZiI6MTc4MzY0ODE4NiwicGF0aCI6Ii8xMTYxMDg4MC81MjYyMjY3MjUtZGQzZTJjOGEtOTZhOC00YWVhLWE0ZjctOGI5YzdmMjI1ZDQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzEwVDAxNDk0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjYzM3NGJiOTJiODY0YTNiY2VhZDBkMjg3OTVmMzA4NDUyOWZjZTYwZWZhMjc2MjQwZGEyYzQ3NDJjZGFjYTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.D8FDZ2JXOyc437yScYMAtW5sGEmiSZ_Uij-bDKLJ1pk)](https://private-user-images.githubusercontent.com/11610880/526226725-dd3e2c8a-96a8-4aea-a4f7-8b9c7f225d43.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2NDg0ODYsIm5iZiI6MTc4MzY0ODE4NiwicGF0aCI6Ii8xMTYxMDg4MC81MjYyMjY3MjUtZGQzZTJjOGEtOTZhOC00YWVhLWE0ZjctOGI5YzdmMjI1ZDQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzEwVDAxNDk0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjYzM3NGJiOTJiODY0YTNiY2VhZDBkMjg3OTVmMzA4NDUyOWZjZTYwZWZhMjc2MjQwZGEyYzQ3NDJjZGFjYTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.D8FDZ2JXOyc437yScYMAtW5sGEmiSZ_Uij-bDKLJ1pk)[![Parent product configurable](https://private-user-images.githubusercontent.com/11610880/526226726-8d26f6fd-367a-48cf-98f0-ec32da2c2788.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM2NDg0ODYsIm5iZiI6MTc4MzY0ODE4NiwicGF0aCI6Ii8xMTYxMDg4MC81MjYyMjY3MjYtOGQyNmY2ZmQtMzY3YS00OGNmLTk4ZjAtZWMzMmRhMmMyNzg4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNz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

[](#how-it-works)

When editing a product in the Magento admin:

1. The module injects a collapsible fieldset "Parent Products" into the product form (if enabled and permitted).
2. The fieldset displays a grid listing all parent products (ID, SKU, Name, Type, Relation, Edit link).
3. The grid is dynamically populated via a provider interface, allowing for extensibility.
4. The fieldset is hidden if the module is disabled or the admin user lacks ACL permission.

Key Features
------------

[](#key-features)

- **Seamless admin integration**: "Parent Products" grid on product edit form
- **Intelligent provider**: Extensible logic for parent product discovery
- **ACL protected**: Only visible to users with `MGH_ParentProducts::parent_products` permission
- **Configurable**: Enable/disable via system configuration
- **Zero impact when disabled**: No UI or performance overhead
- **Graceful fallback**: Parent name falls back to SKU if empty
- **Unit tested**: Ensures reliability and maintainability

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

[](#installation)

### Option 1: Via Composer (Recommended)

[](#option-1-via-composer-recommended)

```
composer require mgh-tech/magento-parent-products
bin/magento setup:upgrade
```

### Option 2: Manual Installation

[](#option-2-manual-installation)

1. Place the module under `app/code/MGH/ParentProducts` in your Magento 2 project:

    ```
    mkdir -p app/code/MGH/ParentProducts
    # Copy module files into this directory
    ```
2. Register the module by running setup upgrade:

    ```
    bin/magento setup:upgrade
    ```
3. Configure the module (see Configuration section below)

Configuration
-------------

[](#configuration)

The module provides the following configuration options under **Stores &gt; Configuration &gt; MGH &gt; Parent Products**:

SettingTypeDescription**Enable Parent Products Fieldset**BooleanToggle the module on/off. Only active in admin area.### Configuration via Admin Panel

[](#configuration-via-admin-panel)

1. Navigate to **Stores &gt; Configuration &gt; MGH &gt; Parent Products**
2. Enable the module (Enabled by default)

### Configuration via Command Line

[](#configuration-via-command-line)

Alternatively, configure the module using the command line:

```
# Enable the module
bin/magento config:set parentproducts/general/enable 1
```

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

[](#requirements)

- **PHP** &gt;= 8.1
- **Magento** 2.4.x

Compatibility
-------------

[](#compatibility)

- ✅ Magento Open Source 2.4.x
- ✅ Adobe Commerce 2.4.x

License
-------

[](#license)

This module is licensed under the **MIT License**. See the [LICENSE.txt](LICENSE.txt) file for details.

Author
------

[](#author)

**mgh-tech** - Magento 2 Development &amp; Solutions
GitHub: [github.com/mgh-tech](https://github.com/mgh-tech)

Support &amp; Contributions
---------------------------

[](#support--contributions)

For issues, questions, or contributions, please contact the author or your Magento integrator.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance83

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~159 days

Total

2

Last Release

88d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11610880?v=4)[Mohamed GHARBI](/maintainers/gharbi-mohamed)[@gharbi-mohamed](https://github.com/gharbi-mohamed)

---

Top Contributors

[![gharbi-mohamed](https://avatars.githubusercontent.com/u/11610880?v=4)](https://github.com/gharbi-mohamed "gharbi-mohamed (3 commits)")

### Embed Badge

![Health badge](/badges/mgh-tech-module-parent-products/health.svg)

```
[![Health](https://phpackages.com/badges/mgh-tech-module-parent-products/health.svg)](https://phpackages.com/packages/mgh-tech-module-parent-products)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1142.0M17](/packages/mollie-magento2)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

69362.0k](/packages/run-as-root-magento2-prometheus-exporter)[loki/magento2-admin-components

Admin Panel grids and forms created via Loki Components

178.3k9](/packages/loki-magento2-admin-components)[emico/m2-attributelanding

Attribute landing pages for Magento 2

17269.7k13](/packages/emico-m2-attributelanding)[buckaroo/magento2

Buckaroo Magento 2 extension

32426.0k8](/packages/buckaroo-magento2)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1520.9k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

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