Log in
Model

BundlePriceDetails

Magento\BundleGraphQl\Model\Resolver\BundlePriceDetails

What it does

This resolver calculates and returns bundle product pricing details for GraphQL queries, including original price, final price, and discount percentage.

It handles both fixed and dynamic pricing models, with special logic for dynamic bundles that calculates discounts based on child cart items.

Developers use this when implementing GraphQL endpoints that need to expose bundle product pricing information in cart or product queries.

Public Methods

  • resolve()