Articles on: Pareto - Order Limit Quantity

Enable the app

How to make the app work on your storefront.

On the Dashboard app, if not embedded, a warning banner will display. Click "Activate Now" to redirect to theme editor.



Turn on "**Pareto Limit Purchase**" app and don't forget save your change.



Add code in Collection Page
Go to theme -> "Edit code"


Add code the collection.liquid or card-product.liquid, at position you want.

```
{% assign result_collection = "" %}

{% for collection in card_product.collections %}

{% if forloop.first == false %}

{% assign result_collection = result_collection | append: "," %}

{% endif %}

{% assign result_collection = result_collection | append: collection.id %}

{% endfor %}

<div class="omgLimit-collection"

data-variant-id="{{ card_product.variants[0].id }}"

data-variant-price="{{ card_product.selected_or_first_available_variant.price }}"

data-variant-weight="{{ card_product.selected_or_first_available_variant.weight }}"

data-variant-quantity="{{ cart | item_count_for_variant: variant.id }}"

data-product-id="{{ card_product.id }}"

data-colections="{{ result_collection }}">

</div>
```



Add Block in Checkout Page
Go to theme -> customize -> checkout page


Add the "**Pareto - Payment Limit**" block to the position you want

Updated on: 24/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!