> For the complete documentation index, see [llms.txt](https://magecomp.gitbook.io/shopify/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://magecomp.gitbook.io/shopify/apps/vox-limit-orders-per-day/customer-tag-limit.md).

# Customer Tag Limit

The **Customer Tag Limit** feature allows merchants to restrict purchases of selected products for customers who belong to specific customer tags, based on either **total quantity** or **total order amount**. This is useful for controlling bulk purchases, setting wholesale limits, or managing exclusive product access for specific customer groups.

#### Create Customer Tag Limit

Use the following settings to configure purchase limits based on customer tags.

#### 1. Activate Customer Tag

* **Activate Customer Tag**\
  Enable this option to apply quantity limits only to customers who have specific tags assigned to their customer profile.
* Once enabled, the limit will be enforced **only for tagged customers**. Other customers will not be affected.

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

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

#### 2. Select Products

* **Select Products**\
  Choose one or multiple products to which the customer tag limit should apply.
* The defined limit will be calculated as the **total quantity across all selected products**, not per individual product.

<figure><img src="/files/7OKY4EnktlXsTZasBv9l" alt=""><figcaption></figcaption></figure>

#### 3. Quantity Limit

* **Limit**\
  Set the maximum total quantity that a customer with the selected tag(s) is allowed to purchase.
* If the customer tries to add more than the allowed quantity (across the selected products), the system will prevent checkout and display a restriction message.

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

#### Example

* Customer Tag: Wholesale
* Selected Products: Product A, Product B
* Quantity Limit: `5`

If a customer with the **Wholesale** tag adds:

* 3 units of Product A
* 2 units of Product B

The order is allowed.\
If they attempt to add **more than 5 units in total**, the restriction will apply.

#### 4. Amount Limit

**Limit**\
Set the maximum total order amount that a customer with the selected tag(s) is allowed to purchase.

If the customer tries to exceed the allowed amount (across the selected products), the system will prevent checkout and display a restriction message.

#### Example

**Customer Tag:** Wholesale\
**Selected Products:** Product A, Product B\
**Amount Limit:** $500

If a customer with the Wholesale tag adds:

* Product A is worth $300
* Product B is worth $200

The order is allowed.

If they attempt to exceed a total of $500, the restriction will apply.

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

Once configured, the **Customer Tag Limit** will automatically apply during add-to-cart and checkout, ensuring controlled purchasing behavior for tagged customers.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://magecomp.gitbook.io/shopify/apps/vox-limit-orders-per-day/customer-tag-limit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
