Log in
Model

CustomizableOptionDataProvider

Magento\Quote\Model\Cart\BuyRequest\CustomizableOptionDataProvider

What it does

This class processes customizable product options from GraphQL cart items and converts them into a format suitable for Magento's buy request.

Developers use this when implementing custom product options in the GraphQL cart API, as it extracts and formats selected and entered option values from base64-encoded option IDs into the standard Magento options array structure.

Public Methods

  • execute()