# 编辑 Shopify 确认邮件以包含产品选项

默认情况下，Shopify 的订单确认邮件不会显示如预订日期和时间等订单商品属性。你可以自定义它以包含这些信息。

## 此更改的内容

完成此编辑后，你的 Shopify 订单确认邮件将在商品信息旁显示预订详情（日期、时间、时长以及任何自定义字段）。

## 步骤

1. 前往 **Shopify > 设置 > 通知**
2. 点击 **订单确认**
3. 在邮件模板中，搜索：

```
list__item-title
```

4. 将以下代码片段直接放在该行下方：

```liquid
{% assign property_size = line.properties | size %}
{% if property_size > 0 %}
<p>
  {% for p in line.properties %}
    {% if p.first contains "_options" %}
      {% continue %}
    {% endif %}
    {% unless p.last == blank %}
      <small>{{ p.first }}:</small>
      {% if p.last contains '/uploads/' %}
        <a target="_blank" href="{{ p.last }}"><small>链接</small></a>
      {% else %}
        <small>{{ p.last }}</small>
      {% endif %}
      <br>
    {% endunless %}
  {% endfor %}
</p>
{% endif %}
```

5. 点击 **保存**

## 结果

编辑完成后，订单确认邮件将显示以下预订属性：

* **日期**: 2026 年 3 月 15 日
* **时间**: 上午 10:00
* **时长**: 60 分钟
* 预订期间收集的任何自定义字段

{% hint style="info" %}
这只会影响 **Shopify** 订单确认邮件。Sesami 自带的确认邮件默认已经包含预订详情。
{% endhint %}

## 相关

* [通知邮件](/zh-cn/tong-zhi/notification-emails.md) — Sesami 内置的邮件通知
* [自定义通知邮件](/zh-cn/tong-zhi/customizing-notification-emails.md) — 自定义 Sesami 邮件


---

# 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://help.sesami.co/zh-cn/apps-integrations/shopify/edit-your-shopify-confirmation-email-to-include-product-options.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.
