# Enable app embed

### 1. Enable app embed

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

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FaS4ATdfvLWhmQkzV7EY2%2Fimage.png?alt=media&#x26;token=6a872cab-ad58-4f64-a6ee-9144e200f5fb" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2F6N439sfMl8PUtDN4vTvv%2Fimage.png?alt=media&#x26;token=25f6c032-4ffd-458c-b336-392e2d797781" alt=""><figcaption></figcaption></figure>

### 2. Add code in Collection Page

* Go to theme -> "Edit code"

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FCOqvrfVFAnewK5hI8pPv%2Fimage.png?alt=media&#x26;token=1eb62170-d1e1-4e51-a4d6-260ed85057bc" alt=""><figcaption></figcaption></figure>

* 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>
```

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FRbbSM23tdZu21gd5chLl%2Fimage.png?alt=media&#x26;token=071cded4-b9d5-4300-8fe9-c059c1e3b39c" alt=""><figcaption></figcaption></figure>

### 3. Add Block in Checkout Page

* Go to theme -> customize -> checkout page&#x20;

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2FSCVxEho9SVOpJyH7gxAd%2Fimage.png?alt=media&#x26;token=14143e34-f39e-4c19-9e4e-156b0a15f138" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3709461896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEk1svP5esd80prqdegiH%2Fuploads%2Fxt7oXmtDsxsGnSnAhC0U%2Fimage.png?alt=media&#x26;token=bf5fc30e-c1c7-4b89-ba40-d90c0aab2cc4" alt=""><figcaption></figcaption></figure>
