> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.upsellplus.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How do I show an upsell only when certain conditions are met?

Using Smart Rules, you can add conditional logic to your upsells. 

1. Create a checkout, cart or post-purchase upsell

2. Scroll down to the Smart Rules card

3. Select the 'General' tab (this is the default tab)

4. Add a Smart Rule

5. Save the changes

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/f/a/abfa0cd47f75e80/smart-rules-1_k9gkml.png)

You can set smart rules for the cart total or cart products

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/f/a/abfa0cd47f75e80/smart-rules-2_1sbaoi7.png)

For the cart products you can make an upsell conditional on whether a cart:

- has certain cart products
- doesn't have certain cart products
- has certain tags
- doesn't have certain tags
- is part of a certain collection
- isn't part of a certain collection

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/f/a/abfa0cd47f75e80/smart-rules-3_9kbh5q.png)

You can use the AND and OR operators to combine smart rules.

| An example: only show the upsell when the cart total is more then $40 and a product in collection 'Homepage' is in cart:

![](https://storage.crisp.chat/users/helpdesk/website/-/a/b/f/a/abfa0cd47f75e80/smart-rules-4_15sxjpl.png)