> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/e-commerce-platforms/shopify/how-purple-dot-works-with-shopify.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# How Purple Dot works with Shopify

How a Shopify pre-order becomes an order, and which theme embed each checkout method uses.

A Shopify store sells pre-orders through the [Purple Dot checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#purple-dot-checkout) or through [native Shopify checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#native-checkout). Purple Dot sets the [checkout method](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#checkout-method) when you onboard. The theme embed you turn on, and the moment a Shopify order exists, follow from that choice. For how to choose, see [Choosing a checkout method](https://docs.getpurpledot.com/understanding-purple-dot/choosing-a-checkout-method.md).

## Where the Shopify order lives

With the Purple Dot checkout, the shopper pays Purple Dot. The pre-order stays in the Merchant Portal until you [export](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#export) it. Export creates the Shopify order. Until then, Shopify admin has no order for that pre-order.

The Purple Dot checkout has three checkout methods. [Combined cart](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#combined-cart) uses the Shopify cart and can include in-stock items. [Express checkout](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#express-checkout) opens checkout for one item and does not put it in the Shopify cart. Separate cart keeps pre-order items in a Purple Dot cart.

With native Shopify checkout, the shopper pays in Shopify checkout and the order exists in Shopify immediately. Purple Dot places a fulfillment [hold](https://docs.getpurpledot.com/understanding-purple-dot/glossary.md#hold) on the pre-order items, so the order shows as **On hold**. Release moves the order to the location that will ship it, lifts the hold, and requests fulfillment. See [Release, export, and hold](https://docs.getpurpledot.com/understanding-purple-dot/releasing-and-fulfilling-pre-orders.md#release-export-and-hold).

Native checkout is limited to one currency, and every system that receives Shopify orders must respect the hold. See [Native Shopify checkout](https://docs.getpurpledot.com/understanding-purple-dot/choosing-a-checkout-method.md#native-shopify-checkout).

## The theme embed

A Liquid theme loads Purple Dot from a theme app embed after you [install the app](https://docs.getpurpledot.com/e-commerce-platforms/shopify/install-the-purple-dot-app.md).

The embed for the Purple Dot checkout is named **Purple Dot**. In the theme editor it asks for **Purple Dot API Key** and **Purple Dot Shared Secret**. Both values are on **Settings** > **Integrations** in the Merchant Portal. The embed sends the current Shopify cart and, when a shopper is signed in, a signed customer token, then loads the storefront script.

The embed for native Shopify checkout is named **Purple Dot Pre-orders**. It initializes the theme extension from the product and variant on the page. It does not ask for the API key in the embed settings.

Headless storefronts, Hydrogen, and React Native do not use the theme embed. They call `@purple-dot/browser` and the [pre-order state endpoints](https://docs.getpurpledot.com/purple-dot-apis/public-api.md).

## Inventory in Shopify

For a combined cart, shoppers add an out-of-stock variant to the Shopify cart. Purple Dot turns on **Continue selling when out of stock** for variants that can be pre-ordered, and turns it off when they cannot. If that setting is turned off, Purple Dot pauses the waitlist.

Stores using location-aware waitlists do not need that setting. Purple Dot pairs each online fulfillment location with a location whose name ends in **Purple Dot**, and sells the waitlist's remaining units from the paired location. See [Location modes](https://docs.getpurpledot.com/understanding-purple-dot/inventory-and-virtual-locations.md#location-modes).

## Related

* **Concept:** [Choosing a checkout method](https://docs.getpurpledot.com/understanding-purple-dot/choosing-a-checkout-method.md), [Inventory and virtual locations](https://docs.getpurpledot.com/understanding-purple-dot/inventory-and-virtual-locations.md)
* **Do this:** [Install the Purple Dot app](https://docs.getpurpledot.com/e-commerce-platforms/shopify/install-the-purple-dot-app.md), [Integrate with a Liquid theme](https://docs.getpurpledot.com/e-commerce-platforms/shopify/integrate-with-a-liquid-theme.md), [Integrate with a headless storefront](https://docs.getpurpledot.com/e-commerce-platforms/shopify/integrate-with-a-headless-storefront.md)
* **Look up:** [Public API](https://docs.getpurpledot.com/purple-dot-apis/public-api.md)


---

# 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.getpurpledot.com/e-commerce-platforms/shopify/how-purple-dot-works-with-shopify.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.
