Model
PriceModifier
Magento\CatalogRule\Model\Product\PriceModifier
What it does
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 after applying any active catalog price rules, such as discounts or special pricing conditions.
It integrates with Magento's pricing system to automatically adjust product prices based on configured catalog rules.
Public Methods
- modifyPrice()