> For the complete documentation index, see [llms.txt](https://palo-alto.presidiocreative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://palo-alto.presidiocreative.com/palo-alto-4.2/products/pre-order-using-metafields.md).

# Pre-order using metafields

Replace the 'Add to Cart' button with a 'Pre-Order' button using metafields

Palo Alto supports metafields for creating Pre-order products. When you define a Pre-order metafield, you can easily convert the 'Add to Cart' button to a 'Pre-Order' button.

<figure><img src="https://content.gitbook.com/content/PE3dRxQBXFmV7YrNe4E9/blobs/GqZKPvsVRPuRUF1QU61Q/pre-order.png" alt=""><figcaption></figcaption></figure>

## How to setup

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

### Metafield definition

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

<figure><img src="https://content.gitbook.com/content/PE3dRxQBXFmV7YrNe4E9/blobs/TxEmJs4N5GnCNqKzCvbU/preorder-metafield.jpg" alt=""><figcaption></figcaption></figure>

### Product setup

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

<figure><img src="https://content.gitbook.com/content/PE3dRxQBXFmV7YrNe4E9/blobs/uHqvtGsn2HykpUa9Tr6A/metafields-example.jpeg" alt=""><figcaption><p>Bottom of product setup page in the Shopify Admin -> Products</p></figcaption></figure>

### Pre-order template

To remove the **Buy it now button**, you can create a Pre-order product template and uncheck '*Show dynamic checkout buttons'* under the **Form** block.

<figure><img src="https://content.gitbook.com/content/PE3dRxQBXFmV7YrNe4E9/blobs/9ghgBZqWDDk4R09y95um/form-pre-order.png" alt=""><figcaption></figcaption></figure>

{% content-ref url="/pages/-Mk26MyaGXZmNavo9mTb" %}
[Creating new Product page templates](/palo-alto-4.2/products/creating-product-templates.md)
{% endcontent-ref %}
