# How to create a product badge

### Step 1: Choose the badge type

Image badge: \
&#x20;         Upload your icon in supported formats like: png, jpg, svg, gif, webp\
The maximum upload size is 200kb. This is recommended to optimize your page load performance

Text badge: \
&#x20;         Choose a template from our library, then you can enter custom text (discount, new product, stock, ...)

<figure><img src="https://902426503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9AqFdpSSk6XYmYvhlCSC%2Fuploads%2FRrTqXWrEVZDRSugMSouP%2Fimage.png?alt=media&#x26;token=eff379d8-1152-4c1c-ad5c-a4f47b06365d" alt=""><figcaption></figcaption></figure>

### Step 2: Badge setup

Provides a powerful customizer that allows you to change almost anything about your badge on both desktop and mobile

<figure><img src="https://902426503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9AqFdpSSk6XYmYvhlCSC%2Fuploads%2FSi7hb2Bjp6FH45QmSR74%2Fimage.png?alt=media&#x26;token=645f4137-db17-43db-93b5-fa07c2c0fcc8" alt=""><figcaption><p>Image badge</p></figcaption></figure>

<figure><img src="https://902426503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9AqFdpSSk6XYmYvhlCSC%2Fuploads%2FJSQcrMeok3okYLqcMQAS%2Fimage.png?alt=media&#x26;token=38b8e740-8e92-4f76-9eb2-1b2f2a6bc995" alt=""><figcaption></figcaption></figure>

<figure><img src="https://902426503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9AqFdpSSk6XYmYvhlCSC%2Fuploads%2F941wTf8hcj4kpW6F6ohN%2Fimage.png?alt=media&#x26;token=69e15d3a-0407-4047-995a-869e0cac5cc9" alt=""><figcaption><p>Text badge</p></figcaption></figure>

### Step 3. Badge conditions

Product filter with multiple criteria:\
\+ All products: Add badge to all products\
\+ Manual: Select products manually\
\+ Conditions: Advanced filters so you can find exactly which products have the badge added

<figure><img src="https://902426503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9AqFdpSSk6XYmYvhlCSC%2Fuploads%2FhCIifjRlFXtSR4Mtvkai%2Fimage.png?alt=media&#x26;token=bc593b22-6b8e-44ff-93aa-e2233b83f1b4" alt=""><figcaption><p>All conditions</p></figcaption></figure>

<figure><img src="https://902426503-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9AqFdpSSk6XYmYvhlCSC%2Fuploads%2Fkq5XW66u0zQJftkROP2M%2Fimage.png?alt=media&#x26;token=3304f6ba-5cbf-41ae-8c5a-6361a742d85e" alt=""><figcaption><p>Custom conditions</p></figcaption></figure>


---

# 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://rimixs-organization.gitbook.io/rimix-product-badges-and-labels/getting-started/quickstart.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.
