Upsell
Magento\Catalog\Model\ProductLink\CollectionProvider\Upsell
What it does
This class provides a standardized way to retrieve upsell products linked to a given product.
Developers use this when they need to fetch products that are suggested as higher-value alternatives to encourage customers to purchase premium options.
It implements the CollectionProviderInterface to ensure consistent handling of product relationships across the catalog module.
Public Methods
- getLinkedProducts()