CatalogRule Module
CatalogRuleRepository
This repository class manages CRUD operations for catalog price rules in Magento 2. Developers use it to programmatically create, retrieve, update, an...
Data\Condition
This class represents a data model for catalog rule conditions in Magento 2. Developers use it to define and structure rule conditions through the API...
Data\Condition\Converter
This class converts catalog rule conditions between data model objects and array representations. Developers use it when working with the Catalog Rule...
Flag
This flag model tracks whether catalog price rules have been modified but not yet applied to products. When set to 'dirty', it indicates that rule cha...
Indexer\AbstractIndexer
This abstract base class provides the foundation for catalog rule indexers in Magento 2. Developers extend this class when creating custom catalog rul...
Indexer\IndexBuilder
IndexBuilder is responsible for rebuilding the catalog price rule index in Magento 2. Developers use this class to reindex catalog rules either for sp...
Indexer\IndexBuilder\ProductLoader
This class loads product objects by their IDs for catalog rule indexing operations. Developers use it when they need to retrieve multiple products eff...
Indexer\IndexerTableSwapper
This class manages temporary table creation and swapping for catalog rule indexing operations. Developers use it to safely rebuild catalog rule indexe...
Indexer\ProductPriceCalculator
This class calculates product prices based on catalog price rule actions during indexing. Developers use it when building or extending catalog rule fu...
Indexer\ProductPriceIndexModifier
This class modifies product prices in Magento's price index by applying catalog rule discounts. Developers use this during price indexing to automatic...
Indexer\Product\ProductRuleIndexer
This indexer rebuilds catalog price rules for specific products or product lists. Developers use this when they need to manually trigger reindexing of...
Indexer\Product\ProductRuleProcessor
This class manages the catalog rule product indexer, which updates the index that determines which catalog price rules apply to which products. Develo...
Indexer\ReindexRuleGroupWebsite
This class reindexes the relationships between catalog price rules, customer groups, and websites. Developers use this during catalog rule indexing to...
Indexer\ReindexRuleProduct
This class handles the reindexing of catalog price rule relationships with products in Magento 2. Developers use this when catalog price rules need to...
Indexer\ReindexRuleProductPrice
This class handles reindexing of catalog rule prices for products across all websites. Developers use this when catalog price rules need to be applied...
Indexer\ReindexRuleProductsPrice
This class handles reindexing of product prices based on catalog price rules. Developers use this when they need to update product prices after catalo...
Indexer\ReindexRuleProductsPriceProcessor
This processor calculates and applies catalog price rule discounts for products across different dates, customer groups, and websites. Developers inte...
Indexer\RuleProductPricesPersistor
This class persists catalog rule pricing data to the index table in Magento 2. Developers use this when applying catalog price rules to products, as i...
Indexer\RuleProductsSelectBuilder
This class builds database SELECT queries for the catalog rule product indexer. Developers use it when reindexing catalog price rules to efficiently f...
Indexer\Rule\GetAffectedProductIds
This class retrieves all product IDs that are affected by specific catalog price rules. Developers use it when they need to identify which products ne...
Indexer\Rule\RuleProductIndexer
This indexer updates product prices when catalog price rules are modified. It identifies which products are affected by rule changes and triggers a re...
Indexer\Rule\RuleProductProcessor
This processor handles reindexing when catalog price rules are created or modified. When a rule changes, it identifies all affected products and trigg...
Product\PriceModifier
This class applies catalog price rules to product prices in Magento 2. Developers use this when they need to calculate the final price of a product af...
ResourceModel\Product\CollectionProcessor
This class adds catalog rule pricing data to product collections by joining the catalogrule_product_price table. Developers use this when they need to...
ResourceModel\Product\ConditionsToCollectionApplier
This class applies catalog price rule conditions as filters to product collections. Developers use it when they need to filter products based on catal...
ResourceModel\Product\LinkedProductSelectBuilderByCatalogRulePrice
This class builds database queries to find the child product with the lowest catalog rule price for a given parent product. Developers use this when d...
ResourceModel\ReadHandler
This class handles reading catalog rule entity data from the database by populating customer group IDs and website IDs into the rule entity. Developer...
ResourceModel\Rule
This resource model manages database operations for catalog price rules in Magento 2. Developers use it to retrieve rule prices for products based on...
ResourceModel\SaveHandler
This class handles saving catalog rule associations when a catalog rule entity is saved. It persists the relationships between catalog rules and their...
Rule
This class represents a catalog price rule in Magento 2, allowing merchants to apply discounts to products based on conditions like customer groups, d...
Rule\Action\Product
This class defines the action configuration for catalog price rules in Magento 2. It specifies how product prices can be modified (to fixed value, to...
Rule\Action\SimpleActionOptionsProvider
This class provides the available discount action options for catalog price rules in Magento 2. Developers use this when building admin interfaces or...
Rule\Condition\Combine
This class manages the combination and grouping of conditions for catalog price rules in Magento 2. Developers use it when creating promotional rules...
Rule\Condition\ConditionsToSearchCriteriaMapper
This class converts catalog price rule conditions (like product attribute filters and combination conditions) into SearchCriteria objects that can be...
Rule\Condition\MappableConditionsProcessor
This class processes catalog price rule conditions to filter out only those conditions that can be mapped to database search criteria. Developers use...
Rule\Condition\Product
This class validates product attributes against catalog rule conditions in Magento 2. Developers use this when creating or evaluating catalog price ru...
Rule\CustomerGroupsOptionsProvider
This class provides a list of customer groups as options for catalog price rules. Developers use it to populate dropdown menus in the admin panel wher...
Rule\DataProvider
This DataProvider class supplies catalog rule data to the admin UI form components. Developers use this class to load and prepare catalog rule informa...
Rule\Job
This class serves as a job handler for applying catalog price rules in Magento 2. Developers use this when they need to trigger a full reindex of cata...
Rule\Product\Price
This model manages catalog rule prices that are aggregated and stored per date, customer group, and website. Developers use this class when they need...
Rule\WebsitesOptionsProvider
This class provides a list of available websites as options for catalog price rules in the admin panel. Developers use this when they need to populate...