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

# Adding a Limit to Variants Across Multiple Products

**Setting Limits for Multiple Variants in MinCart**

Managing variant limits can be challenging when you need to apply a restriction across multiple variants from different products. By default, MinCart’s variant limit applies individually to each targeted variant. However, there is a workaround that allows you to target multiple variants as a group, provided your product naming convention supports it.

### Understanding Variant Limits

When selecting a collection to target the variants inside, you will receive a notification stating: **"Your limit is potentially targeting multiple variants."** This means the limit applies separately to each variant within the targeted collection. This method allows you to quickly set up limits for multiple variants simultaneously.

Currently, MinCart does not support targeting multiple variants as a whole within a collection. However, you can achieve a similar outcome by using **Whole Cart Limits** with a naming convention-based approach.

### Workaround: Targeting Multiple Variants as a Whole

If your product names or variant titles follow a structured format (e.g., including weight, size, or other distinguishing attributes), you can leverage Whole Cart Limits to enforce a restriction across all matching variants.

#### Example: Limiting Tea Variants by Weight

Suppose you sell different tea varieties with a **100g** variant option across multiple products. You want to ensure that customers can only purchase one **100g** tea canister per order.

#### Steps to Set Up a Whole Cart Limit:

1. Navigate to **Whole Cart Limits** in MinCart.
    
2. Click **Create New Whole Cart Limit** and name it something relevant, such as **"100g Limit."**
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1gj04n1.png)
3. Limit Audience is Everyone
4. Tags exclusion we will leave blank
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1ok47gb.png)
    
5. Under **Set Limits**, select **By Resource**.
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_ythuib.png)
    
6. In the **Resource Type** dropdown, choose **Product**.
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_g6d0iv.png)
    
7. Click on the **Resource Type** button to define the filtering criteria.
    
8. In the first selector, choose **Variant Title**.
    
9. In the second selector, select **Contains**.
    
10. In the third field, enter **100** (assuming "100g" appears in your variant titles).
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_6pb0g1.png)
    
11. Close the popup by clicking the **[X]** in the top right corner.
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_zyfxn.png)
    
12. Under **Maximum Number of Resource in Cart**, enter **1**.
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_wqz86.png)
    
13. Scroll down to **Advanced Settings** and check **Count Resource Quantity**.
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_81kfq.png)
    
14. In **Resource Limits Texts**, add a message to clarify the restriction, such as: *"Only (1) purchase of 100g tea canisters per order."*
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_14lkmh2.png)
    
15. Click **Save** to apply the limit.
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-matcha-and-more-inc-c_5taz97.png)
![](https://storage.crisp.chat/users/helpdesk/website/4dd3899948d8e000/monosnap-matcha-and-more-inc-c_bwboet.png)

### Key Takeaways

* MinCart applies limits to variants individually unless configured otherwise.
    
* Whole Cart Limits allow for broader targeting based on naming conventions.
    
* Using **Variant Title Contains** helps group similar variants under one restriction.
    
* This method ensures customers cannot exceed the specified purchase limit across multiple products containing the defined keyword.

By implementing this approach, you can effectively enforce purchase restrictions on multiple variants without relying on direct multi-variant targeting. If you require further customization or assistance, reach out to MinCart support for guidance!