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

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

interjar/module-configurable-child-visibility
=============================================

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

1.0.0(5y ago)2921.5k↓100%21[4 issues](https://github.com/interjar/configurable-child-visibility/issues)[2 PRs](https://github.com/interjar/configurable-child-visibility/pulls)MITPHPPHP 7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0|~7.3.0CI failing

Since Aug 13Pushed 4y ago8 watchersCompare

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

READMEChangelog (1)Dependencies (4)Versions (8)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

36

—

LowBetter than 82% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~161 days

Recently: every ~202 days

Total

6

Last Release

2016d ago

Major Versions

0.6.5 → 1.0.02020-10-31

PHP version history (2 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|~7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f82c626e39768e47b05d1f97e7a04dffa0ff344aec3b29c3451ccbe84dbeffec?d=identicon)[josh-carter](/maintainers/josh-carter)

---

Top Contributors

[![adamj88](https://avatars.githubusercontent.com/u/1053393?v=4)](https://github.com/adamj88 "adamj88 (4 commits)")[![josh-carter](https://avatars.githubusercontent.com/u/10022769?v=4)](https://github.com/josh-carter "josh-carter (3 commits)")[![Stevie-Ray](https://avatars.githubusercontent.com/u/5747715?v=4)](https://github.com/Stevie-Ray "Stevie-Ray (2 commits)")[![alamverse](https://avatars.githubusercontent.com/u/46439269?v=4)](https://github.com/alamverse "alamverse (1 commits)")[![pifpafka](https://avatars.githubusercontent.com/u/16256423?v=4)](https://github.com/pifpafka "pifpafka (1 commits)")

---

Tags

collectionmagento 2out-of-stockChild ProductsInterjar

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)[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)[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)[magepal/magento2-preview-checkout-success-page

Quickly and easily preview and test your Magento2 checkout success page, without placing a new order each time

7790.6k](/packages/magepal-magento2-preview-checkout-success-page)

PHPackages © 2026

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