Log in
Model

CollectionProcessor

Magento\CatalogRule\Model\ResourceModel\Product\CollectionProcessor

What it does

This class adds catalog rule pricing data to product collections by joining the catalogrule_product_price table.

Developers use this when they need to display rule-based discounted prices on product listings, ensuring prices reflect active catalog price rules for the current customer group, website, and date.

Public Methods

  • addPriceData()