Log in
Model

IsConfigurableProductChildrenSalable

Magento\InventoryConfigurableProduct\Model\IsProductSalableCondition\IsConfigurableProductChildrenSalable

What it does

This class determines if a configurable product is salable by checking if at least one of its child products (simple products) is available for sale in a given stock.

Developers use this during inventory availability checks to ensure configurable products display as in-stock when any variant is purchasable, which is critical for Multi-Source Inventory (MSI) implementations.

Public Methods

  • execute()