Log in
Model

ParentItemProcessor

Magento\GroupedProduct\Model\Inventory\ParentItemProcessor

What it does

This class handles updating the stock status of parent grouped products when their child products' inventory changes.

When a simple product that belongs to a grouped product has its stock updated, this processor ensures the parent grouped product's stock status reflects whether any of its children are in stock.

Public Methods

  • process()