# Alternative Products & Upsell

> Source: https://docs.recombee.com/recipes/e-commerce/product-detail/alternative-products-and-upsell

> For the complete documentation index, see [llms.txt](/llms.txt).

**Table of contents**

* [Introduction](#introduction)
* [Scenario Setup](#scenario-setup)
* [Logic](#logic)
* [Filters](#filters)
* [Boosters](#boosters)
* [Requesting Recommendations](#requesting-recommendations)

# Alternative Products & Upsell

![](/img/recipes/e-commerce/alternative-products-and-upsell.png) 

## Introduction

When a customer is interested in a product, it is useful to suggest alternative options they have not considered yet. For example, suggesting similar products of higher quality can increase the likelihood of a purchase and improve customer satisfaction.

Recombee addresses this use case by providing personalized recommendations of alternative products, taking into account the customer's browsing and purchase history.

## Scenario Setup

In the Recombee Admin UI, navigate to the **[Scenarios](/scenarios)** section and choose **Create Scenario**.

1. Enter a **Scenario ID**. Select a distinctive label for your recommendation scenario, such as _"pdp-similar-products"_
2. Choose **Recommendation type** \- _[Items to Item](/api#recommend-items-to-item)_

![Admin UI - Scenario Setup](/img/recipes/e-commerce/alternative-products-and-upsell-create-scenario.png)

## Logic

The [Logic](/recommendation_logics) defines the behavior of the recommendation engine.

* Choose the **[ecommerce:similar-products](/recommendation_logics#ecommerce-similar-products)** logic type from the **E-commerce** models

This Logic will give you alternatives to the currently displayed item.

![Admin UI - Logic](/img/recipes/e-commerce/alternative-products-and-upsell-logic.png)

## Filters

Available Products (Global Settings)

You always want to recommend only the products that are in stock. Therefore you need to apply a [**Filter**](/scenarios#filters) rule to allow only such products.

As it would be tedious and prone to error to add this rule to all the Scenarios, this rule shall be added to the [**Global Settings**](/scenarios#scenarios-in-admin-ui-global-settings), so it is always applied everywhere.

You can select a **predefined rule from the Recombee Library** to allow only the available products.

Depending on how you represent availability in the catalog, it can be **one of the following rules:**

* **Not deleted items** \- when you have a _deleted_ property (true/false)
* **Available items** \- when you have an _available_ property (true/false)
* **Items in stock \[Google Merchant\]** \- when you have a string _available_ property with _"in stock"_ as its value

![Admin UI - Global Settings - Filter](/img/recipes/e-commerce/filter.png)

## Boosters

Tip: Upsell Booster

The Upsell Booster biases the recommender engine towards items with a **higher price or margin** compared to the item currently being viewed.

1. Navigate to the **[Boosters](/scenarios#boosters)** tab and **Add first booster**
2. Find _Upsell_ and click on **+**
3. Specify which **property** in your Items catalog specifies **price (or margin)**
4. Set the **Boosting coefficient** that defines how much the more expensive items shall be pushed in the recommendations

Setting the boost to 1 implies no boost at all, and the higher the coefficient value, the higher the boost.

You can use the **Preview Results** function to find the most fitting value of the coefficient.

![Admin UI - Booster](/img/recipes/e-commerce/booster-upsell.png)

## Requesting Recommendations

There are three ways to get recommendations.

1. **[No-Code Widget](/no-code-widgets)** \- create a No-Code Widget using the **visual editor in the Admin UI**.
2. **[Widget SDKs](/widget-sdks)** \- use the SDK for a [Carousel](/widget-sdks#carousel), [Grid](/widget-sdks#grid) or [Feed](/widget-sdks#feed) to display the recommendations in the design of your choice. Use the [Recommend Items to Item endpoint](/api#recommend-items-to-item) when initializing the widget.
3. **[API SDK](/api_clients)** \- request the [Recommend Items to Item endpoint](/api#recommend-items-to-item) of the Recombee API using an SDK of your choice.

For more information, navigate to the Integration tab of the Scenario in the Admin UI.