Log in
Model

Metadata

Magento\ConfigurableProductGraphQl\Model\Options\Metadata

What it does

This class retrieves metadata about configurable product options and their available selections for GraphQL queries.

Developers use it to determine which variant options are available based on currently selected options, and to identify which variant product matches a specific combination of selections.

It's essential for building dynamic product configurators in GraphQL-based storefronts.

Public Methods

  • getAvailableSelections()
  • getAllowProducts()