Log in
Model

BundleDataProvider

Magento\BundleGraphQl\Model\Cart\BuyRequest\BundleDataProvider

What it does

This class transforms bundle product options from GraphQL cart item data into the format required by Magento's buy request.

Developers use this when processing bundle product additions to cart through GraphQL, as it converts the GraphQL input structure (bundle_options array) into the internal format that Magento's quote system expects (bundle_option and bundle_option_qty arrays).

Public Methods

  • execute()