Model
FlushCacheOnProductSalabilityChange
Magento\InventoryCache\Model\FlushCacheOnProductSalabilityChange
What it does
This class handles cache invalidation when product stock availability changes in Magento's Multi-Source Inventory (MSI) system.
When products become in-stock or out-of-stock, it automatically flushes the cache for affected products and their associated categories to ensure customers see accurate stock status on the frontend.
Public Methods
- execute()