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

# Restricting Cart to a Specific Product

| Must be on the Gatekeeper plan

### Restricting Cart to a Specific Product

This guide explains how to prevent customers from adding any other items when a specific product is in their cart. In this example, we use a "Free Gift" product.

### Steps to Complete:

1. **Create a Collection** – Add all products to the new collection, without the special gift product. 
2. **Set Up Two Limits:**
    
* **Limit 1:** Define a rule limit that detects when a "Free Gift" product is in cart. 
* **Limit 2:** Create a rule that blocks all other products when the **"Free Gift"** is in the cart.

These settings ensure that customers can only check out with the "Free Gift" and no additional items.

### Create a Collection:

### Steps to Create a Collection in Shopify

#### 1. Navigate to Collections In Your Shopify Admin
* In the left-hand menu, click on **Products** > **Collections**.
* Click **Create collection**.

#### 2. Name Your Collection
* Enter a **name** for your collection (e.g., "Non Free Gift Products").

#### 3. Set the Collection Rules
* Set a collection condition like "Tag does not include ‘free-gift’" (or any rule that would target all other products than the free gift).
* Make sure your free gift product is tagged.
* Make sure the collection is available on the online store sales channel.

#### 4. Save the Collection


### Creating a Limit for the Free Gift Product

Follow these steps to create a restriction for the "Free Gift" product:

1. **Create a New Limit to Detect When a "Free Gift" is in cart**
* Name: *Example - "Rule: Free gift is in cart"* 
* **Limit Type:** Product
* **Activation Dates:** Decide when the limit should be active
* **Active:** *Uncheck* (this limit will be used as a rule so we can keep it inactive so that it doesn't affect the cart)
    
![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/screenshot-2026-04-06-at-94943_1t8521s.png)
* **Audience Type:** Everyone (or specify a target audience if needed) 
* **Tag Exclusion:** Leave blank unless excluding specific customer tags

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1csxhx0.png)
2. **Define the Target and Restrictions**
* **Items to Target:** *Select* the Free Gift product
* **Set Limits:**
    * **By Quantity:** Minimum product quantity = 1
    * **Force Limit:** Checked
    ![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/screenshot-2026-04-06-at-95021_w50kfp.png)
* **Quantity Limits Exclusions:** Not required
    ![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_16n1w6w.png)
* **Quantity Limits Texts:** Enter a custom warning message

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1f97rhy.png)
3. **Activation Rules** 
* Not required

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1lb5wrp.png)
4. **Save the Limit**


This ensures that customers can only add one Free Gift to their cart, without enabling it to block other products yet.

### Create the Main Limit to Block Other Products

This step ensures that when the *Free Gift* product is in the cart, no other items can be added.

#### Create a New Limit to Block Other Products

1. **General Settings**
* **Limit Type:** Collection
* **Limit Name:** *Block Cart when Free Gift is in Cart* 
* **Activation Dates:** Decide when the limit should be active
* **Active:** ✔️ (Check this box to activate the limit)
    ![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_dz1740.png)
* **Audience Type:** Everyone (or specify a target audience if needed) 
* **Tag Exclusion:** Leave blank unless excluding specific customer tags

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1jqmtuu.png)
2. **Define Target and Restrictions**
* **Items to Target:** Select the "Non Free Gift Products" collection (created in Step 1)
* **Set Limits:**
    * **By Quantity:** Set *Maximum Collection Quantity* to **0** (prevents adding other products)
    * **Force Limit:** Leave *unchecked*

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_8udpxs.png)
3. **Additional Settings**
* **Quantity Limits Exclusions:** Not required
    ![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_1k29nkw.png)
* **Quantity Limits Texts:** Enter a custom warning message

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_ht3u0o.png)
4. **Set Activation Rule**
* **Add a rule and select the type "Limit"**
* **Limit:** Select the *"Rule: Free gift is in cart" limit* created in Step 1
* **Condition:** *Is Respected*

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-molsoft-shawn-dev-sto_rhioj.png)
5. **Save the Limit**

## Result

![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-your-shopping-cart-mo_q9mujz.png)
![](https://storage.crisp.chat/users/helpdesk/website/-/4/d/d/3/4dd3899948d8e000/monosnap-your-shopping-cart-mo_1ev2o74.png)