# Select products to show bagdes or labels

## Select products to show badges or labels

1. &#x20;From the app admin page, click **Badges and Labels** > open the badge or label you want to edit
2. Click the **Display** icon on the left > Set up a condition to select products.&#x20;
3. If you set multiple conditions, consider selecting **Any condition** or **All conditions**
4. Click **Save** to update the changes
5. Go to the front store to check the result

For example, setting up a label to show on some specific products only: <br>

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

> Note: - The data entered in the condition field is case-sensitive.\
> If the product tag is "Dress", the condition with product tag "dress" will not work.

## Some examples

#### Apply badge/label to all products

1. &#x20;From the app admin page, click **Badges and Labels** > open the badge or label you want to edit
2. Click the **Display products**&#x20;
3. In the dropdown, select **All products**&#x20;
4. Click **Save** to update the changes
5. Go to the front store to check the result

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

## Apply badge/label to selected products

1. &#x20;Open the app > click **Badges and Labels** > open the badge or label you want to edit
2. Click **Display products**&#x20;
3. In the condition dropdown, select **Select Products – is equal to –**
4. Then click **select Items**> tick on the checkbox of the products you want > **Save**&#x20;
5. If you want to remove the selected products, untick the checkbox of the products or click on the (**x**) icon next to the product ID&#x20;
6. Click **Save** to update the changes
7. Go to the front store to check the result

Please see the screenshot below for reference:&#x20;

<figure><img src="/files/5BA07qBltOkzJGR9yW4V" alt=""><figcaption></figcaption></figure>

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

## Apply badge/label to selected collections

1. &#x20;From the app admin page, click **Badges and Labels** > open the badge or label you want to edit
2. Click **Display products**&#x20;
3. In the dropdown, select **Collections** > **is equal to**&#x20;
4. Click **Select Items**> tick on the checkbox of the collection you want &#x20;
5. If want to remove the selected products, untick the checkbox of the products or click on the (**x**) icon next to the product ID&#x20;
6. Click **Save** to update the changes
7. Go to the front store to check the result

&#x20;

<figure><img src="/files/8h3JtM1JTwF2ngK0wQAD" alt=""><figcaption></figcaption></figure>

## Apply badge/label to products with a specific tag

The example case is that you want to display the label Big sale on the products with the tag “***big sale***“. Please follow the steps below to set it up.&#x20;

1. &#x20;From the app admin page, click **Badges and Labels** > open the badge or label you want to edit
2. Click **Display products**&#x20;
3. In the dropdown, select **Product tag** > **is equal to** > enter the text ***bigsale*** on the field after&#x20;
4. Click **Save** to update the changes
5. Go to the front store to check the result

<figure><img src="/files/PdnrUpKyFWzedxW4vvi2" alt=""><figcaption></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://docs.samita.io/badges-and-labels/select-products-to-show-bagdes-or-labels.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.
