# 明細表に支払い方法を表記したい

**URL:** <https://community.shopify.com/t/topic/122004>\
**Category:** 技術的なQ＆A\
**Created:** [May 18, 2022, 1:54am UTC](https://community.shopify.com/t/topic/122004 "2022-05-18T01:54:18Z")\
**Posts on this page:** 3\
**Page:** 1

## AI-generated summary

- 明細表（packing slip）に「支払い方法」を表示したい要望。Shopify管理画面（設定→配送と配達）から編集する標準テンプレートでの実現を試行。
- Liquidで {% for transaction in transactions %} と {{ transaction.gateway }} を記述したが、出力は何も表示されない。
- 提案された {% for transaction in order.transactions %} も同様に表示されず、標準のpacking slipではtransactionオブジェクトへアクセスできない可能性が高い。
- 海外コミュニティの関連スレッド（912180／1061453）でも、標準packing slipにtransactionを表示する方法は見つからずとの報告。
- 解決策としてOrder Printerアプリの利用が推奨。Order Printerならテンプレート拡張により支払い方法（gateway）を含められる可能性がある。
- 依頼者は「標準ではできない」点を了承。Shopifyサポートからも高度なカスタマイズは非対応との案内。
- 現時点の結論: 標準の明細テンプレートでは支払い方法の表示は不可。必要に応じてOrder Printerの導入・テンプレート変更を検討。
- 技術用語の補足: Liquid＝Shopifyのテンプレート言語、transaction.gateway＝決済ゲートウェイ名。コードスニペットが中心で、画像・添付はなし。

<div class="post-metadata">

**Author:** ![ada30](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@ada30](https://community.shopify.com/u/ada30)\
**Post date:** [May 18, 2022, 1:54am UTC](https://community.shopify.com/t/topic/122004/1 "2022-05-18T01:54:18Z")

</div>

order printerアプリではなく、shopifyの管理画面〔設定→配送と配達〕から編集できる明細表に「支払い方法」を表記したいです。

{% for transaction in transactions %}

{{ transaction.gateway }}

{% endfor %}

上記のコードを書いていますが、なにも表示されません。

どなたか分かる方いらっしゃいませんか。

---

<div class="post-metadata">

**Author:** ![Qcoltd](https://yyz1.discourse-cdn.com/shopifyforum/user_avatar/community.shopify.com/qcoltd/32/900_2.png) [@Qcoltd](https://community.shopify.com/u/Qcoltd)\
**Post date:** [May 18, 2022, 11:59am UTC](https://community.shopify.com/t/topic/122004/2 "2022-05-18T11:59:37Z")

</div>

「私が確認した限りではできない」という回答になってしまい恐縮なのですが、

[https://community.shopify.com/topic/912180](https://community.shopify.com/topic/912180)

こちらで提案されている

{% for transaction in order.transactions %}

を試してみましたが、

{% for transaction in transactions %}

と同様に、何も表示されませんでした。

海外のShopify Communityのスレッドですが、

[https://community.shopify.com/topic/1061453](https://community.shopify.com/topic/1061453)

Shopify標準のpacking slip(明細書)において、transactionが表示する方法を求む、という本スレッドと同様の質問がなされており、その解決方法として、最終的に、Order Printerの利用が勧められているようでした。

ご参考までに。

(キュー田辺)

---

<div class="post-metadata">

**Author:** ![ada30](https://avatars.discourse-cdn.com/v4/letter/a/aca169/32.png) [@ada30](https://community.shopify.com/u/ada30)\
**Post date:** [May 20, 2022, 1:16am UTC](https://community.shopify.com/t/topic/122004/3 "2022-05-20T01:16:51Z")

</div>

ご返信ありがとうございます。

できないんですね、、残念ですが承知しました。

shopifyヘルプにお聞きしても、「高度なカスタマイズについてはサポートできない」ということで何も教えていただけませんでしたので、大変助かりました、ありがとうございました！
