# Limit No. of Products

To apply min & max quantity limits to a number of products under collection, follow the following procedure.

<mark style="color:blue;">**Step #1**</mark>

Go to **Collections** <mark style="color:blue;">➤</mark> **Limit No. of Product** <mark style="color:blue;">➤</mark> **Add Limit**

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Fv47VYa7U67PGsa1FoNvf%2Fimage.png?alt=media&#x26;token=4c79543f-607b-4942-9874-d46dc45693b7" alt=""><figcaption></figcaption></figure>

#### <mark style="color:blue;">Step #2</mark>

You will be redirected to the **Collections** section of your Shopify store backend.

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2Fv2EnHnAuPGTFKiEFT9Cf%2Fapply%20limits%20on%20collection%20no.of%20products.png?alt=media&#x26;token=ffc2d13d-6150-41f4-9e14-6c9bed0d0d68" alt="List of collections"><figcaption><p>Click to Zoom-in</p></figcaption></figure>

Select the collection that you want to set the limits on and then add the limits in their respective fields.

{% hint style="info" %}
*Unlike the previous option, **Limit Qty On Product**, your customers would be able to buy ties randomly according to the applied limits rule, **regardless of product variants**.*
{% endhint %}

Suppose you have 5 types of ties in the **Men's Ties** collection - yellow, black, blue, silver, and red. You've set the following limits for that collection.

<table><thead><tr><th width="225" align="center">Collection Title</th><th align="center">Min Limit</th><th align="center">Max Limit</th></tr></thead><tbody><tr><td align="center">Men's Ties</td><td align="center">3</td><td align="center">6</td></tr></tbody></table>

Now, if any customer wants to buy any product from the **Men's Ties** collection, they can buy **ANY** min 2 or max 5 products from that collection.

<mark style="color:purple;">**Case #1**</mark>

If a customer wants to buy only **1 blue tie**, the purchase will be restricted because the min limit = **3**.

<mark style="color:purple;">**Case #2**</mark>

If a customer wants to buy 1 black tie **AND** 3 red ties.

The customer can complete the purchase as the number of products purchased by him is within the limit range.&#x20;

<mark style="color:purple;">**Case #3**</mark>

If a customer wants to buy 2 yellow ties **AND** 5 black ties.

Then, it will be restricted as the total number of products becomes 7, which has exceeded the max purchase limit of 6.
