> For the complete documentation index, see [llms.txt](https://modutheme.gitbook.io/helix/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://modutheme.gitbook.io/helix/how-to-guides/how-to-set-up-a-custom-badge.md).

# How to set up a custom badge

A custom badge shows a per-product label, such as "Limited Edition" or "Handmade". The text comes from a product metafield, so you set it on each product individually.

![Custom badge displayed on a product card](https://3215967854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlyCMfKbEVTf3hu8uxjSZ%2Fuploads%2Fgit-blob-42fd4666d04fa6e04137e34c60f5bff310c4cb59%2Ftheme-settings-badges-custom-result.png?alt=media)

***

**Step 1 — Turn it on in Theme Settings:**

1. In the theme editor, open [**Theme Settings → Badges**](/helix/theme-settings/badges.md#custom-badge) and turn on **Custom badge**.
2. Choose the badge's **background** and **text** colours — they apply to every custom badge — then save.

**Step 2 — Create the metafield in Shopify admin:**

1. Go to **Settings → Metafields and metaobjects → Products** and click **Add definition**.
2. Configure:
   * **Name** — `Badge`
   * **Namespace and key** — `modutheme.badge`
   * **Type** — Single-line text, one value
3. Click **Save**.

![Creating the Badge metafield definition in Shopify admin](https://3215967854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlyCMfKbEVTf3hu8uxjSZ%2Fuploads%2Fgit-blob-8ac6f674122b2aab15adaaed7f7ec2b12e72db31%2Ftheme-settings-badges-custom-metafield-definition.png?alt=media)

**Step 3 — Apply to products:**

1. Open any product in Shopify admin.
2. Scroll to **Metafields → Badge** and enter the badge text (e.g., `Limited Edition`).
3. Save the product.

![Adding a custom badge metafield value to a product in Shopify admin](https://3215967854-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlyCMfKbEVTf3hu8uxjSZ%2Fuploads%2Fgit-blob-43dc51834bdbf10f6d7360aa256e1fe2708deea8%2Ftheme-settings-badges-custom-metafield-setup.png?alt=media)

***

{% hint style="info" icon="headset" %}
**Need help?**

Whether you have a question, run into an issue, or just need some guidance, our support team is here to help.

<a href="https://go.crisp.chat/chat/embed/?website_id=6c25581e-794a-41b4-8552-52f3de1dd1f7" class="button secondary" data-icon="comments">Chat with us</a> <a href="https://modutheme.ticksy.com" class="button primary" data-icon="ticket">Submit a ticket</a>
{% endhint %}
