Model

UpdateLegacyStockStatus

Magento\InventoryIndexer\Model\ResourceModel\UpdateLegacyStockStatus

What it does

This class updates the legacy CatalogInventory stock status table when Multi-Source Inventory (MSI) stock data changes.

Developers use this to maintain backward compatibility between Magento's newer MSI system and the older stock management system, ensuring that both systems stay synchronized when product salability changes.

Public Methods

  • execute()