Log in
Model

BundleOptionDataProvider

Magento\Bundle\Model\Product\BundleOptionDataProvider

What it does

This class extracts and formats bundle product option data from cart/quote items, primarily for API responses like GraphQL.

Developers use it to retrieve structured information about which bundle options and selections a customer has chosen, including labels, quantities, and prices, when working with bundled products in the cart or checkout.

Public Methods

  • getData()