Log in
Model

AttributeOptionProvider

Magento\ConfigurableProduct\Model\AttributeOptionProvider

What it does

This class retrieves configurable product attribute options (like size, color values) for a specific super attribute and product.

Developers use it when they need to get the available options for configurable product attributes, including their labels and values, typically when displaying product variation selectors on the frontend or managing configurable products programmatically.

Public Methods

  • getAttributeOptions()