# 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="https://891064830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz8oqtXqtdhOM4CxRzekr%2Fuploads%2FgWrvasYlvPS9VkZBu8Fs%2Fbadges.jpg?alt=media&#x26;token=d92d3af3-79bb-4ac7-b55f-6b1910922ee8" 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: 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.
