> ## 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 Add the Upsell Block to the Checkout or Thank You Page

Besides the Post Purchase page, Hoppy can show an offer as a **block** inside your checkout or on the thank you page 🧱

These two types need one extra step: placing the block in Shopify's checkout editor. This guide walks through it.

---

# **✅ Before You Begin**

* The **Checkout Page** type shows a **Shopify Plus** badge next to **Upsell Type** in the Settings tab. Customizing checkout blocks depends on your Shopify plan, so check what your plan allows.
* You need to create and publish an upsell of the type you want. For the differences between the types, see **Post Purchase vs Thank You Page vs Checkout Upsell**.

---

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

➡️ Click **Create new upsell**
➡️ Choose **Checkout Page** or **Thank You Page** on the **Choose Upsell Type** page
➡️ Configure products, discount and design as usual, then click **Save**

ℹ️ The **If accepted** and **If declined** cards are available for the Checkout Page type only. The Thank You Page type shows a single offer.

---

# **➡️ Step 2 — Publish**

Click **Publish** at the top right. A banner appears: **Your upsell is published and live on your store**, with the message "Go over to your store and confirm if the Checkout Upsell is visible as per your settings." (or "Thank You Page Upsell").

---

# **➡️ Step 3 — Open the Editor and Add the Block**

In that banner:

* For a Checkout upsell, click **Open Checkout Editor**
* For a Thank You upsell, click **Open Thank You Page Editor**

This opens Shopify's checkout editor on the right page (checkout or thank you).

Then, inside the editor:

➡️ Add an **app block** and choose the Hoppy block. In Shopify it is listed under the extension name **Hopp Post Purchase**
➡️ Drag it to where you want the offer to appear
➡️ Click **Save** in Shopify

The block can be placed wherever the editor allows app blocks on that page.

---

# **➡️ Step 4 — Test**

Place a test order that matches your targeting.

* **Checkout Page** → the offer appears in checkout. Ticking products and clicking **Add to order** adds them to the cart. The decline button shows your **Decline button text** (default "Decline this offer")
* **Thank You Page** → the offer appears after purchase. Clicking the button opens a cart link in a new tab with the ticked products

---

# **✅ Expected Result**

Your offer appears in the exact spot you placed it, with your title, products, discounts and buttons.

---

# **📌 Important Notes**

* Without the block placed in the editor, nothing shows, even if the upsell is **Published**.
* The block hides itself when there is nothing to offer, for example when no targeting rule matches or every offered product is already in the order and **Exclude products already in customer's order** is ticked.
* Checkout and Thank You blocks use the buyer's checkout currency and market prices where available.
* Design options (title, colors, button text) work the same as for Post Purchase. See **Post Purchase Upsell — Design & Styling**.
* If you only want the Post Purchase page, you do not need any block. See **How to Set Up Post Purchase Upsell**.

---

# **🛠️ Troubleshooting**

* **I cannot find the Hoppy block in the editor** → Make sure you opened the right page (checkout or thank you) in the editor and look for the name **Hopp Post Purchase** in the app blocks list.
* **The block is there but empty** → Review your targeting and the **Exclude products already in customer's order** setting, and wait a few minutes since offer data is cached for about 5 minutes.
* **Checkout editor is unavailable** → Your Shopify plan may not allow checkout customization. Contact support via chat if unsure.

---

# **🎉 Final Result**

Your offer now appears inside your checkout or thank you page exactly where you want it 🚀