# Show Avis option on Order confirmation Email/Order invoice/New order

**Step 1: Access Confirmation Email Template**&#x20;

* Navigate to ***Settings > Notifications > Customer Notifications***.
* Locate and select ***Order confirmation***
* Click on the ***Edit code*** button to access the email template’s HTML code.

OR&#x20;

#### Step 1: Access New Order Email Template

* Navigate to ***Settings > Notifications > Staff Notifications***
* Locate and select ***New order***
* Click on the ***Edit code*** button to access the email template’s HTML code

**Step 2:** Place your cursor in the HTML body of the template use the shortcut *Ctrl + F* (*Command + F* on Mac) to open the search function.

Search for **`line.variant.title`** in the existing code and the tag  **`{% endif %}`**

Paste the following code snippet after the tag  **`{% endif %}`**.&#x20;

> **NOTE**: There should be **three separate blocks** in total that contain this code, so please make sure to add the snippet after each of those three **`{% endif %}`** tags.

```
{% unless line.properties == empty %}
<ul>
  {% for property in line.properties %}
	{% if property.first contains '_apo' %}{% continue %}{% endif; %}
  <li> {{ property.first }}: {{ property.last }}</li>
  {% endfor %}
</ul>
{% endunless %}
```

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

**Step 3: Save changes**

Click on the “**Save**” button to apply the changes to the template.

Wait for approximately 30 seconds for the changes to take effect.


---

# 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://options-docs-v2.avisplus.io/storefront-display/show-avis-option-on-order-confirmation-email-order-invoice-new-order.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.
