Model

StockItemDataHandler

Magento\InventoryIndexer\Model\ResourceModel\StockItemDataHandler

What it does

This class retrieves stock item data (quantity and salability) from the legacy cataloginventory_stock_item table for products assigned to the default stock in single-source mode.

Developers use this to fetch inventory information for backward compatibility with Magento's old inventory system when Multi-Source Inventory (MSI) is not fully utilized.

Public Methods

  • getStockItemDataFromStockItemTable()