> For the complete documentation index, see [llms.txt](https://docs.shoppego.my/tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shoppego.my/tutorials/en/products/purchase-limit.md).

# Purchase Limit

**Purchase limit** is a **function to limit the purchase** of a product according to variants.

{% hint style="info" %}
\*\*<mark style="color:red;">**Note**</mark>: This function is only available on the <mark style="color:red;">**Ultimate**</mark>**&#x20;plan**.
{% endhint %}

Here are the step-by-step for setting the purchase limit.

## Setup

1. Log in to the Dashboard section

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-b853fc0189b34fb1d3990f5b1f53fa71deb9d384%2FlCN7aw3FznaFFoOAyya2.jpg?alt=media)

2\. Click on the **Products**

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-db0168ba7b8152afea900280243d2f1fb71346cf%2Fe2XZ8PJ1T5LlkggTvjti.jpg?alt=media)

3\. Click **Add product** to use the new product or you can press the **Edit** button on the existing product. For this tutorial, we will use existing products.

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-caab0ef1f7895928082a2bb2579cc0587605bae8%2FcAt3ZrAvD4262lUjjnDu.jpg?alt=media)

4\. Click on the **Purchase limit** tab

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-96efc47e370a432b1cf4bc0dd07566b2edc7e0cb%2FXj6ftu9kNPMMCjEvDYpH.jpg?alt=media)

5\. Click on **Add purchase limit**

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-22d173c9cf12b4c5b30f4ba2dc15127c8cd590d2%2FUpJUMxEIn1tEeOzox61M.jpg?alt=media)

6\. In this section you need to set the purchase type limit, variant, and quantity or weight.

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-fa767a63c71a0a8cd57c2f39ee20bb326c58a164%2FXhrRRt20BxUZpkEEgK4J.jpg?alt=media)

### Penerangan parameter

<table><thead><tr><th width="337">Parameters</th><th>Use cases</th></tr></thead><tbody><tr><td><strong>Purchase type limit</strong></td><td>You can set whether you want to limit by quantity or weight on this section.</td></tr><tr><td><strong>Select variant</strong></td><td>Product variants that you want to limit purchases to customers.</td></tr><tr><td><strong>Minimum quantity/Minimum weight</strong></td><td>Minimum quantity/weight of a variant.</td></tr><tr><td><strong>Maximum quantity/Maximum weight</strong></td><td>Maximum quantity/weight of a variant.</td></tr></tbody></table>

7\. Once the setting is done press the **Save** button

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-7e3527f439856df8fbead76179f6384e739f54b0%2F6SnhZ1Kqs6C2wjTyHBP1.jpg?alt=media)

8\. In the add to cart section. If the customer enters more quantity than what they set then they cannot proceed to the checkout page because it exceeds the variant purchase quantity limit.

![](https://3359028955-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lh09fNwqqta5Vj6Wr8p%2Fuploads%2Fgit-blob-84ade8d13f30cfe13c77becf0d313dca2303497b%2Fu5OSivqmZwu0N5tBRBL3.png?alt=media)
