> For the complete documentation index, see [llms.txt](https://staylime.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://staylime.com/docs/volume-themes/theme-settings/product-badges.md).

# Product Badges

### Default Badges

The theme includes pre-set badges:

* Sale
* Sold out
* Preorder

***

### Custom Badges

You can add and customize up to four custom badges to your products. To enable custom badges, you need to create a product metafield specifically for badges:

1. Open your Shopify admin.
2. Go to **Settings → Custom data → Products**.
3. Click **'Add definition'**.
4. Enter **'Badge'** as the metafield name, resulting in the **custom.badge** 'Namespace and key' (important!).
5. Select the type **'Single line text'** with **'List of values'**.
6. Click **'Save'**.

<figure><img src="/files/7aTyQ4X3ZpxG7UZOslFV" alt=""><figcaption></figcaption></figure>

Once the metafield for badges is created, you can proceed to add specific badges to each product:

1. Open the desired product.
2. Scroll down to the metafields section.
3. Enter the names of your badges into the **'Badge'** metafield.
4. Click **'Save'**.

<figure><img src="/files/s1hyMJfQZ8EEFc4FigPB" alt=""><figcaption></figcaption></figure>

***

### Remove Sale badge

You can remove the sale badge by adding the following code to your **Custom CSS** section in Theme Settings:

```css
.card__badges-item--sale {
  display: none;
}
```

{% hint style="warning" %}
Please note that this code will remove the badge everywhere in the store.
{% endhint %}

If you'd like to remove it from the Collection page exclusively, please go to **Theme Editor → Collection page template → select the Collection page section** and add the code to the **Custom CSS** field.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://staylime.com/docs/volume-themes/theme-settings/product-badges.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
