# Setting Up Pre-Orders

### What You’ll Learn

How to enable a "Pre-Order" label for selected products using metafields in Shopify Admin and display them using Plain Jane

***

### 1. Create the "Preorder" Metafield

To classify products as pre-orderable, start by creating a metafield:

1. In your Shopify Admin, go to **Settings**
2. Click **Custom data** from the sidebar, then choose **Products**
3. Click **Add definition** in the top right
4. Fill out the fields as follows:

* **Name:** `Preorder`
* **Namespace and key:** `custom.preorder`
* **Type:** `True or False`

5. Click **Save** to create the metafield.

***

### 2. Add Preorder Info to a Product

Now that the metafield is set up:

1. Navigate to the **Products** section in your admin.
2. Select any product you’d like to enable for preorder.
3. Scroll down to the **Product Metafields** section.
4. You should see the new **preorder** metafield.
5. Set the value to **True** to activate preorder status for this product.

> 💡 Tip: You can toggle preorder status on and off for any product anytime using this field.

***

### 3. Theme Output

Once a product has `preorder: true`, the OpenSpaces theme will automatically:

* Display a **"Pre-Order"** button on the product page
* Tag the product with a **"Pre-Order"** label wherever it appears (featured, collections, etc.)

> ⚠️ Warning: Ensure the product is **in stock or available for backorder** so customers can actually complete checkout.

### **Need Help?**

* 💬 **Join our community on Discord:** <https://discord.gg/hcc2GvgZc6>
* 📧 **Email us at:** <support@openspaces.design>
* 💻 **Live chat with us:** Available Monday–Friday, 10AM–6PM EST, directly on our website


---

# 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/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.
