BundleChildStockStatusModifier
Magento\InventoryCatalogSearchBundleProduct\Model\CatalogSearch\Indexer\BundleChildStockStatusModifier
What it does
This class modifies catalog search index queries to filter bundle products based on their child products' stock status and availability.
It ensures that bundle products only appear in search results if they have at least one available option with in-stock, enabled child products assigned to the correct website.
Developers would use this when implementing multi-source inventory (MSI) with bundle products to maintain accurate search results.
Public Methods
- modify()