Log in
Model

CartItemPrices

Magento\QuoteGraphQl\Model\Resolver\CartItemPrices

What it does

This resolver provides detailed pricing information for individual cart items in GraphQL queries, including prices with/without tax, row totals, discounts, and original prices.

It handles special cases like bundle products, downloadable products, and custom options to calculate accurate pricing data.

Developers use this when building custom storefront queries that need comprehensive cart item pricing details.

Public Methods

  • _resetState()
  • resolve()