Log in
Helper

Data

Magento\ConfigurableProduct\Helper\Data

What it does

This helper class provides utility methods for working with configurable products in Magento 2.

Developers use it to retrieve product gallery images with different size URLs, get configurable product options and their associated child products, and obtain configurable attributes.

It's commonly used in product detail pages and when building product configurators to display available options and variants.

Public Methods

  • getGalleryImages()
  • getOptions()
  • getAllowAttributes()