# Badges

Custom product badges in Palo Alto allow you to create any type of badge for each of your products.

![](/files/LdwsgSOWeGpYjW9zof3S)

### Badge color

Use the Palo Alto Theme Settings to modify the background colors for Saving badges and Custom product badges:

![](/files/gLD5se1a33ALPxD9XZNh)

### How to create custom badges

Custom badges are easy to create and all done in your Product setup. You simply add a tag to any of your products with a custom prefix. When Palo Alto sees the custom tag, it sticks the badge right onto the product in any grid view like collections, search, recommendations, and more.

### Creating custom tags

When Palo Alto sees a product that has a tag beginning with `_badge_`, it will take the following portion and apply that as the custom badge.

Example: `_badge_Black_Friday`

![Separate multiple words with underscore](/files/JQzE8uf2oU9o24H8QofL)

Displayed as:

![](/files/NSZibiOG9LELn3pUJpNQ)

### Additional Badges

Palo Alto also includes automated 'Sale' and 'Sold Out' badges. As shown above, some badges can be mixed together like the 'Sale' and 'Savings' badges.

The settings to enable or disable certain badges can be found under Theme Settings > Product Grid:

![](/files/fmPpflMBkvZRy3dj3GVE)

### Preorder badge

The final badge in Palo Alto is the 'Preorder' badge. It's enabled individually for each product by adding a `_preorder` tag to the product.

![](/files/IVgHK0lqjlJ4HRzSjcS7)

Effect on the Collection page:

![](/files/u4bHznW5OalyVYnZyJU1)

Effect on the Product page:

![](/files/QdsRkTzB5gEUh8TF6P1u)

### Badge priority

Some badges can disable or overwrite others. For example, if a product is sold out, it can't be shown as on sale.

Custom badges have the highest priority. They will appear alongside other badges to give more information to your customers.

{% hint style="info" %}
The Preorder badge will not appear if the product is Sold Out. Make sure that you have quantity for your preorder products.
{% endhint %}


---

# 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/palo-alto-4.1/collections/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.
