> For the complete documentation index, see [llms.txt](https://ymq-app.gitbook.io/ymq-product-options-app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ymq-app.gitbook.io/ymq-product-options-app/email-notifications-and-packing-slips-and-invoices/order-confirmation-email-sent-to-customer.md).

# Order Confirmation (email sent to customer)

To get our apps **virtual options** to show up correctly on the Order Confirmation email you will need to add some code to your email template.

* Go to your **Shopify dashboard**
* Select **Settings**
* Select **Notifications**
* Select **Orders >** **Order Confirmation**
* Click **Edit Code**

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

In the Order Confirmation template search for the code below.

```liquid
if line.selling_plan_allocation
```

Above the **{% if line.selling\_plan\_allocation %}** code place the following code.

```liquid
{% for p in line.properties %}
    {% assign property_first_char = p.first | slice: 0 %}
    {% unless p.last == blank or property_first_char  == '_' %}
        <div class="ymq-property">{{ p.first }}:
        {% if p.last contains '/uploads/' %}
            <div><img src="{{ p.last }}" style="max-width: 50px; height: auto;"></div>
        {% else %}
            {{ p.last }}
        {% endif %}
        </div>
    {% endunless %}
{% endfor %}
```

The result will look like the screenshot below.

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

{% hint style="info" %}
You can revert back to the default notification by scrolling to the bottom of the page and clicking **Revert to Default**.![](/files/l8F3PId8waGXEI68y5kq)
{% endhint %}
