Log in
Model

ProductResolver

Magento\ConfigurableProductGraphQl\Model\Resolver\ProductResolver

What it does

This GraphQL resolver retrieves the final selected product variant for a configurable product item.

Developers use this when implementing GraphQL queries that need to resolve which specific simple product was chosen from a configurable product's options, such as in cart or order queries where the selected size/color combination needs to be displayed.

Public Methods

  • resolve()