Log in
Model

EstimateTotals

Magento\QuoteGraphQl\Model\Resolver\EstimateTotals

What it does

This GraphQL resolver estimates cart totals based on a provided shipping address and optional shipping method without saving changes to the cart.

Developers use this when implementing GraphQL queries that need to preview shipping costs and taxes for different addresses or shipping methods before finalizing checkout, allowing customers to see updated totals dynamically.

Public Methods

  • resolve()