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

# Badges

The badges block is a customizable element used to visually highlight important product information, such as promotions or custom messages (e.g., 'Sale' or 'Selling fast'). It can be toggled on or off and optionally layered over the product gallery for greater visibility.

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

### How to set up

<table><thead><tr><th width="212.22393798828125">Setting</th><th width="113.6571044921875" align="center">Type</th><th width="421.9400634765625">Description</th></tr></thead><tbody><tr><td>Show sale badge</td><td align="center"><code>checkbox</code></td><td>Displays a predefined sale badge if the product is on sale.</td></tr><tr><td>Show custom badge</td><td align="center"><code>checkbox</code></td><td>Displays a custom badge (e.g., 'New', 'Limited') defined elsewhere.</td></tr><tr><td>Show badges over gallery</td><td align="center"><code>checkbox</code></td><td>Allows badges to be positioned over the product image/gallery.</td></tr><tr><td>Padding bottom</td><td align="center"><code>range</code></td><td>Adds spacing below the badges block for layout control.</td></tr></tbody></table>


---

# 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:

```
GET https://palo-alto.presidiocreative.com/products/blocks/badges.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
