# How to setup 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.

<figure><img src="https://1556176885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPgk3wauuyAKlfkLLpBvA%2Fuploads%2FEIGj5cMFKLHQXvqJT6H7%2Fpre.jpg?alt=media&#x26;token=bd671f36-3d0a-459a-9141-bd0c60b892b1" alt=""><figcaption></figcaption></figure>

## Setup

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

{% hint style="success" %}
Create a custom **metafield** for product with namespace and key: '**ortheme.preorder**' and field type is **True or false**
{% endhint %}

<figure><img src="https://1556176885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPgk3wauuyAKlfkLLpBvA%2Fuploads%2FxV0bkegIkwQkMw5TXw2r%2Fmeta-pr.jpg?alt=media&#x26;token=25a377ca-0855-43c8-80bf-d0bc20d6ca35" alt=""><figcaption></figcaption></figure>

## Product setup

If a product is a pre-order, select true

<figure><img src="https://1556176885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPgk3wauuyAKlfkLLpBvA%2Fuploads%2FLTVLXLo7STsWyWDtMcpB%2Fpre-t.jpg?alt=media&#x26;token=e0a3b779-686c-436b-9309-d3f1f69048c8" alt=""><figcaption></figcaption></figure>
