> For the complete documentation index, see [llms.txt](https://help.sesami.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.sesami.co/ja/apps-integrations/shopify/edit-your-shopify-confirmation-email-to-include-product-options.md).

# 商品オプションを含めるよう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 %}

## 関連項目

* [通知メール](https://help.sesami.co/ja/tong-zhi/notification-emails.md) — Sesami の標準メール通知
* [通知メールのカスタマイズ](https://help.sesami.co/ja/tong-zhi/customizing-notification-emails.md) — Sesami のメールをカスタマイズ


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.sesami.co/ja/apps-integrations/shopify/edit-your-shopify-confirmation-email-to-include-product-options.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
