Log in
Model

AddStockStatusToSelect

Magento\InventoryCatalog\Model\ResourceModel\AddStockStatusToSelect

What it does

This class adds stock availability status to database SELECT queries by joining the inventory stock index table.

Developers use this when building product collections or queries that need to include stock status information (whether products are salable) for a specific stock/warehouse in Magento's Multi Source Inventory (MSI) system.

Public Methods

  • execute()