PHPackages                             hammer/module-configurable-child-visibility - 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. hammer/module-configurable-child-visibility

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

hammer/module-configurable-child-visibility
===========================================

Magento 2.x Extension to prevent Out of Stock Children being removed from Used Product Collections.

0.6.4(6y ago)01.2kMITPHPPHP 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2|~7.3

Since Aug 13Pushed 6y agoCompare

[ Source](https://github.com/WeidenhammerCommerce/configurable-child-visibility)[ Packagist](https://packagist.org/packages/hammer/module-configurable-child-visibility)[ Docs](https://interjar.com)[ RSS](/packages/hammer-module-configurable-child-visibility/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Interjar ConfigurableChildVisibility
====================================

[](#interjar-configurablechildvisibility)

Magento 2.x Extension to Fix a few issues surrounding Configurable child products visibility when out of stock.

Various Related Core Issues:

- [\#16069](https://github.com/magento/magento2/issues/16069)
- [\#13411](https://github.com/magento/magento2/issues/13411)
- [\#10454](https://github.com/magento/magento2/issues/10454)
- [Related PR #12936](https://github.com/magento/magento2/pull/12936)

Possibly some more too..

Whats it all about?
===================

[](#whats-it-all-about)

So, in Magento we have an option in config:

**Stores &gt; Configuration &gt; Catalog &gt; Inventory &gt; Display Out Of Stock Products (Y/N)**

This implies that we'll get to see any out of stock products at any point where we would expect. For a lot of people - me included, it implies we'd get to see child options etc.

Unfortunately its not the case. There are quite a few places where products are removed from various collections due to the `stock_status` value.

In this extension I've attempted to stop this from happening **if** the aforementioned configuration is set to **Yes**.

Note
====

[](#note)

This is really temporary solution, we're hoping to get the issues fixed in the core following conversations with various developers/maintainers/contributors. The problem with this is that its a case of, is this a Bug or a Feature?

**If you would like to show options/swatches even if all children are out of stock you need to make a template change, you need to remove the $product-&gt;isSalable() checks from the Magento\_Catalog::product/view/form.phtml template**

Installation
============

[](#installation)

- Add the module to composer:

    ```
      composer require interjar/module-configurable-child-visibility

    ```
- Enable the module:

    ```
      bin/magento module:enable Interjar_ConfigurableChildVisibility

    ```
- Deploy static content and compile DI:

    ```
      bin/magento setup:static-content:deploy
      bin/magento setup:di:compile

    ```
- Clear cache

Support
=======

[](#support)

If you have any issues with this extension, open an issue on [GitHub](https://github.com/Interjar/configurable-child-visibility/issues).

Contribution
============

[](#contribution)

Any contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).

License
=======

[](#license)

[OSL - Open Software Licence 3.0](http://opensource.org/licenses/osl-3.0.php)

Copyright
=========

[](#copyright)

© 2018 [Interjar](https://www.interjar.com) Ltd

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 57.1% 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 ~160 days

Total

4

Last Release

2346d ago

PHP version history (3 changes)0.6.1PHP 7.0.2|7.0.4|~7.0.6|~7.1.0

0.6.3PHP 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2

0.6.4PHP 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2|~7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a7fbdffac12b02885bf6376b3277b5622935c9bb5099f126226a7c7cc41efcf?d=identicon)[weidenhammer](/maintainers/weidenhammer)

---

Top Contributors

[![emafernandez](https://avatars.githubusercontent.com/u/4308114?v=4)](https://github.com/emafernandez "emafernandez (4 commits)")[![josh-carter](https://avatars.githubusercontent.com/u/10022769?v=4)](https://github.com/josh-carter "josh-carter (3 commits)")

---

Tags

collectionmagento 2out-of-stockChild ProductsInterjar

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hammer-module-configurable-child-visibility/health.svg)

```
[![Health](https://phpackages.com/badges/hammer-module-configurable-child-visibility/health.svg)](https://phpackages.com/packages/hammer-module-configurable-child-visibility)
```

###  Alternatives

[interjar/module-configurable-child-visibility

Magento 2.x Extension to prevent Out of Stock Children being removed from Used Product Collections.

2921.5k](/packages/interjar-module-configurable-child-visibility)[magepal/magento2-googletagmanager

Google Tag Manager (GTM) for Magento 2 with Advance Data Layer

2671.5M4](/packages/magepal-magento2-googletagmanager)[yireo/magento2-webp2

Magento 2 module to add WebP support to the Magento frontend

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

Mollie Payment Module for Magento 2

1121.6M10](/packages/mollie-magento2)[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[magepal/magento2-reindex

Reindex your Magento2 store quickly and easily from backend/admin, instead of command line.

112649.7k1](/packages/magepal-magento2-reindex)

PHPackages © 2026

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