# Pre-order using metafields

Broadcast supports metafields for creating pre-order products.

When you define a preorder metafield, you can easily toggle on or off the preorder feature which converts the Add to Cart button to a Pre-order button.&#x20;

On the main product page, the Add to Cart button is replaced with a Pre-order button:

![Add to Cart button is replaced with a Pre-order button (spelling and letter case can be changed)](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/x4Q969lYOYXyxeJF07Sa/Screen%20Shot%202022-07-12%20at%205.52.43%20PM%20copy.png)

When viewing a collection page or any product grid-style section, a Pre-order badge is added to the product:

![Pre-order badge added on collection page](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/ShCGIxpPNrQbIa0sLgNU/Screen%20Shot%202022-07-12%20at%205.53.34%20PM.png)

Quick Add button is changed to Pre-Order:

![Quick Add button is replaced with a Pre-order button (on hover)](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/XPbZPZThOyhLc6886E2G/Screen%20Shot%202022-07-12%20at%205.53.48%20PM.png)

In the cart drawer and cart page, a message is included to indicate that the item is a preorder:

![Cart includes Pre-order message](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/Jw2VnKvw0q2pPRGwWUsI/Screen%20Shot%202022-07-12%20at%205.56.30%20PM.png)

## How to setup

Setting up a preorder metafield is very simple and can be done right in your Shopify Admin.

This video covers all the steps needed for creating a preorder metafield plus additional customization options:

{% embed url="<https://www.loom.com/share/43958bdd812d43d7843cdc5ae25f83be>" %}
Video walk-through&#x20;
{% endembed %}

## Reference

You can use the following reference information to help with the steps covered in the video.

### Metafield definition

Create a product metafield with the namespace and key set to `theme.preorder` . Set the content type to 'True or false'.

![](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/VWkyKd7teooyZQpxGCcs/Screen%20Shot%202022-07-07%20at%204.16.02%20PM.png)

### Product setup

In the Metafields section of any product that you'd like to use the feature, change the preorder value to True:

![Bottom of product setup page in the Shopify Admin -> Products](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/mW4uTxhKAZHa5k3EwGZ0/Screen%20Shot%202022-07-07%20at%204.21.41%20PM.png)

### Preorder template

To remove the Buy it now button as shown in the video, you can create a preorder product template and uncheck *Show dynamic checkout buttons* inside the Form block:

![](https://content.gitbook.com/content/j8jzXN4KKXAfQhgbN5lO/blobs/K3mpSFvfzIUMhwvHggBJ/Screen%20Shot%202022-07-07%20at%204.26.39%20PM%20copy%202.png)

## Additional information

When selling pre-order products on your store, you may want to manually capture payments:

### Manually capture payments

{% embed url="<https://broadcast.invisiblethemes.com/products/pre-order-products#manually-capture-payment>" %}
Click to view more information on payment captures
{% endembed %}

You can customize the button text for pre-orders to match your language or simply use different wording:

### Customize the button text

{% embed url="<https://broadcast.invisiblethemes.com/products/pre-order-products#customize-the-button-text>" %}
Click to view more information on changing the button label
{% endembed %}


---

# 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://broadcast.presidiocreative.com/broadcast-v5/products/product-pages/pre-order-using-metafields.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.
