# Pre-order 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="/files/5xAyg32UAR7b4SowFW3F" 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="/files/5gvKRwvWloQbjgJfxazl" 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="/files/Nb7eJyEzd3MdZSVRxbSQ" 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="/files/79mIFyIgOdiF9jozVICg" 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 %}


---

# 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://palo-alto.presidiocreative.com/palo-alto-4.2/products/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.
