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

remote_shop オブジェクト

リモートストア(他のストアから取得した商品)の情報を保持するオブジェクト。ストア名、ブランドアセット、配送ポリシー、返金ポリシーにアクセスできる。

用途
マルチベンダー機能やDropshipping、B2B プラットフォームなど、外部ストアの商品を販売しているときに、商品詳細ページで出品元ストアの配送・返金ポリシーやブランド情報を表示する場合。
設置場所
Liquid テンプレート内で `{{ remote_product.remote_details.shop.name }}` のように参照する。remote_product → remote_details → shop の階層を通じてのみアクセス可能。
注意点
remote_shop オブジェクトはリモートソース(他ストアの商品)から来た商品にのみ存在し、通常の自ストア商品には present されない。事前に `remote_details` の存在を確認する必要がある。policies プロパティは shipping_policy と refund_policy をまとめた配列で、リモートストアの管理画面の「ポリシー設定」に登録されたデータに基づく。
タグ:remote-shopmulti-vendordropshippingpolicybrand

仕様

117 行 / json
{
  "access": {
    "global": false,
    "parents": [
      {
        "object": "remote_product",
        "property": "remote_details"
      },
      {
        "object": "remote_details",
        "property": "shop"
      }
    ],
    "template": []
  },
  "deprecated": false,
  "deprecation_reason": "",
  "description": "Remote store information is only present via remote details, if the product comes from a remote source (i.e. a product from another store).",
  "properties": [
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "",
      "examples": [],
      "return_type": [
        {
          "type": "string",
          "name": "",
          "description": "",
          "array_value": ""
        }
      ],
      "summary": "The name of the remote store.",
      "name": "name"
    },
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "",
      "examples": [],
      "return_type": [
        {
          "type": "brand",
          "name": "",
          "description": "",
          "array_value": ""
        }
      ],
      "summary": "The [brand assets](https://help.shopify.com/manual/promoting-marketing/managing-brand-assets) for the remote store.",
      "name": "brand"
    },
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "",
      "examples": [],
      "return_type": [
        {
          "type": "policy",
          "name": "",
          "description": "",
          "array_value": ""
        }
      ],
      "summary": "The shipping policy for the remote store.",
      "name": "shipping_policy"
    },
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "",
      "examples": [],
      "return_type": [
        {
          "type": "policy",
          "name": "",
          "description": "",
          "array_value": ""
        }
      ],
      "summary": "The refund policy for the remote store.",
      "name": "refund_policy"
    },
    {
      "deprecated": false,
      "deprecation_reason": "",
      "description": "The policies are set in the remote store's [Policies settings](https://www.shopify.com/admin/settings/legal).",
      "examples": [],
      "return_type": [
        {
          "type": "array",
          "name": "",
          "description": "",
          "array_value": "policy"
        }
      ],
      "summary": "The shipping and refund policies for the remote store.",
      "name": "policies"
    }
  ],
  "summary": "Information about a remote store.",
  "name": "remote_shop",
  "examples": [],
  "json_data": {
    "path": "",
    "handle": "",
    "data_from_file": ""
  },
  "return_type": [
    {
      "type": "RemoteShopDrop",
      "name": "",
      "description": "",
      "array_value": ""
    }
  ]
}

出典・ライセンス

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