# Create a pre-order campaign
Follow the steps below to create and publish your first pre-order campaign in XFlow. You'll choose which products to offer, set up payment and shipping details, and make pre-orders available on your storefront.
## How to set up a pre-order campaign
All campaign settings are on one page. The tabs at the top (**Schedule**, **Pre-order terms**, **Fulfillment**, **Review**) jump to each section, and the preview on the right shows the **Product page**, **Collection** and **Cart** as shoppers will see them.
The products must be on the **Online Store** sales channel, and **Track quantity** must be on for their variants in Shopify.


1. Go to **Pre-order** in XFlow.
2. Click **Create campaign**. The campaign editor opens full screen, with a live storefront preview on the right.
3. Click the pencil icon next to the campaign title.
4. Enter a campaign name. Only you see it.


Choose when pre-orders open and when the **Pre-order now** button shows.
* **Start date**: pre-orders open as soon as you publish. Change the date and time to open them later, or click **+ Set end date** to close them on a set date. Times use your store's time zone.
* **When to show pre-order**: **Always** (Recommended) sells as pre-order even with stock on hand. **Only when out of stock** switches to pre-order at 0 inventory.
Keep the XFlow app embed on while a campaign runs. If it's off or XFlow is uninstalled, the campaign's variants keep selling as normal items and you may oversell.
Learn more: [Schedule pre-orders campaign](https://docs.foxecom.com/xflow-app/pre-order/schedule-pre-orders-campaign)

Pre-order terms are what shoppers agree to at checkout: when the order ships and how they pay. Pre-orders use a Shopify purchase option, so your store needs Shopify Payments, PayPal Express, Adyen or Stripe.
* **Ship date**: choose **Specific date**, **Time range** or **No date** (Not recommended). If you change it later, XFlow emails every buyer.
* **Payment**: choose **Pay in full**, **Pay a deposit** or **Let shoppers choose**. You can add a pre-order discount to each option.
Learn more: [Configure pre-order payment and shipping terms](https://docs.foxecom.com/xflow-app/pre-order/configure-pre-order-payment-and-shipping-terms)

Decide how Shopify handles stock and fulfillment for pre-order items after checkout.
* **Inventory**: stock is reduced **When the order is placed** (default). Select **When the order is fulfilled** to reduce it only when you ship.
* **Fulfillment status**: **Unfulfilled** is selected by default. Choose **On hold** or **Scheduled** if a fulfillment app or 3PL ships your orders, so it doesn't ship before stock arrives.
Learn more: [Choose how pre-orders are fulfilled](https://docs.foxecom.com/xflow-app/pre-order/choose-how-pre-orders-are-fulfilled)

Pick what takes pre-orders. A product can be in only one active or scheduled campaign at a time.
1. Choose what the campaign applies to under **Products > Applies to**, for example **Specific products**.
2. Search for products, or click **Browse**.
3. Select the products that take pre-orders.
Learn more: [Set up pre-order products](https://docs.foxecom.com/xflow-app/pre-order/set-up-pre-order-products)

Choose which markets can pre-order the campaign's products. The **Markets** section is directly below **Products**.
* **All markets**: every market you sell to can pre-order, including markets you add later.
* **Specific markets**: only the markets you select can pre-order. Shoppers in other markets don't see the **Pre-order** button.
Each market counts stock only from its own locations. To change which locations a market counts, click **Manage Markets & Locations**. **Specific markets** is available only when Markets & locations is turned on.
Learn more: [Count stock by market with Markets & locations](https://docs.foxecom.com/xflow-app/store-management/count-stock-by-market-with-markets-and-locations)

The button, messages and badge come from Pre-order settings and apply to every campaign. Check them in the preview, then click **Edit in Pre-order settings** if you want to change them.
Learn more: [Customize how pre-orders look on your store](https://docs.foxecom.com/xflow-app/pre-order/customize-how-pre-orders-look-on-your-store)

1. Go to **Review**.
2. Check the summary of each group.
3. Click **Fix** next to any setting marked **Has issues**.
4. Click **Publish**.
If the start date is now, the campaign goes **Active** right away. A future start date makes it **Scheduled**.

Click **Save draft** to finish the campaign later from the Overview or Campaigns tab.
## Place a test pre-order
1. Select **View on store** to open the product page on your storefront.
2. Click **Pre-order now** on the product page.
3. [Place test orders](https://help.shopify.com/en/manual/checkout-settings/test-orders) to complete the checkout process.
4. Go to **Pre-order > Orders** to check your test order.
Your test order appears in **Pre-order > Orders** with the `pre-order` tag, and you receive the **Pre-order confirmation** email.
## Manage your campaigns
Go to **Pre-order > Campaigns** to view all your campaigns. Here, you can check each campaign's status, payment terms, fulfillment settings, schedule, orders, and revenue.
To manage a campaign, open the **••• menu** and choose an action. Available actions depend on the campaign's status.
| Status | What happens on your store | Actions |
| ------------- | ----------------------------------------------------------------------- | --------------------------------------------- |
| **Draft** | The campaign isn't visible to shoppers. | Edit, Rename, Publish, Delete |
| **Scheduled** | The campaign isn't visible yet. It will start on the scheduled date. | Edit, Rename, Start now, Duplicate, Delete |
| **Active** | Shoppers can place pre-orders for eligible products. | Edit, Rename, Pause, Duplicate, End campaign |
| **Paused** | New pre-orders stop, but existing orders remain. | Edit, Rename, Resume, Duplicate, End campaign |
| **Ended** | No new pre-orders are accepted. Existing orders can still be fulfilled. | View, Rename, Duplicate |
Changes to a campaign only apply to new orders. Orders already placed keep their original terms.
You can only delete a Draft or Scheduled campaign if it has no orders.

## FAQs
Nothing changes for them. They keep their terms and still ship. Only new pre-orders stop.
No. Changes apply to new orders only.
The editor marks the section with **Has issues**. Common causes:
* No campaign name, or no variants
* No ship date, or a ship date before the campaign ends
* No payment option, or no balance due date for a deposit
* No fulfillment status
* An end date before the start date
Check that:
* The **XFlow Pre-order** app embed is on.
* The campaign is **Active**.
* The variant is out of stock, if the campaign shows pre-order **Only when out of stock**.
* Your store has a supported payment provider.
* The product is on the Online Store, with **Track quantity** on.
* The campaign includes the shopper's market, if it uses **Specific markets**.
## Related articles
Schedule pre-orders campaign
Configure pre-order payment and shipping terms
Choose how pre-orders are fulfilled
Set up pre-order products
Count stock by market with Markets & locations
Customize how pre-orders look on your store