# Customer tags

> Apply a Cart Validator rule only to Shopify customers with certain tags, such as wholesale, or to everyone except them, guests included.

Every rule starts with all customers. With customer tags, a rule applies only to customers with one of your tags, or to everyone except them. A minimum order value only for wholesale customers is a typical case.

## Choosing who a rule checks

The **Customers** section is the last one on the rule's page.

<Steps>
<Step>
### Choose an option

Under **Check orders from**, choose:

| Option                                                | Who the rule checks                                                     |
| ----------------------------------------------------- | ----------------------------------------------------------------------- |
| **All customers, guests included**                    | Every buyer. This is the default.                                       |
| **Only customers with one of these tags**             | Customers with at least one of the tags you choose. Guests are skipped. |
| **All customers except those with one of these tags** | Every buyer without any of the tags you choose, guests included.        |
</Step>

<Step>
### Choose the tags

Type in **Search tags** or select **Browse**. A window lists up to 250 of your store's customer tags. Check one or more and select **Done**. Each chosen tag shows on the page, and its × removes it. Until you choose one, the section says **Choose at least one tag.**
</Step>

<Step>
### Save

Select **Save** in the save bar.
</Step>
</Steps>

If no customer has a tag yet, the section says so. Tag your customers in Shopify first, then come back.

## How tags are matched

A buyer counts as tagged when checkout knows their customer account, for example because they signed in, and Shopify confirms that the account has one of the rule's tags. The app asks for each tag exactly as it's spelled in your store. A buyer who checks out as a guest has no tags.

## Up to 25 tags

Your rules can use up to 25 different tags in all, counted over every rule that is on. In the window, **Done** stays off while more than 25 are checked, and above 25 over all your rules, saving stops with **Your rules can look at 25 different customer tags at most. Remove a few tags, then save again.**

## Your tags stay private

The [cart block](/docs/cart-validator/cart-block) doesn't show rules limited by customer tag, so neither these rules nor your tags appear in your storefront. Checkout still checks them. To try such a rule, check the tags under **Customer tags** in [Test a cart](/docs/cart-validator/test-a-cart).