Model
UpdatePriceIndexOnProductSalabilityChange
Magento\InventoryCatalog\Model\UpdatePriceIndexOnProductSalabilityChange
What it does
This class updates the product price index when product stock availability (salability) changes.
Developers would use this when inventory levels change and affect whether products can be sold, ensuring price displays and calculations remain accurate.
It automatically triggers either scheduled or immediate reindexing based on the indexer configuration.
Public Methods
- execute()