# Order Printer の明細内にメタフィールド表示

**URL:** <https://community.shopify.com/t/order-printer/110077>\
**Category:** Shopify アプリ\
**Created:** [March 29, 2022, 9:29am UTC](https://community.shopify.com/t/order-printer/110077 "2022-03-29T09:29:12Z")\
**Posts on this page:** 2\
**Page:** 1

## AI-generated summary

- 目的・論点: ShopifyのOrder Printerで、明細の各商品行にその商品のメタフィールド値を表示できるかを確認。
- 最新の結論: 可能。テンプレートに「line_item.product.metafields.<メタフィールド名>.value」を記述することで出力できると自己解決。
- 技術補足: メタフィールドは商品に紐づくカスタムデータ項目。表示には該当メタフィールド名を指定する。
- ステータス: 解決済み。未解決の論点や対立意見はなし。

<div class="post-metadata">

**Author:** ![YUKI-J](https://avatars.discourse-cdn.com/v4/letter/y/848f3c/32.png) [@YUKI-J](https://community.shopify.com/u/YUKI-J)\
**Post date:** [March 29, 2022, 9:29am UTC](https://community.shopify.com/t/order-printer/110077/1 "2022-03-29T09:29:12Z")

</div>

Order Printer の明細書内の商品データ部分に、商品のメタフィールドの値を表示（出力）させたいのですが、  
可能でしょうか？

---

<div class="post-metadata">

**Author:** ![YUKI-J](https://avatars.discourse-cdn.com/v4/letter/y/848f3c/32.png) [@YUKI-J](https://community.shopify.com/u/YUKI-J)\
**Post date:** [April 1, 2022, 8:01am UTC](https://community.shopify.com/t/order-printer/110077/2 "2022-04-01T08:01:13Z")

</div>

解決しました。

line\_item.product.metafields.\<メタフィールド名\>.value

で出力することができました。
