Log in
Model

CustomizableOptionDataProvider

Magento\Quote\Model\Cart\BuyRequest\CustomizableOptionDataProvider

What it does

This class extracts and processes customizable product options from cart items to prepare them for adding products to the cart.

It decodes base64-encoded option data from selected and entered options, validates the format, and converts them into a structured array format that Magento uses in buy requests.

Developers use this when working with custom product options in GraphQL cart mutations or custom cart implementations.

Public Methods

  • execute()