> 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/kor-order-limit-quantity-1/apply-limits-to-collections/limit-no.-of-products.md).

# 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="/files/ICHKfvXnyIx4OuHn1Nde" 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="/files/6InTRqffL9m7YuVBKaEE" 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.
