Log in
Model

Combine

Magento\CatalogRule\Model\Rule\Condition\Combine

What it does

This class manages the combination and grouping of conditions for catalog price rules in Magento 2.

Developers use it when creating promotional rules that need multiple product attribute conditions combined with AND/OR logic.

It provides the structure for building complex rule conditions through the admin interface, allowing merchants to target specific products based on multiple criteria.

Public Methods

  • getNewChildSelectOptions()
  • collectValidatedAttributes()