Log in
Model

BundleOptionDataProvider

Magento\BundleGraphQl\Model\Cart\BundleOptionDataProvider

What it does

This class extracts and formats bundle product option data from cart items for GraphQL API responses.

Developers use this to retrieve information about selected bundle options, including option labels, types, values, quantities, and prices when querying cart data through GraphQL.

It handles the serialization of bundle selections and calculates pricing information for each selected bundle component.

Public Methods

  • getData()