Log in
Model

PriceRangeDataProvider

Magento\CatalogGraphQl\Model\PriceRangeDataProvider

What it does

This class prepares price range data for GraphQL product queries in Magento 2.

Developers use this to retrieve minimum and maximum product prices with regular and final price values, including discount calculations and special handling for downloadable products.

It ensures proper price formatting with currency codes and respects customer group pricing and store context.

Public Methods

  • prepare()