> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 🌟 Enable Embed App

To ensure the app functions properly and is compatible with your store, you need to enable the embed app and add the app block to the product page where you want the discount to be displayed

### Enable embed app

* Go to **Dashboard** app -> click the **Enable** button to be redirected to your theme customization.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/shopify-enable-app_cexh6a.png)

* Turn on **Omega Quantity** app -> click **Save** button to finish this setting


![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/shopify-quantity-breaks-enable_fxc9va.png)


### Add App Block on Product Page

* Select product page template

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_81vu5x.png)

* Click **Add block** in template -> choose **Omega Quantity Block** app

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_16id2da.png)

* Move the app to the desired position -> click **Save** to finalize these settings.

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_9orvo1.png)

### Add App Block on Cart page

* Select cart page template

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_1t5ukdq.png)

* Click **Add block** in template -> choose **Omega Quantity - Cartpage** app

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_u8su8l.png)

* Move the app to the desired position -> click **Save** to finalize these settings.

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_h28737.png)


### Add App Block on Home page

* Select product page template and choose featured product session

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_bccgsr.png)

* Click **Add block** in template -> choose **Omega Quantity - Homepage** app

![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_1pugog9.png)

* Move the app to the desired position -> click **Save** to finalize these settings.


![](https://storage.crisp.chat/users/helpdesk/website/8383e5404a31c000/image_1pdriy6.png)
### Add code in Collection page

* Go to theme -> Edit code
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_319e3o.png)



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

```javascript
{% 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="omg-discount-notification" data-product-id="{{ card_product.id }}" data-collections="{{ result_collection }}" ></div>

<script>

    if (typeof window.omgProductList === "undefined") {

    window.omgProductList = [];

    }



(function(){

    const product = {

        id: {{ card_product.id | json }},

        title: {{ card_product.title | json }},

        handle: {{ card_product.handle | json }},

        variants: [

        {% for variant in card_product.variants %}

            {

            id: {{ variant.id | json }},

            title: {{ variant.title | json }},

            price: {{ variant.price | json }},

            available: {{ variant.available | json }}

            }

            {% unless forloop.last %},{% endunless %}

        {% endfor %}

        ]

    };



    const productExists = window.omgProductList.some(p => p.id === product.id);



    if (!productExists) {

    window.omgProductList.push(product);

    }

})();

</script>
```

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1hv3im.png)

### Add App Block to Checkout page

* Navigate to the **Upsell Cross-sell** menu -> Click **Go to theme** button in the setup instructions section

![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1scdo3q.png)
* After click the button, the system will redirect to the **Theme Editor**
* In the Theme Editor, select the position where you want to display the block and add the **Pareto - Cross sell** block to your theme
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_8ne4e0.png)
* Click the **Save** button to finalize the settings
Your Upsell Campaigns will now appear directly on the Checkout page. To display **Upsell Campaigns** on the **Order Status Page** and **Thank You Page**, follow the same steps

