> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://molsoft.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Limit A Product Purchases Over Time

This guide will walk you through the steps to create a purchase limit for a specific product using the MinCart app and Shopify Flow over a customer lifetime. 

### Step 1: Create a Limit in MinCart

1. **Open MinCart** and create a new limit
2. **Set the Limit Type**:
* Select **Product** as the Limit Type.
3. **Assign a Limit Name**:
* Provide a unique name to the limit for easy identification, such as "Holiday Promo Limit"
4. **Activation Dates**:
* Leave the field as is to activate the limit immediately.
5. **Active Status**:
* Ensure the **Active** checkbox is selected.

![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_19zsuo1.png)
### Step 2: Define the Audience
1. **Audience Type**:
* Choose **Customer** as the Audience Type.
2. **Target Tags**:
* Enter a tag name to be used in Shopify Flow, e.g., `Limit Reached`.
* This tag will indicate customers who have reached the limit.

![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1dt3b9o.png)
### Step 3: Target Specific Items
1. Under the **Items to Target** section:
* Select the product you want to limit.
2. **Set Limits**:
* Choose **By Quantity** and set **Maximum Product Quantity** to `0`.
3. **Quantity Limit Texts**:    *Customize the message to inform customers they have reached the maximum limit for this product. For example: *"You’ve reached the purchase limit for this item. Please contact support for further assistance."

![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1wkiu7t.png)
### Step 4: Set Up Shopify Flow

1. Open the **Shopify Flow** app and click on **Create Workflow**.
2. Select **Browse Templates**.
3. In the search bar, enter "Tag orders that include specific products."
4. Click on the template "Tag orders that include specific products."
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1wni66d.png)
5. Click **Install**.
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1x8mdwg.png)
6. Click on the second box labeled **Check If**.
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_fwwwqe.png)
    
* Under the **Name** field, enter the name of your product and click outside the box.
        
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_vwu04v.png)
7. Click on the third box and then click **Delete**.
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_ppji3o.png)
8. Click on **Then** in the second box and select **Action**.
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_8mzeps.png)
9. In the drawer that opens, enter "tag" in the search bar and choose **Add customer tags**.
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_16h4nv4.png)
10. Enter the Target Tag from the MinCart Limit example, e.g., `Limit Reached`.
    ![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1v7124k.png)
11. Click **Turn On Workflow**.

![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-flow-limit-product-mo_1oshhac.png)
### Notes
* Ensure that Shopify Flow is installed and configured properly.
* Test the setup to verify the limit is enforced as expected.
* You can adjust the Quantity Limit Text in MinCart to provide clearer instructions or contact options for customers.
