Log in
Model

GetComparableItems

Magento\CompareListGraphQl\Model\Service\GetComparableItems

What it does

This service class retrieves comparable product items for GraphQL compare list queries.

Developers use this class when they need to fetch products in a comparison list along with their comparable attributes and product data for display in the storefront's product comparison feature via GraphQL API.

Public Methods

  • execute()