> ## 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 Variant Selection and Preview Images Work in Upsells

Wondering why your upsell shows one product photo, how customers pick sizes or colors, or why some variants are missing? 👕

This guide explains exactly how **Hoppy Upsell & Cross Sell** handles product **variants**, **prices** and **images** in the upsell widget, so you know what to expect before you publish.

---

# **🧩 What Each Upsell Product Shows**

Every product in the slider is shown as one card with:

* 🖼️ **A product image** (80 x 80 px, cropped to fit)
* 🏷️ **The product title**
* 💲 **The price**
* 🔽 **A variant selector** (only when the product has more than one available variant)
* 🔘 **The call-to-action button**

---

# **👕 How Variant Selection Works**

### **Default variant**

When the card loads, the **first available variant** of the product is selected. If none are available, the card isn't shown (see below).

### **Variant selector**

If the product has **more than one available variant**, a dropdown appears next to the button.

* Options are shown by their option values, joined with a slash (for example **Medium / Blue**)
* The dropdown is a standard browser select on every theme. Its colors and corners follow the **Variant picker** settings in the **Design** tab.

If the product has only one available variant, no dropdown is shown.

### **Price updates**

When the customer picks another variant, the **price on the card updates** to that variant's price. If an **Offer discount** applies, the discounted price is shown with the original price struck through.

### **Adding to cart**

With the **Add to Cart** button type, the **selected variant** is the one added to the cart. After it's added, the button text changes to your **Button Text (After adding to cart)** value. What happens next follows the **Action after offer is added** setting in the **Content** tab. The default follows your theme's cart (a cart drawer opens, or the cart page is shown).

With the **View Product** button type, the customer is taken to the product page and the dropdown choice isn't carried over.

You choose the button type in the **Content** tab under **Call to Action Button**.

---

# **🚫 Unavailable Variants and Products**

* Variants that are **not available** (sold out) are **hidden** from the dropdown
* If **every** variant of a product is unavailable, that product is **left out** of the slider
* If none of the upsell products are available, the widget doesn't appear

💡 If a product seems to be missing from your upsell, check its inventory in Shopify first.

---

# **🖼️ How Product Images Work**

* The card shows the product's **main (featured) image**
* The image does **not change** when a customer selects a different variant. Only the price changes.
* Clicking the image opens the **product page in a new tab**

💡 To control which photo appears, set the product's **featured image** in Shopify Admin → Products.

---

# **🔎 The Admin Preview vs. Your Storefront**

The live preview inside the app is a close guide, but it isn't identical to the storefront:

* The preview also lets you test the variant dropdown and updates the price when you change it
* The preview builds prices with your store currency's symbol, while the storefront uses your store's money format
* The preview can show a selected translation, but always check the real translated texts on your live store

Always check the final look on your live store after publishing.

---

# **✅ Tips**

* Use clear option values in Shopify (for example **Medium** or **Blue**) because customers see those values in the dropdown
* Use clean, square-friendly featured images, since the image is cropped to 80 x 80 px
* If you want customers to choose from a full variant picker with swatches or images per variant, use the **View Product** button so they land on the product page

---

# **🛠️ Troubleshooting**

**The dropdown doesn't appear**
The product has only one available variant (or only one remains in stock).

**The image doesn't match the selected variant**
This is expected. The card always shows the featured image.

**A product is missing**
All its variants may be sold out. If you use **AI Upsell (Frequently Bought Together)** or **Upsell Specific Collections**, also check **Max No. of Products** in the Content tab, which limits how many products appear in the slider.

**The price looks wrong**
See **💲 Upsell Showing the Wrong Currency Symbol [Fixed]**.

**The widget isn't showing at all**
See **Upsell & Cross Sell is Not Showing on My Store [Fixed]**.

---

# **🎉 Final Result**

You now know how variants, prices and images behave in your upsell, so you can set up products with confidence ✨