Liquid Snippets by ALSEL
📘 公式リファレンス📦 リファレンス/オブジェクト中級

pending_payment_instruction_input オブジェクト

銀行振込やMultibancoなど決済方法固有のオフライン決済手順を格納するオブジェクト。ヘッダーと対応する値をペアで保持し、顧客がトランザクション完了に必要な情報(振込先、参照番号など)を取得できる。

用途
オフライン決済方法(銀行振込、Multibanco、boleto など)を使用している顧客に対し、注文完了画面や確認メール上で振込先口座や参照番号などの決済手順を表示するとき。
設置場所
transaction オブジェクトの `buyer_pending_payment_instructions` プロパティ経由でアクセスする。例えば `{{ transaction.buyer_pending_payment_instructions[0].header }}` と `{{ transaction.buyer_pending_payment_instructions[0].value }}` で、決済方法別のヘッダーと値を参照する。
注意点
このオブジェクトは transaction の `buyer_pending_payment_instructions` 配列内に含まれるため、直接グローバルにはアクセスできない。ヘッダーと値の対応関係は決済方法によって異なる(Multibancoの場合は「Entity」と「Reference」など)ため、決済方法名も併せて確認して表示を組み立てる。オフライン決済待ちの注文にのみ有効で、クレジットカード決済済みの order には含まれない。
タグ:transactionpaymentpending-paymentoffline-payment

仕様

58 行 / json
{
  "access": {
    "global": false,
    "parents": [
      {
        "object": "transaction",
        "property": "buyer_pending_payment_instructions"
      }
    ],
    "template": []
  },
  "deprecated": false,
  "deprecation_reason": "",
  "description": "",
  "properties": [
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "",
      "examples": [],
      "return_type": [
        {
          "type": "string",
          "name": "",
          "description": "",
          "array_value": ""
        }
      ],
      "summary": "The header of the payment instruction.\nThese are payment method-specific. Example: \"Entity\" and \"Reference\" for Multibanco",
      "name": "header"
    },
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "",
      "examples": [],
      "return_type": [
        {
          "type": "string",
          "name": "",
          "description": "",
          "array_value": ""
        }
      ],
      "summary": "Contains the corresponding values to the headers of the payment instruction.",
      "name": "value"
    }
  ],
  "summary": "Header-value pairs that make up the list of payment information specific to the payment method.\nThis information can be be used by the customer to complete the transaction offline.",
  "name": "pending_payment_instruction_input",
  "examples": [],
  "json_data": {
    "path": "",
    "handle": "",
    "data_from_file": ""
  },
  "return_type": []
}

出典・ライセンス

License:
MIT

このコードは Shopify 著作の MIT ライセンスソースです。 原本の著作権は Shopify が保有します。日本語訳は ALSEL によるものです。

関連項目

📘 公式リファレンス📦 リファレンス/オブジェクト初級

content_for_header オブジェクト

Shopify が必要とするスクリプト(分析・チェックアウト・言語設定など)をすべて動的に出力するオブジェクト。theme.liquid の <head> タグ内に埋め込む必須要素。

📁 theme-liquid-docs·MIT·20
📘 公式リファレンス📦 リファレンス/オブジェクト中級

metaobjects オブジェクト

ストア全体のメタオブジェクト定義にアクセスするグローバルオブジェクト。個別のメタオブジェクトはタイプとハンドルで参照でき、メタオブジェクト定義のエントリをループで反復処理できる。

📁 theme-liquid-docs·MIT·20
📘 公式リファレンス📦 リファレンス/オブジェクト初級

additional_checkout_buttons オブジェクト

PayPal Express Checkout など、オフサイト決済に対応した外部決済プロバイダーがストアに設定されているかを真偽値で返す。`content_for_additional_checkout_buttons` と組み合わせて、該当するチェックアウトボタンを条件付きで表示する。

📁 theme-liquid-docs·MIT·27
📘 公式リファレンス📦 リファレンス/オブジェクト初級

canonical_url オブジェクト

現在のページの正規 URL を取得するオブジェクト。Google などの検索エンジンに対してどのページ版が正規であるかを指定するために使用する。

📁 theme-liquid-docs·MIT·27
📘 公式リファレンス📦 リファレンス/オブジェクト初級

content_for_index オブジェクト

ホームページに表示するセクションの内容を動的に返すオブジェクト。Liquid インデックステンプレートで必ず使用する。

📁 theme-liquid-docs·MIT·27
📘 公式リファレンス📦 リファレンス/オブジェクト初級

content_for_additional_checkout_buttons オブジェクト

PayPal、Apple Pay、Google Pay など複数の決済プロバイダが有効になっているとき、その決済ボタンを HTML として出力するオブジェクト。`additional_checkout_buttons` で有無を判定したうえで、このオブジェクトで実際のボタンを表示する。

📁 theme-liquid-docs·MIT·27