# "For You" Sections

> Source: https://docs.recombee.com/recipes/e-commerce/fully-personalized-homepage/for-you-sections

> 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)

# "For You" Sections

![](/img/recipes/e-commerce/for-you-sections.png) 

## Introduction

Scenarios such as _"Just For You"_ or _"New Arrivals For You"_ suggest products that align with a user's specific interests, leveraging their past interactions on the site to determine the most relevant recommendations. In case of a new user without any previous recommendations, best-selling and trending products are offered.

## 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 _"just-for-you"_
2. Choose **Recommendation type** \- _[Items to User](/api#recommend-items-to-user)_

![Admin UI - Scenario Setup](/img/recipes/e-commerce/for-you-sections-create-scenario.png)

## Logic

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

* Choose the **[ecommerce:homepage](/recommendation_logics#ecommerce-homepage)** logic type from the **E-commerce** models to give a personalized offering for the user

The Logic is also motivating the user to proceed with buying products that were of interest during previous visits.

![Admin UI - Logic](/img/recipes/e-commerce/for-you-sections-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#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)

Tip: New Arrivals

You may want to add an additional **New Arrivals** box to your homepage with a personalized offer of the recently added products.

1. Navigate to the **[Filters](/scenarios#filters)** tab and **Add first filter**
2. Find _Recent items_ and click on **+**
3. Specify which **property** in your Items catalog specifies the **date of adding the product into the catalog**
4. Set the **Number of days** for which the new item can be recommended

For example, by setting 30 days, each user will get a personalized collection of interesting products that were added during the last month.

![Admin UI - Filter - Recent Items](/img/recipes/e-commerce/filter-recent-items.png)

Tip: Category-specific Items

You may want to add an additional box to your homepage with a personalized offer of **products from a particular category** (e.g. _“T-shirts you may like”_, _“Posters for You”_, etc.).

1. Navigate to the **[Filters](/scenarios#filters)** tab and **Add first filter**
2. **Add one of the following filters** from the library of predefined rules:  
   * _Items from particular category \[string\]_  
   * _Items from particular category \[set\]_  
Used rule depends on whether your products have a single category or multiple categories per product in the catalog.
3. Specify which **property** in your Items catalog specifies the **category**
4. Set the **name of the category**

[![Admin UI - Filter - Category-specific Items - ReQL](/img/recipes/e-commerce/filter-category-specific-items.png)](/img/recipes/e-commerce/filter-category-specific-items.png)

## Boosters

Tip: Boost Items On Sale

You may want to bias the behavior towards a particular business or product goal - for example drive the recommender engine to **push the items that are on sale** more, because you want to completely sell out these products.

1. Navigate to **[Business Rules](/reql#business-rules)** section and **Create Rule**
2. Enter a **Rule name**, such as _"Items On Sale Booster"_
3. Choose **Rule Type** \- _[Booster](/scenarios#boosters)_
4. Choose **Entity Type** \- _Items_
5. Assuming you have an item **property** called _on\_sale_, the ReQL expression can look like this:

```
if 'on_sale' then 2 else 1
```

[![Admin UI - Booster - Items On Sale](/img/recipes/e-commerce/booster-items-on-sale-reql.png)](/img/recipes/e-commerce/booster-items-on-sale-reql.png)

**After creating** the [Booster](/scenarios#boosters), you can apply the rule to your Scenario in the Boosters tab.

[![Admin UI - Apply Booster](/img/recipes/e-commerce/booster-items-on-sale-apply.png)](/img/recipes/e-commerce/booster-items-on-sale-apply.png)

**Advanced tip**: To easily test how much the items shall be boosted, you can introduce a [Boosting Coefficient Input Value](/scenarios#custom-rules) and use it in the ReQL:

```
if 'on_sale' then $coefficient$ else 1
```

Then you can set the coefficient directly in the Scenario screen and find the most fitting amount of boosting using the **Preview Results** function.

## 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 User endpoint](/api#recommend-items-to-user) when initializing the widget.
3. **[API SDK](/api_clients)** \- request the [Recommend Items to User endpoint](/api#recommend-items-to-user) 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.

In order to request content for multiple homepage boxes with a single API request, use the [Batch endpoint](/api#batch) and put the recommendation requests inside it. Set the parameter `distinctRecomms` in order to [deduplicate the items among the boxes](/api#batch-example-using-distinctrecomms-parameter-to-deduplicate-results-in-multiple-boxes).