Log in
Model

Product

Magento\CatalogRule\Model\Rule\Condition\Product

What it does

This class validates product attributes against catalog rule conditions in Magento 2.

Developers use this when creating or evaluating catalog price rules to determine if a product meets specific attribute criteria (price, name, SKU, etc.).

It handles special validation logic for different attribute types including datetime, multiselect, and category fields while respecting store-specific attribute values.

Public Methods

  • validate()