# Label groups condition

**Label group condition** helps you manage where the label group can be displayed in the front store. There are **two options** for you to set up condition for the label group.&#x20;

**1. Keep individual label condition:** This condition allows you to **display label groups based on the individual rules of each label within the group**. Depending on the product and the conditions set for each individual label, the label group will display differently.<br>

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

**Example:**

* Label A is set up for products X and Y.
* Label B is set up for product C.
* A label group (containing Label A and Label B) is assigned to collection Z, which includes products X, T, and C.

**With the above condition applied:**

* Product X will display Label A (since it matches Label A’s condition).
* Product C will display Label B (as it meets Label B’s condition).
* Product T does not meet the conditions for either Label A or Label B, **but since it’s part of collection Z (which has the label group assigned)**, it will still show the label group (which includes both Label A and Label B).

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

&#x20;

**2. Set a custom group condition:** This setting will **override all individual label rules and apply a new condition for the label group.** The label group will show for products/collections you configure in this setting: <br>

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

***Choose “any condition” if you have more than 1 condition:***<br>

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

This is the result in the front store when using this condition:&#x20;

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

{% hint style="success" %}
**Friendly reminder!**

If you do encounter any difficulty while proceeding with these steps, don’t show any hesitation to contact us promptly via the email address [support@samita.io](https://help.samita.io/support@samita.io)

We are always willing to help with all sincerity!
{% 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://docs.samita.io/label-groups/label-groups-condition.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.
