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

# How Shopify customer tags and sign-in restrictions work

> Choose customer-tag allowlists, blocklists or sign-in-only rules. Understand any-tag matching and product scope without confusing eligibility with quantity.

Customer restrictions control who can buy applicable products. Unlike customer-tag quantity rules, these rules determine eligibility rather than the allowed number of units.

## Video tutorial

[How to configure customer limit rules](https://www.youtube.com/embed/k4kNUivXmW8)

[Watch the customer limits configuration video on YouTube](https://youtu.be/k4kNUivXmW8)

## Choose the tag direction

| Setting | Effect |
| - | - |
| **Customers with these tags cannot purchase** | Blocklist: a match with any listed tag restricts the customer |
| **Customers without these tags cannot purchase** | Allowlist: the customer needs at least one listed tag |

Both options work off the same tags, so re-read the on-page note after selecting. With `VIP` added:

* **Customers with these tags cannot purchase** blocks VIP customers and leaves everyone else buying.
* **Customers without these tags cannot purchase** allows only VIP customers and blocks everyone else.

Do not pick the opposite option. Multiple tags use “any”, not “all”. Listing `VIP` and `Wholesale` does not require both.

## Require sign-in

Enable **Require a customer account sign-in** to make guests sign in before purchasing applicable products. This helps identify tags instead of relying on an unidentified visitor.

For sign-in only, leave the tag list empty and enable the account requirement.

> [!NOTE]
>
> All buyers of the applicable products must sign in when this requirement is enabled, even customers who are not blocked by tags.

## Create a customer rule

**1. Open customer restriction rules**

On the app home page, find the **Customer restriction rules** (**客户限制规则**) card, click **Manage rules** (**管理规则**), then create a rule.

**2. Add customer tags**

Type a tag under **Customer tags** (**客户标签**) and click **Add tag** (**添加标签**). Skip this step for a sign-in-only rule.

**3. Choose the tag mode and sign-in requirement**

Select **Customers with these tags cannot purchase** (**有这些标签的客户不能购买**) or **Customers without these tags cannot purchase** (**没有这些标签的客户不能购买**), then tick **Require a customer account sign-in** (**需要客户账户登录**) if guests must sign in.

**4. Choose the applicable items**

Under **Applicable items** (**符合条件的物品**), set **Rule applies to** (**规则应用于**) to **All products** (**所有产品**), **Specific products** (**指定产品**) or **Collections** (**产品系列**).

**5. Set the timing and save**

Choose when customers see the rule, select **Active** (**已启用**) under **Rule status** (**规则状态**), and click **Create and activate** (**创建并启用**; **Save and activate** / **保存并启用** when editing).

**6. Turn the feature on**

Return to **Customer limits** (**客户限制**) and turn on **Enable customer restriction rules** (**开启客户限制规则**) until it shows **已开启**.

## Purchasing is different from browsing

These rules do not automatically hide product pages, prices or collections. They check buying eligibility and are not page-access control.

Try [member exclusives](https://order-limit.xrtotech.com/en/scenarios/members-only.md) or [blocking tagged customers](https://order-limit.xrtotech.com/en/scenarios/block-customers.md).

## Require sign-in without a tag

Leave tags empty and enable the sign-in requirement. Follow [require sign-in](https://order-limit.xrtotech.com/en/scenarios/login-required.md) for setup and identity tests.

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.
