# New Order (email sent to staff)

To get our apps **virtual options** to show up correctly in the **New Order** email notifications  (sent to staff), you will need to add some code to your template.

* Go to your **Shopify dashboard**
* Select **Settings**
* Select **Notifications**
* Select **Orders >**  **New Order** (near the bottom of the page)
* Click **Edit Code**

<figure><img src="/files/954mcoYvIwfybEHGFDBQ" alt=""><figcaption></figcaption></figure>

In the New Order 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/PxJVglrB2iOERmV81uqG" 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ymq-app.gitbook.io/ymq-product-options-app/email-notifications-and-packing-slips-and-invoices/new-order-email-sent-to-staff.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
