> ## 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 Show Live Viewers and Low Stock Messages

Social proof and scarcity are two of the most effective nudges in online shopping 👀 Hoppy Bundles lets you add two small badges to your offer widget:

* 🟢 **Live viewers badge** → "5 people are viewing this now"  
* 🔥 **Low-stock badge** → "Only 3 left in stock"

Both badges use **real data** from your store. Hoppy Bundles never inflates the numbers, and a badge simply stays hidden when there isn't a real number worth showing.

---

# **✅ Before You Begin**

* Create or open an offer in Hoppy Bundles. The **Social proof & scarcity** card is available in **Quantity Break**, **Category Quantity Break**, **Bundle**, **Build Your Own Bundle (BYOB)**, **Product Addons**, **Product Upsell** and **Frequently Bought Together** offers  
* Make sure the **Bulk Discount Offer** app embed is on in your theme  
* For the low-stock badge, your products must have **inventory tracking** turned on in Shopify

---

# **🛠️ Step 1 — Find the Setting**

1. Open **Hoppy Bundles** and open your offer  
2. In the **General** tab, scroll down to **Social proof & scarcity** (it sits below the **Pricing & Display** options)

You'll see two checkboxes: **Show live viewers badge** and **Show low-stock badge**. You can turn on either one or both.

---

# **👀 Step 2 — Live Viewers Badge**

Tick **Show live viewers badge**, then set:

* **Viewers text** → the text in the badge. Use **`{count}`** where the number should appear. Default: `{count} people are viewing this now`  
* **Hide viewers badge below this count** → the minimum number of viewers needed before the badge shows. Default: **3**

### **How the count works**

* The number is the **real count of visitors on your store in the last 5 minutes**, based on visitors who were shown a Hoppy Bundles offer widget  
* It is a **store-wide** count, not a count for one specific product  
* The number refreshes about every 30 seconds  
* If fewer visitors than your threshold are on your store, the badge **hides** instead of showing a small or padded number

💡 With the default threshold of **3**, a very quiet store won't show "1 person is viewing this now". If you want the badge to show more often, lower the number.

---

# **🔥 Step 3 — Low-Stock Badge**

Tick **Show low-stock badge**, then set:

* **Low-stock text** → the badge text. Use **`{count}`** for the stock number. Default: `Only {count} left in stock`  
* **Show only when stock is at or below** → the stock level at which the badge starts to show. Default: **10**

### **How it works**

* The badge uses the **real inventory** of the product in Shopify  
* It hides automatically when the stock is **unknown**, **zero**, or **above** your threshold  
* The stock number updates when the customer picks a different variant

**For Quantity Break and Category Quantity Break offers:** one badge appears above or below the widget, based on the selected variant of the product the customer is viewing. For Category Quantity Break, the stock of the extra products in your packs is also taken into account, and the lowest number is shown.

**For Bundle, BYOB, Product Addons, Product Upsell and Frequently Bought Together offers:** a small low-stock badge appears on each **product inside the offer** when that product's stock is at or below the threshold.

⚠️ If inventory tracking is off for a product in Shopify, the app can't know the stock level, so no low-stock badge appears for it.

---

# **📍 Step 4 — Choose the Position**

A **Position** dropdown lets you place the badges:

* **Above widget**  
* **Below widget**

ℹ️ For **Quantity Break** and **Category Quantity Break** offers, the dropdown appears as soon as either badge is turned on. For the other offer types, it appears once **Show live viewers badge** is ticked (low-stock badges on those offers sit on each product inside the offer).

---

# **🎨 Step 5 — Style the Badges (Optional)**

Open the **Design** tab and find the **Social proof badge design** card:

* **Size** → text size in px  
* **Style** → Light, Regular, Italic, Medium, Medium Italic, SemiBold, Bold or Bold Italic  
* **Alignment** → Left, Center or Right  
* **Viewers badge colors** → **Text color** and **Background color**  
* **Low-stock badge colors** → **Text color** and **Background color**

ℹ️ This card only appears once at least one of the two badges is ticked in the **General** tab.

---

# **🌍 Translations**

If you use the **Translation** card, the viewers text and the low-stock text can be translated for each language. See **🌍 Bundles Offer — Translation**.

---

# **💾 Step 6 — Save & Publish**

Click **Save**, then **Publish**. Open a product page with your offer and check the badges.

---

# **⚠️ Important Notes**

* ✅ **Counts are always real.** A fake "people viewing" number is never shown.  
* 🕒 **The viewers badge needs traffic.** On a new or quiet store the badge may stay hidden until enough visitors have seen your offers in the last 5 minutes.  
* 🔄 **The viewers number is store-wide.** It reflects activity across all your Hoppy Bundles widgets, not only the current product.  
* ⏰ If the offer has ended (its end date has passed), the badges are hidden together with the offer.

---

# **🛠️ Troubleshooting**

## **The viewers badge doesn't show**

* The number of current visitors is probably **below your threshold** — lower **Hide viewers badge below this count**  
* Check that the offer is **Saved** and **Published**  
* Check that the **App Embed** is on (see **Bundle Offer Not Showing on My Store [Fixed]**)

## **The low-stock badge doesn't show**

* Stock may be **above** your **Show only when stock is at or below** number  
* Inventory tracking may be **off** for that product in Shopify  
* The product might be at **zero** stock

## **The badge text shows "{count}"**

Make sure you typed it with single curly brackets exactly as `{count}`.

---

# **🎉 Final Result**

✅ Shoppers see how many people are looking at your offers right now  
✅ Low-stock products create a natural sense of urgency  
✅ Both badges use real data and match your store's look

Add them to your best-selling offers and watch the difference 🚀