Price
Magento\CatalogSearch\Model\Layer\Filter\Price
What it does
This class handles price range filtering for catalog search results in Magento 2's layered navigation.
Developers use it when implementing or customizing price filters in search results, including multi-currency support, dynamic price ranges, and filter state management.
It processes price filter requests, applies them to product collections, and generates filter options based on aggregated price data.
Public Methods
- getResource()
- setCurrencyRate()
- apply()
- getCurrencyRate()