Model
Price
Magento\Catalog\Model\Layer\Filter\Price
What it does
This class implements the price range filter functionality for Magento 2 product listings and layered navigation.
Developers use this class to apply price-based filtering to product collections, handling price range selections, currency conversions, and customer group-specific pricing.
It processes URL parameters like '?price=10-50' and updates the product collection accordingly.
Public Methods
- apply()
- getCustomerGroupId()
- setCustomerGroupId()
- getCurrencyRate()
- setCurrencyRate()
- getResetValue()
- getClearLinkText()