# 商品オプションを含めるようにShopifyの確認メールを編集する

デフォルトでは、Shopify の注文確認メールには予約日時などのラインアイテムのプロパティは表示されません。必要に応じて、これらの情報を含めるようにカスタマイズできます。

## この変更で何が変わるか

この編集後、Shopify の注文確認メールには、商品情報とあわせて予約の詳細（日時、所要時間、その他のカスタムフィールド）が表示されます。

## 手順

1. Shopify Adminで **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 %}

## 関連項目

* [通知メール](/ja/tong-zhi/notification-emails.md) — Sesami の標準メール通知
* [通知メールのカスタマイズ](/ja/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/ja/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.
