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