# Cart Discount via Cart Add-On Campaign

Introduction:

In this scenario, when the customer adds a T-shirt to the cart they have a discount on the Cap (Cart Add-on upsell offer product ) of 10% on the cart page before proceeding to checkout.

Creating an offer:

* Go to WordPress dashboard -> UpsellWP -> Create New Campaign -> choose “Cart Add-ons”

<figure><img src="/files/RX9QRzz3k5kyFDDsg0bT" alt=""><figcaption></figcaption></figure>

**Here is the screenshot of the offer configuration that follows,**

<figure><img src="/files/YGEUkRDXqfnfW63Pcuqk" alt=""><figcaption></figcaption></figure>

#### The details of the configurations are:

**Step 1:** Choose the Specific Product "T-shirt" in the filter section you want to display on the cart page by typing a few characters of the product name.

**Step 2:** Choose the Product suggestion method as "Specific Product" and choose "Cap" by typing a few characters of the product name.

**Step 3:** Choose the Cart item quantity field as "Allow customer to change quantity" This allows the customer to choose the Cart Add-on product quantity manually.

**Step 4:** Finally, set the discount type as Percentage Discount and set the value as 10%

**Now, we have successfully created a Cart Add-on campaign, Let's see how it works on the cart page.**

<figure><img src="/files/vOunLIvlgpS9g6GgUnQg" alt=""><figcaption></figcaption></figure>

Now the offered Cart Add-on product has been successfully displayed on the cart page. Please ensure to select the checkbox to avail of the offered Cart Add-on product in the cart.

{% hint style="warning" %}
Above discussed scenarios require PRO

[Get UpsellWP PRO](https://upsellwp.com/)
{% endhint %}

Still unclear?

If you need any assistance, please create a[ support request](https://upsellwp.com/support/) in our ticket system. We are always happy to assist you :)


---

# 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.upsellwp.com/example-scenarios/cart-discount-via-cart-add-on-campaign.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.
