Log in
Model

SkuIsAbsentInCatalogCondition

Magento\InventorySales\Model\ResourceModel\IsStockItemSalableCondition\SkuIsAbsentInCatalogCondition

What it does

This class provides a condition to check if a product SKU is absent from the catalog_product_entity table when building the stock item salability index.

Developers would use this to ensure stock items are indexed even when their corresponding products don't exist in the catalog, which can occur during data synchronization or migration scenarios.

Public Methods

  • execute()