Log in
Model

CrossSellProducts

Magento\RelatedProductGraphQl\Model\Resolver\Batch\CrossSellProducts

What it does

This class resolves cross-sell product relationships for GraphQL queries in Magento 2.

Developers use this resolver to fetch cross-sell products associated with a given product through the GraphQL API, typically for displaying product recommendations during checkout or cart review.

It extends AbstractLikedProducts to handle batch processing of cross-sell product queries efficiently.