Log in
Model

CustomizableOptionsDataProvider

Magento\QuoteGraphQl\Model\Cart\BuyRequest\CustomizableOptionsDataProvider

What it does

This class extracts and processes customizable product options from GraphQL cart item data and converts them into the format required for Magento's buy request.

Developers use this when implementing custom product options in GraphQL cart mutations, as it handles the transformation of custom option values (including array values for multi-select options) into the structure needed by Magento's quote system.

Public Methods

  • execute()