> 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="https://2636770384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsD7BEEDU3B7WiEJlN0F7%2Fuploads%2FvNFSFKaxIKnypFvK185P%2Fbadges-block.jpg?alt=media&amp;token=f48925e5-05af-47e4-86ad-7fa4b2b58e68" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://broadcast.presidiocreative.com/product-theme-blocks/badges.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
