IsSetInStockStatusForCompositeProductCondition
Magento\InventorySales\Model\IsProductSalableCondition\IsSetInStockStatusForCompositeProductCondition
What it does
This class determines if a composite product (like configurable or bundle products) is salable by checking its stock status.
It returns true if source item management is allowed for the SKU, otherwise it checks if the product is marked as 'in stock' in the stock configuration.
Developers use this as part of the product salability chain to ensure composite products can be sold based on their inventory status.
Public Methods
- execute()