Log in
Model

Upsell

Magento\Catalog\Model\ProductLink\CollectionProvider\Upsell

What it does

This class is responsible for retrieving upsell products associated with a given product.

Developers use this when they need to fetch and display product recommendations that encourage customers to purchase higher-value alternatives.

It implements the CollectionProviderInterface to standardize how linked products are retrieved across different product link types.

Public Methods

  • getLinkedProducts()