Log in
Model

GetAffectedProductIds

Magento\CatalogRule\Model\Indexer\Rule\GetAffectedProductIds

What it does

This class retrieves all product IDs that are affected by specific catalog price rules.

Developers use it when they need to identify which products need reindexing after catalog rules are created, updated, or deleted, ensuring price rule changes are properly applied to the correct products.

Public Methods

  • execute()