> ## Documentation Index
> Fetch the complete documentation index at: https://docs.checkoutrules.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Understand what condition sets are and how to use them.

<iframe className="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/3XS6zeR9ySk?si=eWhh2JukZ__-3jV9" title="BeSure Condition Sets Introduction" style={{ border: 0 }} allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />

## What is a condition set?

A **condition set** is a group of predefined conditions that can be used to control when a checkout rule should run. These conditions are available in the [When](/guides/en/get-started/concepts#conditions-the-“when”) selector in the rule setup.

Each condition set lists how many conditions are available within it compared to the total. For example, **Condition set 1** `22 / 143` means there are 22 conditions available in Condition set 1 out of 143 total conditions. Here, 143 is the total number of conditions available in all condition sets.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/total-availibility-condition-set-example.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=46363c368cff63775e15b06ead1af16a" alt="Condition Sets Example" width="959" height="251" data-path="images/essentials/condition-sets/introduction/total-availibility-condition-set-example.webp" />

<Info>
  You can hover over the condition set name to see all the conditions available
  in that condition set. You can also search for a condition using the search
  bar to find a specific condition.
</Info>

Conditions from a selected **condition set** appear in the [When](/guides/en/get-started/concepts#conditions-the-“when”) selector below inside the rule [block](/guides/en/get-started/concepts#block). You can switch between condition sets and then open the condition selector in the "When" selector below, to see the conditions available in the selected condition set.

> For example, here we are using the default **Condition set 1**, which has 22 conditions available, setting the rule to run if the **Order total** is greater than or equal to **\$50** and the **Shipping country** is the **United States**, since these conditions are available in Condition set 1.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/condition-sets-example.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=8fe3ea345b48724b117337550ecb4dc5" alt="Condition Sets Example" width="963" height="731" data-path="images/essentials/condition-sets/introduction/condition-sets-example.webp" />

## Why condition sets exist

Not all conditions can be placed in the same rule due to size limits, so we provide different condition sets. Each set contains a portion of the total available conditions. You can create multiple rules with different condition sets to control your customers checkout experience.

## How to use condition sets

### Choose condition set

In the Condition Sets section, click on the desired condition set. If you are unsure which condition set to choose, you can search for a condition using the search bar or hover over the condition set name to see all the conditions available in that condition set.

> For example, here we selected *Condition set 3*.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/select-set-condition.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=612242e9b16ab3f9a7f1da3fd188d87a" alt="Condition Set Selection" width="976" height="265" data-path="images/essentials/condition-sets/introduction/select-set-condition.webp" />

#### Search for a Condition (Optional)

You can click on the search in the top right corner of the condition sets section.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/search-condition-set.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=083bab175489547bd7d148ff925b510d" alt="Search Condition Set" width="977" height="261" data-path="images/essentials/condition-sets/introduction/search-condition-set.webp" />

Then, type the condition you want into the search bar and click the search button.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/type-in-search-condition.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=53c840944f639617391d07ab2f2d89ce" alt="Type In Search Condition" width="740" height="496" data-path="images/essentials/condition-sets/introduction/type-in-search-condition.webp" />

Then, the matching condition sets will be displayed. Click on the condition set that contains your desired condition to switch to it.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/sorted-condition-sets.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=8a1d8a39d47e3e8a41064da9c761179a" alt="Sorted Condition Sets" width="742" height="487" data-path="images/essentials/condition-sets/introduction/sorted-condition-sets.webp" />

### Select conditions

Once you have selected the condition set, choose the condition(s) you want to apply. You can add multiple conditions within the same set to create powerful rules.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/select-condition.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=4f39f7e792c0a0f7e2419ac21d0f761c" alt="Select Condition" width="963" height="432" data-path="images/essentials/condition-sets/introduction/select-condition.webp" />

### Example usage

For example, here we are using *Condition set 4*, setting the rule to hide shipping methods if ***Any product discount amount*** is *less than or equal* to *300* or the ***Order subtotal amount*** is *less than or equal* to *1500*. Then, hide all shipping methods.

<img src="https://mintcdn.com/storespark/ofsiv6B2ZU5fNLt1/images/essentials/condition-sets/introduction/example-usage.webp?fit=max&auto=format&n=ofsiv6B2ZU5fNLt1&q=85&s=118e6ad6c2eb2b43eab16cf8c1a22122" alt="Example Usage" width="977" height="794" data-path="images/essentials/condition-sets/introduction/example-usage.webp" />

## Tips for using condition sets

* Start by identifying the main condition that triggers your rule.
* Check different sets to see where your needed condition is located.
* Use the search function to find the condition set more easily.

By using condition sets effectively, you can precisely control **when** your checkout rules are executed, improving your store’s flexibility and checkout experience.
