> ## 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.

# Shopify VIP-only purchasing for a selected collection

> Restrict a Shopify collection to signed-in VIP customers. Set a tag allowlist, choose the product scope and test member, non-member and guest checkout.

Your member-exclusive collection should only be purchasable by customers tagged VIP. Add a customer restriction and require an account sign-in.

## When to use this

Use this for member-only purchase eligibility. For a larger member allowance, use customer-tag quantity rules instead.

## Before you begin

Prepare a member collection and customers with and without VIP. Make sure both can sign in on the storefront.

## Settings

Open the app home page → **Customer restriction rules** → create a rule.

| Setting | Example value |
| - | - |
| Rule name | VIP-exclusive collection |
| Customer tag | VIP, then click Add tag |
| Tag restriction mode | Customers without these tags cannot purchase |
| Require a customer account sign-in | Checked |
| Applicable items | Collections: member-exclusive collection |
| Timing | Checkout only |

## Steps

1. Open **Apps** → **订单限购** in Shopify. From the app home page, open **客户限制规则** and click **创建规则**.
2. Add the example tag to the customer profile in Shopify. In the rule, enter the same tag, click **添加标签**, and check that it appears before choosing the tag condition.
3. Enter the rule name and thresholds from the settings table. The name is for admin use only.
4. Under **规则应用于**, select the scope in the table. For selected products or collections, click **选择产品** or **选择产品系列** and confirm the selected names appear.
5. Check the direction under **标签限制方式** against the table and select **需要客户账户登录**.
6. Set the timing from the table. Under **保存后的状态**, select **已启用** and click **创建并启用**. When editing an existing rule, click **保存并启用**.
7. Return to **客户限制** and turn on **开启客户限制规则**. Wait for saving to complete and check for errors.
8. Reopen the rule to confirm its thresholds, scope, customer conditions and active state were saved. Run the storefront tests below.

## Test your configuration

Each result describes this recipe only. Keep the product scope consistent and verify checkout; other active rules may still block the cart.

| Test | Expected result for this scenario |
| - | - |
| Signed-in VIP buys an exclusive product | Passes this eligibility rule |
| Signed-in customer without VIP buys an exclusive product | Blocked |
| Guest buys an exclusive product | Sign-in required |
| Regular customer buys only products outside the collection | Outside this rule’s scope |

> [!WARNING]
>
> This restricts purchasing. It does not hide product pages, prices or collections.

You can also add a [VIP quantity allowance](https://order-limit.xrtotech.com/en/scenarios/vip-quantity.md).

## If results differ

If VIPs are blocked, check the restriction direction. Choose the option blocking customers without the tags, and add VIP to both the rule and customer profile.

Use [troubleshooting](https://order-limit.xrtotech.com/en/troubleshooting/rules-not-working.md) to investigate. Complete the [launch checklist](https://order-limit.xrtotech.com/en/getting-started/launch-checklist.md) before rolling out.


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