Model
MappableConditionsProcessor
Magento\CatalogRule\Model\Rule\Condition\MappableConditionsProcessor
What it does
This class processes catalog price rule conditions to filter out only those conditions that can be mapped to database search criteria.
Developers use this when applying catalog rules to product collections, ensuring only valid, searchable conditions are used.
It removes unmappable conditions and entire OR-grouped conditions if any part is invalid.
Public Methods
- rebuildConditionsTree()