> For the complete documentation index, see [llms.txt](https://appondemands.gitbook.io/order-limit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://appondemands.gitbook.io/order-limit/order-limit/order-limit-faq.md).

# Order Limit FAQ

### **1. About Order Limits(Min-Max)**

Order Limit allows you to define the minimum and maximum product quantities for all products in your Shopify Store.

Define Constraints based on

* Order amounts,
* Order Weight
* Order Quantities.

Limits can be set on:

* The total dollar value in the cart
* Total number of items in the cart
* Number of products in multiple of X in cart
* Number of individual items
* Number of items for a specific product or variants
* Total weight of the cart
* Limits based on the product tag
* Limits based on the collection etc...

### **2. How to install the Order Limits(Min-Max) app?**

Copy the following code snippet to your clipboard and paste it into your "theme.liquid" file above the body tag if this snippet is not already added then.

{% include "aodLimitValidator" %}

the code may look something like this:

{% include "aodLimitValidator" %}

\</body>

### **3. How to set the order total amount limit?**

To set the order total amount limit please follow the below step.

* Go to the Global order limit section.
* Please find the “Cart subtotal limits (Optional)” option in the Global order limit section.
* Set min-max value according to your requirements in the ‘Cart subtotal limits (Optional)”.

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FGsZXxFysI4ApjdZbR68T%2F0?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FdtSNf5adYQTdwgwPAEVu%2F1?alt=media)

### **4. How to set order(cart) total min-max quantity limits?**

To set the order(cart) total min-max quantity limits please follow the below step.

* Go to the Global order limit section
* In the global order limit section please find the “Cart quantity limits (Optional)” option.
* Set min-max quantity according to your requirements in the ‘Cart quantity limits (Optional)”.

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2Foyt3UV4tEmw2opEkmoVl%2F2?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FFPGhlt66GOIySqr2Qyxo%2F3?alt=media)

### **5. How to set order(cart) total weight limits?**

To set the order(cart) total min-max quantity limits please follow the below step.

* Go to the Global order limit section
* Please find the “Cart weight limits (Optional)” option in the Global order limit section.
* Set min-max weight limits in grams according to your requirements in the ‘Cart weight limits (Optional)”.

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2F157lWZnqB7fbQNjzPpKb%2F4?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2Fjm8Mr2Atz4IZDLqpdVF7%2F5?alt=media)

### **6. How to set the same min-max quantity limit for all products?**

To set the order(cart) total min-max same quantity limits for all products please follow the below step.

* Go to the Global order limit section.
* Please find the “Global product limits (Optional)” option in the Global order limit section.
* Set the min, max, and step(multiple of) items quantities per product according to your requirements in the "Global product limits (Optional)”.

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FEPz8C7zRphUyKOEdxeBe%2F6?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2Fyefynr5TlvvsQP54TZ9S%2F7?alt=media)

### **7 How to set a variant base limit?**

Variant base limit Ex. If you have product X and its variant a, b and c and you set a minimum quantity limit of 5 for product X then customers have to purchase 5 units of each variant a,b and c.

You also set a min-max limit for any individual variant from a,b and c.

To set the variant base please follow the below step.

* Go to the Variant base limit section.
* In the Variant base limit section set the min, max, and step(multiple of) quantities for a product according to your requirements.

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FzCtouG12bxotKAR7erTq%2F8?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2F4YRDjaX8OgYY9oKqeAc4%2F9?alt=media)

### **8 how to set product base min-max limit?**

Product base limit Ex. If you have product X and its variant a.b.and c and you set a minimum quantity limit of 5 for product X then the customer can purchase a minimum of 5 products in combination of a,b and c.

To set the Product base limit please follow the below step.

* Go to the Product base limit section.
* In the Product base limit section set the min, max, and step(multiple of) quantities for a product according to your requirements.

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FuHDGlz9MvIHw0s79FBs3%2F10?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FNpPwmS4YTb7gjRo4nUB0%2F11?alt=media)

### **9 How to set product tag base limit?**

In a product tag-based limit you can set a limit you can set limit based on the product tag.

To set the Product tag base limit please follow the below step.

* Go to the Product tag base limit section.
* In the Product tag base limit section set the min, max, and step(multiple of) quantities for a product according to your requirements

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2F7XMo1VVUGq7qlK1GvkPW%2F12?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FfkTOydShevmhBmCqnXeA%2F13?alt=media)

### **10** **Can we set the Collection base limit?**

Yes, You are able to set the collection base limit.

To set the collection base limit please follow the below step.

* Go to the Collection base limit section.
* In the collection-based limit section set the min, max, and quantities for a product according to your requirements

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2FncdWq4LjTTyKDRxBOYSf%2F14?alt=media)

![](https://1848523073-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMF9omNV0PQfSCF7X3Mwz%2Fuploads%2F0Ydi1PBBScr2iEvOo8I3%2F15?alt=media)

## 11  Can we change the pop-up size by adding custom CSS?

Yes, you can change the pop-up font size by adding the CSS below to the theme.liquid file.

```css
<style>
    .PrdMsgContainer{
      font-size: 15px;
    }
    .swal2-title{
      font-size: 20px;
    }
    .wal2-confirm{
      font-size: 17px;
    }
  </style>
```
