Model
GetBundleProductStockStatus
Magento\InventoryBundleProduct\Model\GetBundleProductStockStatus
What it does
This class determines if a bundle product is in stock and available for purchase by checking the stock status of all its child products across required and optional selections.
Developers use this when they need to validate bundle product availability, ensuring all required options have at least one salable product before displaying the bundle as in-stock to customers.
Public Methods
- execute()