# 予約注文の設定

### 学べること

Shopify管理画面でメタフィールドを使って選択した商品の「先行予約（Pre-Order）」ラベルを有効化し、Plain Janeで表示する方法

***

### 1. 「Preorder」メタフィールドを作成する

商品を先行予約対象として分類するには、まずメタフィールドを作成します：

1. Shopify 管理画面で、次へ移動します **設定**
2. クリック： **カスタムデータ** サイドバーから、次に選択します **製品**
3. クリック： **定義を追加** 右上の
4. 以下のように項目を入力してください：

* **名前：** `Preorder`
* **Namespace と key：** `custom.preorder`
* **タイプ：** `True または False`

5. クリック： **保存** メタフィールドを作成します。

***

### 2. 商品に先行予約情報を追加する

メタフィールドが設定されたので：

1. に移動する **製品** 管理画面のセクションに移動します。
2. 先行予約を有効にしたい任意の商品を選択します。
3. 下にスクロールして、次を見つけます： **商品メタフィールド** セクション。
4. 新しい項目が表示されているはずです **preorder** メタフィールド。
5. 値を次のように設定します **True** この商品の先行予約ステータスを有効にするには。

> 💡 ヒント：このフィールドを使って、任意の商品でいつでも先行予約ステータスをオン・オフできます。

***

### 3. テーマの出力

商品に次の設定があると `preorder: true`、OpenSpacesテーマは自動的に次のことを行います：

* 次を表示します **「Pre-Order」** 商品ページにボタンを表示
* 商品にタグを付けます **「Pre-Order」** （注目商品、コレクションなど）表示される場所すべてにラベルを付けます

> ⚠️ 警告：商品の状態を確認してください **在庫があるかまたは取り寄せ可能である** ことで、顧客が実際にチェックアウトを完了できるようにしてください。

### **ヘルプが必要ですか？**

* 💬 **Discordでコミュニティに参加：** <https://discord.gg/hcc2GvgZc6>
* 📧 **メールでお問い合わせ：** <support@openspaces.design>
* 💻 **ライブチャット：** 月〜金、現地時間午前10時〜午後6時（EST）に当社ウェブサイトで直接対応


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openspaces.design/english-ja/readme-1/advanced/setting-up-pre-orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
