> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.hoppyapps.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 to Exclude Products from the Upsell Widget and Show Compare-at Prices

The upsell widget shows product suggestions under your Free Shipping Bar. This guide shows how to keep some products out of it, and how to show sale prices on the products that remain 🛍️

---

## **📋 Before You Begin**

* You need a setup with an upsell. In the **Upsell** tab, **Select upsell products** must not be **No Upsell**
* The upsell types are **AI Upsell (Frequently Bought Together)**, **Upsell Specific Products**, **Upsell Specific Collections** and **Upsell Same Product (As on Product Page)**
* In **Based on Goals** setups, the upsell settings are in **Goal Rules → Upsell**

---

## **🚫 Part 1 — Exclude Products from the Upsell**

➡️ Open the **Hoppy Free Shipping** app and open your setup

➡️ Go to the **Upsell** tab and scroll to **Upsell Exclusions**

Choose one option:

* **Do not exclude**: nothing is filtered out (the default)
* **Exclude products in collection**: click **Select Collections** and pick the collections. Their products never appear in the upsell
* **Exclude specific products**: click **Select Products** and pick the products to hide

The chosen collections or products are listed under the button.

➡️ Click **Save**, then **Publish**

**Expected Result:** The excluded products are removed from the upsell suggestions.

---

## **🏷️ Part 2 — Show Compare-at Prices and a Savings Badge**

In the same **Upsell** tab, find **Show Discount on Upsell Products**:

* **Enabled** (default): shows the compare-at price and a discount badge when the upsell product has a compare-at price
* **Disabled**: shows only the current price

When it is **Enabled**, a **Discount Label** field appears:

* The default text is `Save {{discounted_value}}`
* `{{discounted_value}}` is replaced with the amount saved, written in your **Amount Format**
* You can write your own text around it, for example `You save {{discounted_value}}`

**Expected Result:** The original price appears crossed out next to the current price, with a badge showing the saving.

---

## **🎨 Style the Badge**

➡️ Open the **Design** tab and scroll to **Upsell Design**

➡️ In the **Discount** section, set **Background color** and **Color** for the badge

---

## **📝 Where Compare-at Prices Come From**

* The compare-at price comes from the product's **Compare-at price** in Shopify Admin
* The badge and the crossed-out price show only when the compare-at price is higher than the current price
* If a product has no compare-at price, no badge is shown

---

## **⚠️ Important Notes**

* **Max No. of Products** (for **AI Upsell** and **Upsell Specific Collections**) allows up to 10 products at once. Exclusions are applied to the suggestions, so a long exclusion list can leave fewer products on display
* Exclusions only affect the upsell widget. To exclude products from goal calculations, use **Include/Exclude Products from Goals** in the **Goal** tab (see **🧮 How the Free Shipping Goal Amount Is Calculated**)
* Amount formatting for upsell prices follows **Amount Format**. See **🔢 How to Hide Trailing .00 in Free Shipping Bar Amounts**
* The upsell widget is not available for the Banner placement

---

## **🔧 Troubleshooting**

**No upsell products show at all**

➡️ Open **Billing** and check your upsell orders this month. When you have used all the upsell orders in your plan, upsell products are hidden until the next month or until you upgrade (see **💵 Free Shipping Upsell Plans, Pricing and Usage Limits**)

**An excluded product still appears**

➡️ Check that you clicked **Save** and **Publish**

➡️ For collection exclusions, check that the product really belongs to the selected collection

➡️ Hard refresh your storefront

**No compare-at price shows**

➡️ Confirm **Show Discount on Upsell Products** is **Enabled**

➡️ Check the product's compare-at price in Shopify. It must be higher than the price

**The badge text shows the wrong amount format**

➡️ Check **Amount Format** and **Currency Symbol Type** in the **Goal** tab

---

## **✅ Final Result**

✅ Products you do not want to promote stay out of the upsell
✅ Sale products show their compare-at price and savings badge
✅ The badge text and colors match your brand