> ## 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 Place Frequently Bought Together in a Custom Position (Find FBT ID)

Want the bundle exactly where you decide, instead of right below the add to cart button? 📍

Custom placement lets you put Hoppy Frequently Bought Together anywhere in your theme using an **app block** or a small code snippet. Both rely on your offer's **FBT ID**.

---

## 🆔 What Is the FBT ID?

Every offer has a unique **FBT ID**. It tells your theme which offer to show in a given spot. You can find it in three places:

* **Top of the offer page** — under the offer name, next to "FBT ID:", with a copy icon
* **Placement tab** — when the placement is a custom position, the **FBT ID** is shown with a copy icon, plus the **FBT code snippet**
* **Offer list on the home screen** — click the actions button on the offer's row and choose **Copy FBT ID**

The app shows "Copied to clipboard" after you copy it.

⚠️ The ID only exists after the offer has been saved once. Until then, the Placement tab says "Save to see FBT ID and code snippet."

---

## ⚙️ Step 1: Set the Offer to a Custom Position

You have two ways:

* When creating the offer, choose **Custom Position(Only on Product Page)**
* In an existing offer, open the **Placement** tab and, under **Display On (Include)**, choose the custom option. It is called **Custom position(Only on Product Page)** for product offers, **Custom position(Only on Cart Page)** for cart page offers and **Custom position(Only on Cart Drawer)** for cart drawer offers.

➡️ Click **Save**, then copy the **FBT ID**

---

## 🧩 Step 2A: Add the App Block in the Theme Editor

➡️ Go to **Shopify Admin → Online Store → Themes → Customize**
➡️ Open the page template where you want the bundle (for example, the product template)
➡️ Click **Add section** in the spot you want
➡️ Under **Apps**, choose **FBT Block**
➡️ In the block settings, paste your ID into the **FBT ID** field
➡️ Click **Save**

For offers with a custom position, the banner shown after you publish also has an **Add App Block** button, which opens the theme editor ready to add the block.

If you add the block but leave the **FBT ID** empty, the storefront shows "Please configure the FBT ID to use App Block."

---

## 🧱 Step 2B: Paste the Code Snippet Instead

If you prefer code, copy the snippet from the **FBT code snippet** box. It looks like this, with your own ID:

`<div class="fbt-block" id=YOUR_FBT_ID></div>`

➡️ Go to **Online Store → Themes → … → Edit code**
➡️ Open the template or section file where you want the bundle
➡️ Paste the snippet where it should appear
➡️ Save

This is also how you place a bundle in a custom cart drawer.

---

## 🚀 Step 3: Publish

➡️ Click **Publish** on the offer
➡️ Make sure the **Freq Bought Together** app embed is on (see **How to Enable Theme App Extension**)

✅ **Expected Result:** the bundle appears exactly where you put the block or snippet, and only when your other rules (targeting, customer conditions, etc.) allow it.

---

## ⚠️ Important Notes

* 🔑 The ID in the block must match the offer exactly. If you duplicate an offer, the copy has a **new** ID.
* 📄 For product page, custom position and cart page offers, a custom position only works on product pages and the cart page. A block or snippet placed on other pages (for example the home page) stays empty. A **Cart Drawer** offer set to a custom position shows in its block or snippet on any page.
* 🧩 Use one block per offer. To show a different offer, use that offer's own ID.
* 🛍️ The custom placement option for product offers is labeled "Only on Product Page", so use it on product templates.

---

## 🔧 Troubleshooting

**Nothing appears.** Check that the offer is **Published**, the ID is pasted correctly, and the page matches the offer type. See **🔧 Frequently Bought Together Not Showing on My Store [Fixed]**.

**I do not see "FBT Block" in the Apps list.** Make sure the app is installed and you are editing a section that supports apps. If it is still missing, contact support via chat.

---

## 🎉 Final Result

Your bundle now sits exactly where it converts best on your page. 🎯