# Upselling

#### **Basic configuration**

1. In your Admin, navigate to "Extensions > My extensions".
2. Install and activate the app.
3. Clear the cache under "Settings > System > Caches & indexes > Clear cache".

#### **Creating an Upselling**

Under "Marketing > Upselling" you now have the option to create and configure Upsellings. With a click on "Create new upselling" you reach the editing screen.

#### **Configuration**

<div data-with-frame="true"><figure><img src="/files/msFHDNKyEMuUT6wpocX3" alt=""><figcaption></figcaption></figure></div>

<details>

<summary>Name</summary>

Here you can assign a name to the Upselling. It is only used for internal purposes.

</details>

<details>

<summary>Active</summary>

Determines whether the Upselling is active or inactive.

</details>

<details>

<summary>Priority</summary>

This defines which Upselling takes precedence in the checkout under equal conditions. The higher the value, the higher the priority.

</details>

<details>

<summary>Upsell Products</summary>

At this point you have to link the [dynamic product group](https://docs.shopware.com/en/shopware-6-de/Catalogues/Dynamicproductgroups) that should be displayed as Upselling in the checkout. Via the dynamic product group you can select in a fine grained way which products are eligible for the Upselling at all.

</details>

<details>

<summary>Maximum product count</summary>

Via this field you define how many Upselling products should be displayed in the checkout at maximum.

</details>

<details>

<summary>Sort order</summary>

Determines in which order the Upselling products are displayed in the checkout.

**Name ascending**\
Alphabetical sorting from A to Z.

**Name descending**\
Alphabetical sorting from Z to A.

**Creation date ascending**\
Oldest products first.

**Creation date descending**\
Newest products first.

**Price ascending**\
Cheapest products first.

**Price descending**\
Most expensive products first.

**Release date ascending**\
Sorting by release date from old to new.

**Release date descending**\
Sorting by release date from new to old.

**Random**\
The Upselling products are displayed in a random order on every page load.

</details>

<details>

<summary>Trigger Condition (Cart Products)</summary>

Here you define via a [dynamic product group](https://docs.shopware.com/en/shopware-6-de/Catalogues/Dynamicproductgroups) which products have to be in the cart so that the Upselling products are displayed. This way you can fine tune which Upselling is shown for which cart contents, depending on the product or category group.

{% hint style="info" %}
The trigger conditions are optional. If no trigger condition is defined, the Upselling applies regardless of the cart content, as long as it has the highest priority in the sales channel.
{% endhint %}

</details>

<details>

<summary>Sales Channels</summary>

Defines in which sales channel the Upselling should be displayed.

</details>

{% hint style="success" %}
**Example:** You want to display matching accessories as Upselling as soon as a camera is in the cart. In this case, you link a dynamic product group containing all cameras as cart products. As Upselling products, you link a dynamic product group with matching accessories.
{% endhint %}

#### **Display in the checkout**

The Upselling products are displayed on the checkout register page and the checkout confirm page. Both on smartphone and desktop, your customers can add Upselling products to the cart directly from within the checkout.

{% hint style="info" %}
Should an Upselling product have variants, the parent product is automatically loaded in the checkout. Your customers then select the desired variant directly in the checkout, without having to leave the checkout.
{% endhint %}

#### **Priority and selection in detail**

So that you can fully understand the behavior of your Upsellings in the checkout, here is the selection logic in detail:

1. First, all Upsellings that are active in the current sales channel are determined.
2. Next, it is checked which Upsellings qualify for the current cart based on the trigger conditions.
3. From the remaining Upsellings, the Upselling with the highest priority is displayed.
4. Should multiple Upsellings share the same highest priority, one of them is selected at random.

{% hint style="success" %}
**Example:** You have created two active Upsellings in the same sales channel. Upselling A has priority 10, Upselling B has priority 5. Both trigger conditions apply to the cart. In this case, Upselling A is displayed because it has the higher priority.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.atloss.de/en/upselling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
