> 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/limit-product-weight.md).

# Limit Product Weight

Merchants can apply min and max limits based on product weight. Customers can purchase and add products to their shopping cart according to the product weight.

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

Go to **Limit Product Weight**.

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

Select the **Weight Unit** from the dropdown list. Add values to **Min Weight** & **Max Weight** for products and save.

<figure><img src="/files/jDgKNZsRAooncAThiDKP" alt="Applying limits to product weights"><figcaption></figcaption></figure>

For e.g., you've set the following weight limits.

| Weight Unit | Min Weight | Max Weight |
| :---------: | :--------: | :--------: |
|     kgs     |      1     |      4     |

According to the above rule, customers can purchase products whose weight is a **minimum of 1 kg** & **maximum of 4 kgs**.

You can set custom alert messages to notify customers when the weight of the purchased products is not in line with the set limits.

<figure><img src="/files/ce7S8it5vsR2zDY6W2pV" alt="Alert messages for weight limits"><figcaption></figcaption></figure>

{% hint style="info" %}
***{%-min\_weight-%}** = minimum weight of product*

***{%-max\_weight-%}** = maximum weight of product*
{% endhint %}

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://magecomp.gitbook.io/shopify/apps/kor-order-limit-quantity-1/limit-product-weight.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
