# How to create a preorder product

<figure><img src="/files/Pi27rZErW3yAxUCL4RVv" alt="This product has a &#x22;Preorder&#x22; button and has been assigned a preorder-specific product template to display a custom product badge and an estimated delivery date"><figcaption><p>Here, we created a preorder-specific product template to display a custom product badge and an estimated delivery date.</p></figcaption></figure>

{% hint style="success" %}
Available in version 1.4.0 and later
{% endhint %}

To replace the "Add to cart" button with "Preorder" for specific products:

1. Create a new metafield with the name Preorder.
2. Click the custom.preorder button to unlock the 'Namespace and key' field. Change the value to the  the following namespace and key: `theme.preorder`
3. Change the type to be "True or false".
4. For each preorder product, update the metafield value to "True"
5. *Optional*: Assign a "Preorder" product badge ([see guide](https://docs.ultramarinastudios.com/guides/how-to-add-product-badges)) to highlight it in collections
6. *Optional*: Create a new product template to display the product badge and/or add preorder-specific information such as:
   1. [Icon with text](/templates/product/product-blocks.md#icon-with-text) connected to a product metafield that specifies the estimated delivery date
   2. [Collapsible](/templates/product/product-blocks.md#collapsible-item) that specifies any terms or information related to availability/payment/delivery

Please note:

* The preorder button will only display if the product is in stock or set to "Continue selling when out of stock".&#x20;
* Dynamic checkout buttons will be hidden.


---

# 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.ultramarinastudios.com/guides/how-to-create-a-preorder-product.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.
