> 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/settings/set-alert-messages-for-limits.md).

# Set alert messages for limits

Let's see how to set alert messages that are displayed when your customers try to purchase product quantities that are outside the defined min and max limits.

<figure><img src="/files/wUMiJ6ewaclrvtYQkL1q" alt=""><figcaption></figcaption></figure>

## Alert Message for Min Limit

You can customize the message for lower limits to inform your customers to fulfill the minimum purchase limit.

Suppose you have set 10make the alert message as "***You can buy min {%-limit-%} quantities of {%-product\_title-%}***".

{% hint style="info" %}
{%-limit-%} = [***min limit***](#user-content-fn-1)[^1]

{%-product\_title-%} = [***product name***](#user-content-fn-2)[^2]
{% endhint %}

When a customer tries to enter a quantity below the **min limit of 10**, the system will not allow them to do so and will display the following alert message to the customer.

<figure><img src="/files/DEu9Dg47T5EyJpXp7xMz" alt=""><figcaption></figcaption></figure>

## Alert Message for Max Limit

This field allows you to customize the alert message for upper limits, which informs your customers to purchase products in a quantity below or equal to the set upper limit.

Suppose you have set 20 as the max purchase limit on black ties in the Men's Ties collection. For it,  you can compose an alert message like "***You can buy max {%-limit-%} quantities of {%-product\_title-%}***".

{% hint style="info" %}
{%-limit-%} = [***max limit***](#user-content-fn-3)[^3]

{%-product\_title-%} = [***product name***](#user-content-fn-2)[^2]
{% endhint %}

When a customer tries to enter a quantity above the **max limit of 20**, the system won't let them. Therefore, it will display the following dialog box with the customized message.

<figure><img src="/files/2wFAiClTTPoJQ7EAAC3Y" alt=""><figcaption></figcaption></figure>

## **Alert Message for Multiply Qty**&#x20;

Here in this field, you can customize the **Alert Message for Multiply Qty,** informing your customers to purchase products falling in the multiple ranges of the digit set by you.

Suppose you have set the following limits on the **BRUTON Men Sport Shoes** from the **Footwear** collection.&#x20;

| Min Limit | Max Limit | Multiply Qty |
| :-------: | :-------: | :----------: |
|     5     |     10    |       5      |

You can configure the alert message like "***You can buy {%-product\_title-%} in multiples of {%-limit-%} ({%-multiply\_sequence-%}) only***."&#x20;

When any customer tries to enter the quantity number, which is not a multiple of 5, the system won't allow them to do so because you've set the **Multiply Qty** to 5. Therefore, it will display the following dialog box to the customer.

<figure><img src="/files/9TYqk0mjVbmYz9Klo42X" alt=""><figcaption></figcaption></figure>

In simple words, your customer will be able to buy products in quantity number that falls under the multiples of 5.

{% hint style="info" %}
***Multiples of 5** = 5, 10, 15, 20, 25, ...*
{% endhint %}

Your customer will not be able to exceed the max limit of 10 even if the number of quantities is a multiple of 5.

[^1]: It denotes the min limit that you've set.

[^2]: It denotes the name of the product.

[^3]: It denotes the max limit that you've set.
