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

# Badges

The **Badges** block displays visual indicators (badges) on product listings to highlight special statuses such as items on sale or products with custom tags. These badges can boost conversion by drawing attention to key attributes or promotions.

<figure><img src="/files/hznAXaLzzE6pD3diTdvS" alt="Picture depicting the Badges block of the product pages section"><figcaption></figcaption></figure>

<table><thead><tr><th width="185.4930419921875">Settings</th><th width="129.46356201171875" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Show sale badges</td><td align="center"><code>checkbox</code></td><td>Displays a badge for products on sale.</td></tr><tr><td>Show product badges</td><td align="center"><code>checkbox</code></td><td>Displays custom badges based on product tags. Tags: <code>_preorder</code>, <code>_badge_with_custom_text</code>.</td></tr><tr><td><strong>Padding</strong></td><td align="center"></td><td></td></tr><tr><td>Bottom</td><td align="center"><code>range</code></td><td>Adds spacing below the block.</td></tr></tbody></table>

## Notes

* Sale badges are automatically shown for discounted products.
* Custom product badges can be added by applying specific tags to products in Shopify: `_preorder`: shows a predefined ‘Preorder’ badge. ; `_badge_with_custom_text`: shows a customizable badge (based on theme behavior).
* Adjust the bottom padding to control spacing relative to other blocks on the page.


---

# 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://broadcast.presidiocreative.com/product-theme-blocks/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.
