> ## 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 Badges & Icons Block in the Theme Editor

Need to show a trust badge in a spot the automatic placements do not cover, such as above the product description, below your reviews or on a custom landing page? 🧱 The **Badges & Icons** app block lets you drop a badge anywhere your theme supports app blocks.

This guide explains how to get your Badge ID and add the block in the Theme Editor.

---

# **🧭 How It Works**

Each badge has a unique **Badge ID**. The **Badges & Icons** block has one setting called **Badge ID**. When you paste the ID, the block loads that badge in that exact spot.

Two things must be true for it to work:

* The badge placement is set to **Custom position** and the badge has been saved
* The **Badges & Icons** app embed is turned ON (the block only holds the spot, the embed loads the badge itself)

---

# **🚀 Step-by-Step Setup**

## **➡️ Step 1: Create or Open a Badge with Custom Position**

You can either:

* Click **Create new badge** and choose the **Custom Position** card ("Show icons in custom locations"), or
* Open an existing product page, footer, cart page or cart drawer badge, go to **Placement & Visibility**, and under **Select pages to display the icon/badge block** choose **Custom position** (this option is not offered for **Floating Icons** or checkout badges)

## **➡️ Step 2: Save the Badge**

Click **Save**. Before you save, the app only shows "Save to see Badge ID and code snippet".

## **➡️ Step 3: Copy the Badge ID**

After saving, the **Placement & Visibility** tab shows **Badge ID:** with a clipboard icon. Click the icon to copy it. You will see a "Copied to clipboard" message.

You can also copy the ID from the page header of the badge, or from the badge list by opening the **⋯** menu and clicking **Copy Badge ID**. For more help, see **🆔How to find Trust Badge & Icon ID**.

## **➡️ Step 4: Publish the Badge**

Click **Publish**. After publishing, the app shows a banner with an **Add App Block** button for custom-position badges. Clicking it opens your theme editor so you can add the block.

## **➡️ Step 5: Add the Block in the Theme Editor**

You can use the **Add App Block** button above, or do it manually:

1. Go to **Shopify Admin → Online Store → Themes**
2. Click **Edit Theme** (Customize) on your live theme
3. Open the page template where you want the badge, such as the product page
4. Add a new section or app block and pick **Badges & Icons** from the **Apps** list
5. Move it to the position you want
6. In the block settings, paste your copied ID into **Badge ID**
7. Click **Save**

## **➡️ Step 6: Check the App Embed**

In the Theme Editor, open **App embeds** and make sure **Badges & Icons** is ON, then click **Save**.

---

# **🧩 Using the Code Snippet Instead**

For custom-position badges, the app also shows a **Code snippet** with a clipboard icon, with the note "You can use this code snippet anywhere in your theme." It looks like a small `div` that contains your Badge ID. Use it if you prefer to paste code into your theme instead of adding the block.

---

# **✅ Expected Result**

Open the page on your storefront. Your badge appears exactly where the block sits in the theme.

---

# **⚠️ Important Notes**

* **Empty Badge ID.** If the Badge ID field is empty, the block shows a warning that says "Please configure the ID to use App Block." and no badge appears.
* **Wrong ID.** Each badge has its own ID. If you duplicate a badge, the copy gets a new ID, so its block needs the new ID.
* **Unpublished badges do not show.** The block can be in your theme, but the badge must be **Published**.
* **Targeting still applies.** Scheduling, countries, UTM sources, customer targeting and device visibility still decide who sees the badge.
* **Checkout is different.** Checkout badges are added through the Shopify checkout editor, see **How to Place Trust Badges & Icons in Checkout**.

---

# **🛠️ Troubleshooting**

## **I only see the warning message inside the block**

The **Badge ID** field is empty. Paste the ID from the app and save the theme.

## **The block is added but nothing shows**

1. Confirm the badge placement is still **Custom position**
2. Confirm the badge is **Published** and the schedule has not expired
3. Confirm the **Badges & Icons** app embed is ON
4. Hard refresh your storefront (Ctrl + Shift + R on Windows, Cmd + Shift + R on Mac)

See **🚫 Trust Badge is Not Showing on My Store [Fixed]** for the complete checklist.

## **My theme does not let me add the block in that area**

Some themes allow app blocks only in certain sections. Add it as its own section, or use the code snippet where your theme allows custom code. If you are stuck, contact support from the chat inside the app.

---

# **🎉 Final Result**

* ✅ You know where to find and copy the Badge ID
* ✅ The **Badges & Icons** block is connected to the right badge
* ✅ Your badge appears in the exact custom location you wanted