In Shopify, a product whose inventory reaches 0 can be switched to pre-order with RuffRuff 予約販売. You can set this up with the app alone, or use Shopify Flow as well so that regular orders do not exceed the inventory while stock remains.
View the appView the demo pageLearn moreChoose which method to use based on whether you want to prevent regular orders that exceed the inventory.
- Simple setup: You can set this up with RuffRuff 予約販売 alone. When little inventory remains, an order that exceeds the actual inventory may be placed as a regular order.
- Advanced setup: Shopify Flow automates the setting changes when inventory runs out and when stock is replenished. While inventory remains, Shopify prevents regular orders that exceed the inventory.
The page below is a demo product actually running a pre-order using RuffRuff 予約販売. Please try it out for yourself.
[Simple] How to Switch to Pre-order When Out of Stock
This is the method that uses only the app. If the product is ordered in bulk at one time, you may sell more than the actual inventory.
For example, it can happen that even when 3 items remain in inventory, 5 items are purchased at once as a regular order.
If you want to prevent regular orders that exceed the inventory, see the method later in this article that uses Shopify Flow together with the app.
Preparation: Enable the App Embed
* If you have already completed the preparation for RuffRuff 予約販売, please skip this preparation and proceed to Step 1.

(1) Install RuffRuff 予約販売 from the Shopify App Store
Search for "ruffruff" in the Shopify App Store to find "RuffRuff 予約販売."
(2) Subscribe to a paid plan under “Plans” in the app.

(3) From the Shopify admin, go to Online Store > Themes
(4) Click “Customize” for the Shopify theme where you want to add the app

(5) Select “App embeds” on the left.
(6) Enable the app embed for “RuffRuff 予約販売”
(7) Click “Save”
Step 1: Create a Pre-order Rule

(1) Click "Pre-order rules" in the left menu
(2) Click "Create rule" from the Pre-order rules page

(3) Select "Simple pre order" from the popup that appears
(4) Enter any name you like in Rule name
(5) Configure the following settings in Conditions
- Select “Sell based on inventory status,” enter 0 in “Less than or equal,” and leave “More than or equal” blank.
- To start using it right away, set “Start date” and “Start time” to a date and time that have already passed.
- Turn off “Pre-order on specific days within the active period”
When inventory reaches 0 or less, the product switches to pre-orders. If you enter 0 only in “Less than or equal,” pre-orders continue after they take inventory below zero. Turning off “Sell based on inventory status” also applies pre-orders when stock remains, so leave it enabled when you save.
“Checkout validation” cannot be used on a rule that sets an inventory quantity condition. The setup in this article does not set a limit on the number of pre-orders accepted.

(6) Configure the following settings in Actions (Pre-order)
- Cart button text: Pre-order
- Product message: any text you like
ℹ️ Actions (Pre-order) configures how the product behaves when it is in pre-order.
(7) Click "Save"
Step 2: Apply the Pre-order Rule to the Product

(1) Click "Products" in the left menu
(2) Check the products you want to apply the pre-order rule to
(3) Click "Apply rule"

(4) Select the rule you created in Step 1
(5) Click "Apply rule"
Step 3: Set the Product to Keep Selling Even When Out of Stock
(1) In “Products” in the Shopify admin, open the product. If the product has variants, open the inventory settings for the target variant.
(2) In the “Inventory” section, confirm that “Track quantity” is on.
(3) In the same section, open “Sell when out of stock,” select “Continue selling when out of stock,” and save.
⚠️ Due to Shopify's specifications, if you don't enable this setting, the product cannot be sold at all once it's out of stock, so be sure to configure it.
That completes the setup.
Why the simple setup can sell more than the inventory
With Shopify’s standard behavior, a product cannot be purchased when it is out of stock. To accept pre-orders even when it is out of stock, check “Continue selling when out of stock” in the Shopify product settings.
When this setting is on, Shopify accepts orders that exceed the inventory even while inventory still remains.
(Example: With only 3 units in stock, a customer is able to order 5 at once.)
[Advanced] How to Switch to Pre-order When Out of Stock Using Flow
When you also use Shopify Flow, orders are limited by the inventory while stock remains, and orders that exceed the inventory are accepted only when the product is out of stock.
From the time inventory reaches 0 until the workflow change is applied, the product may be unavailable because of Shopify’s inventory settings. On a test product, check whether it can be purchased after you change the inventory from 1 to 0, and again after you restock it.
Preparation Through Step 2: Same as Described Above
Preparation through Step 2 are the same as in "[Simple] How to Switch to Pre-order When Out of Stock," so please refer to the settings described above.
Step 3: Set the Product to Stop Selling When Out of Stock
(1) In “Products” in the Shopify admin, open the product. If the product has variants, open the inventory settings for the target variant.
(2) In the “Inventory” section, confirm that “Track quantity” is on.
(3) In the same section, open “Sell when out of stock,” select “Stop selling when out of stock,” and save.
⚠️ Please note that this differs from the setting described in "[Simple] How to Switch to Pre-order When Out of Stock" above.
Step 4: Create a workflow that resumes selling when inventory runs out

