ChangeParentStockStatus
Magento\ConfigurableProduct\Model\Inventory\ChangeParentStockStatus
What it does
This class automatically updates the stock status of configurable products based on their child products' inventory status.
Developers would use this when needing to ensure parent configurable products are marked out of stock when all variants are unavailable, or back in stock when at least one variant becomes available.
It's typically triggered during inventory management operations to keep parent-child stock status synchronized.
Public Methods
- execute()