# Abandoned Checkout

Follow the steps below to display option selections in the abandoned checkout emails.

1\. Starting from your Shopify admin dashboard, navigate to the **Settings** tab, click on **Notifications**, then **Customer notifications.**

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

2\. Search for the Order exceptions section and select the Abandoned checkout template.

![](/files/5QeR6dRta2sxky398558)

3\. Select the **Edit code** button at the top right.

4\. Locate the following line of code (remove any unnecessary spaces at the end).

```liquid
{% if line.variant.title != 'Default Title'
```

![](/files/75MxDoB2Y9Lri7hqd3R4)

5\. Copy and paste the following snippet after the section of code.

```liquid
{% for p in line.properties %}
  {% if p.first contains '_io_' %}
    {% continue %}
  {% endif %}
  {% if p.last %}
    {% assign name = p.first %}
    {% assign value = p.last %}
  {% else %}
    {% assign name = p.name %}
    {% assign value = p.value %}
  {% endif %}
  {% unless value == blank %}
    <p style='margin-top: 0px; margin-bottom: 0px; font-size: 14px; color: #999;'>
      {{ name }}:
    {% if p.last contains '//uploadery.s3' %}
      <a style='font-size: 14px;' href="{{ value }}">Link to your file</a>
    {% else %}
      {{ value }}
    {% endif %}
    </p>
  {% endunless %}
{% endfor %}<br>
```

![](/files/4tmCwz0z3MxmQCPhzgfY)

6\. Click the **Save** button at the top of the page.


---

# 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://shoppad.gitbook.io/infinite-options/display-options-on-shopify-notifications/shopify-emails-and-packing-slip-templates/abandoned-checkout.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.