(1) Open Shopify Flow
(2) Click "Create workflow"

(3) Set the trigger to “Product variant out of stock”

(4) Set conditions to identify the products you want to pre-order
In the example image, the target is specified by SKU (the identifier that distinguishes a variant). To apply this to multiple products, specify a product tag or a collection. To apply it to all products, do not add a condition.
(5) For the action, select “Send Admin API request”
(6) Select "productVariantsBulkUpdate" for the mutation
(7) Copy the JSON below exactly as shown and paste it into “Mutation inputs.” Keep the variables inside {{ }} that identify the product or variant and the value CONTINUE unchanged. Use the condition from (4) to narrow the eligible products.
(Sample code)
{
"variants": [
{
"id": "{{productVariant.id}}",
"inventoryPolicy": "CONTINUE"
}
],
"productId": "{{productVariant.product.id}}",
"allowPartialUpdates": true
}

(8) Click "Turn on workflow"
Step 5: Create a workflow that limits sales by inventory when the product is back in stock

(1) Open Shopify Flow
(2) Click "Create workflow"

(3) Set the trigger to “Product variant back in stock”

(4) Set conditions to identify the products you want to pre-order
Set the same conditions as in step 4 so that this applies to the same products as when inventory runs out.

(5) For the action, select “Send Admin API request”
(6) For the mutation, select “productVariantsBulkUpdate”
(7) Copy the JSON below exactly as shown and paste it into “Mutation inputs.” Keep the variables inside {{ }} that identify the product or variant and the value DENY unchanged.
(Sample code)
{
"variants": [
{ "id": "{{productVariant.id}}", "inventoryPolicy": "DENY" }
],
"productId": "{{productVariant.product.id}}",
"allowPartialUpdates": true
}

(8) Click “Turn on workflow”
That completes the setup.
How Shopify Flow prevents selling more than the inventory
The out-of-stock workflow runs when inventory drops from 1 or more to 0 or less. The restock workflow runs when it rises from 0 or less to 1 or more. Test both workflows on a variant with inventory tracking enabled.
Normally, When In Stock
- The product’s “Continue selling when out of stock” setting is off.
- This allows Shopify's inventory check to function, so orders exceeding the available stock cannot be placed.
The Moment Stock Reaches Zero
- Shopify Flow detects that the item is "out of stock" and runs automatically.
- Flow switches “Continue selling when out of stock” to on for the affected variant.
- The RuffRuff 予約販売 rule also applies when stock runs out and switches the product page to a pre-order display.
The Moment the Product Is Restocked
- Shopify Flow detects that the item is "in stock" and runs automatically.
- Flow switches “Continue selling when out of stock” back to off for the affected variant.
- The product returns to its normal selling state.
Check both workflows
Try both running out of stock and restocking, and in “Products” in the Shopify admin, confirm that “Continue selling when out of stock” switches for the target variant.
Pros and Cons of [Simple Setup]
- Pros: Simple to set up, and can be implemented without Shopify Flow
- Cons: Overselling (purchases exceeding actual inventory) may occur when stock is running low
Pros and Cons of [Advanced Setup]
- Pros: Prevents overselling by leveraging the inventory check feature
- Note: From the time the product goes out of stock until the workflow is applied, it may be temporarily unavailable for purchase.
Notes When Setting This Up
- Shopify’s inventory setting (“Continue selling when out of stock”) differs for each method, so check it carefully when you configure this
- In the workflow conditions, specify the SKU (the identifier that distinguishes a variant), product tag, collection, or similar value of the products the setup applies to.
- For [Advanced setup], make sure both the out-of-stock and restock workflows are configured correctly
Support Information
If you run into any issues while setting this up, or need more detailed information, please contact the RuffRuff 予約販売 support team. We'll guide you toward the optimal setup method for your product's characteristics and sales situation.
![[Shopify] How to Switch to Pre-order When Out of Stock | Accepting Pre-orders After Stock Runs Out](http://ruffruff.app/cdn/shop/files/ruffruff-pre-order-sales-when-out-of-stock-on-shopify-en-20261028-b3.png?v=1793164224&width=1500)








