> For the complete documentation index, see [llms.txt](https://docs.ultramarinastudios.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ultramarinastudios.com/guides/how-to-create-a-preorder-product.md).

# How to create a preorder product

Displays a "Preorder" button instead of "Add to cart" for specific products. Optionally, create a preorder product template to display preorder-specific information, e.g. estimated delivery date.

<figure><img src="https://3146423938-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZQuVfmt0J7tzTvfBqG6C%2Fuploads%2FCkX3MxQrz2YexQV4CDeG%2Fultramarina-codepen%20%C2%B7%20Customize%20primavera-1-4-0%20%C2%B7%20Shopify%202025-07-03%20at%201.55.19%20pm.jpg?alt=media&amp;token=6220e613-e975-4c17-8e54-b2b940ce4c26" 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](https://docs.ultramarinastudios.com/templates/product/product-blocks.md#icon-with-text) connected to a product metafield that specifies the estimated delivery date
   2. [Collapsible](https://docs.ultramarinastudios.com/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ultramarinastudios.com/guides/how-to-create-a-preorder-product.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
