> ## 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 Win Back Customers Who Haven't Ordered in a While

Some customers buy once... and then quietly disappear 👻

With **Hoppy Upsell & Cross Sell**, you can show a special upsell only to customers whose **last order was a while ago**, for example shoppers who haven't ordered in 60 days.

---

# **🛠️ Example Setup**

* 🎯 **Target** → last order more than **60 days** ago
* 🛒 **Placement** → Cart Page
* 💸 **Message** → "We miss you! Use code COMEBACK15 at checkout"
* 👤 **Visibility** → Logged in customers only

---

# **✅ Before You Begin**

* 🧩 **App embed ON** → Shopify Admin → Sales Channels → Online Store → Themes → Edit theme → App Embeds → **Upsell Cross-Sell Slider** → ON → **Save**
* 💸 **Discount code (optional)** → To discount the products inside the upsell itself, use **Offer discount** in the **Content** tab. To use a discount code instead, create it in **Shopify Admin → Discounts** and mention the code in your **Upsell Title** (the app does not apply codes for you).
* 👤 **Customer accounts** → The last order date is only available for **logged-in** customers.

---

# **⚙️ Step 1 — Create the Upsell**

Open the **Hoppy Upsell & Cross Sell** app.

➡️ Click **Create new upsell**.

➡️ Select your placement (**Cart Page** works well, since customers are already reviewing items), then click **Select this type**.

---

# **📝 Step 2 — Write the Win-Back Offer**

In the **Content** tab:

* **Upsell Name** → internal only, for example "Win-back 60+ days"
* **Select upsell products** → pick **Upsell Specific Products** to highlight bestsellers, or another option such as **AI Upsell (Frequently Bought Together)**
* **Upsell Title** → your message, for example: *We miss you! Use code COMEBACK15 at checkout 💛*
* **Call to Action Button** → **Add to Cart** or **View Product**, with your own **Button Text (Before adding to cart)** and **Button Text (After adding to cart)**

ℹ️ If you mention a code in the title, Shopify applies it at checkout, so make sure the code matches an active discount.

---

# **🎯 Step 3 — Target by Last Order Date**

➡️ Open the **Placement** tab and scroll to **Display only when**.

1. **Uncheck Always Display**
2. **Check Last order was more than X days ago**
3. Enter the number (for example **60**) and choose the unit: **Days**, **Weeks** or **Months**

💡 Pick a threshold that fits your products. A shorter window suits fast-moving items and a longer one suits seasonal items.

ℹ️ If you choose **Months**, the app counts back calendar months.

---

# **👤 Step 4 — Show It Only to Logged-In Customers**

The last order date only exists for logged-in customers. For a logged-out visitor there's no order data, and the **Last order was more than X days ago** condition **passes**, so they would see the win-back offer too.

To prevent that:

➡️ In the **Placement** tab, scroll to the **Customer targeting** card.

➡️ Set **Visibility (Customer Login Status)** to **Logged in customers only**.

---

# **🚫 Step 5 — Exclude Customers Who Never Ordered (Recommended)**

A logged-in customer with **no orders** also passes the "more than 60 days ago" check, but they are new, not lapsed.

To exclude them, also check **Minimum number of orders** in **Display only when** and enter **1**.

Now the offer shows only when **both** are true:

* The customer has at least **1 order**
* Their last order was **more than 60 days ago**

All selected conditions must pass together.

---

# **🚀 Step 6 — Save and Publish**

➡️ Click **Save** in the save bar at the top.

➡️ Click **Publish**.

If the app embed isn't active, a banner with an **Enable App Embed** button takes you to the theme editor.

---

# **🧪 How to Test**

1. Log in with a customer whose last order is older than your threshold, add a product and open the cart → the offer should appear
2. Log in with a customer who ordered recently → it should **not** appear

---

# **📌 Important Notes**

* The opposite rule, **Last order was within the last X days**, targets recent buyers. Customers with no orders don't see it.
* The app does not send emails. It shows the upsell on your storefront and can discount the products it offers through **Offer discount**.
* Combine with more rules in **🎯 Advanced Targeting Options for Upsell & Cross Sell**.

---

# **🛠️ Troubleshooting**

**The offer appears for logged-out visitors**
Set **Visibility (Customer Login Status)** to **Logged in customers only**.

**The offer doesn't appear for a test customer**
Check the customer's last order date against your threshold, and confirm the upsell is Saved, Published and the app embed is ON. See **Upsell & Cross Sell is Not Showing on My Store [Fixed]**.

---

# **🎉 Final Result**

Returning customers who haven't ordered recently see your comeback message and products, and everyone else sees your store as normal ✨