How do I change Add to cart to Pre-order when a product is out of stock on Shopify?
Shopify has no setting that relabels Add to cart as Pre-order for sold-out products only. You can change the button wording for every product in Edit default theme content, edit your theme's product form in Liquid so the label depends on stock, or add a pre-order app block that switches the label per variant. Whichever you pick, the variant also needs Continue selling when out of stock turned on, or there is nothing to pre-order.
Why does the button say Sold out instead of Pre-order?
Because Shopify stops selling a tracked variant at zero stock unless you tell it otherwise. The switch is Continue selling when out of stock, and Shopify lists "You have products available for pre-order" as one of the reasons to turn it on (Shopify Help Center). It only appears for tracked products: "You can select the Continue selling when out of stock option only when you turn on the Inventory tracked setting."
Once it's on, the product is buyable again, but the theme shows its normal Add to cart button. Nothing on the page tells the shopper they are ordering something that isn't in the warehouse. That's the gap this guide covers. For the full setup, see How do I take pre-orders on Shopify?.
Can I change the button text without code?
Yes, but it changes the text for every product, in stock or not. Shopify's theme content editor lets you rewrite theme strings (Shopify Help Center):
- From your Shopify admin, go to Online Store.
- Click the menu icon beside your theme and select Edit default theme content.
- Search for the Add to cart (or Sold out) text, edit it, and click Save.
The editor changes wording "for your default language", so other languages need translating separately.
When is that good enough?
When the whole store is pre-order. A brand that only sells upcoming releases, or a maker whose every item is made after ordering, can rename Add to cart to Pre-order for everything. For a store where most products are in stock, renaming the global string would mislabel them all. Some themes also share one string between the product page, quick add and featured product sections, so check each place after saving.
How do I show Pre-order only on sold-out variants?
Edit the theme's product form so the label checks the selected variant's stock and inventory policy. In Liquid, a variant exposes inventory_management, inventory_quantity and inventory_policy, so the button label can be decided like this:
{%- assign v = product.selected_or_first_available_variant -%}
{%- if v.inventory_management and v.inventory_quantity <= 0 and v.inventory_policy == 'continue' -%}
Pre-order
{%- else -%}
Add to cart
{%- endif -%}
Where this goes depends on the theme: in most Online Store 2.0 themes it's the buy buttons snippet inside the product section. Duplicate the theme before editing.
What does a Liquid edit miss?
Variant switching, mainly. Liquid runs once when the page loads, for the first or selected variant. When a shopper picks another size, the theme's JavaScript updates the button, and it will put back its own Add to cart or Sold out text unless you change that script too. Other gaps:
- Theme updates overwrite edited files, so the change has to be redone or carried over by hand.
- No ship date next to the button unless you add it (see How do I show an expected ship date on Shopify pre-orders?).
- Nothing reaches the order. The order looks like any other; you'd need line item properties or a Flow rule to mark it (see How do I find and fulfil pre-orders separately in Shopify?).
- No limit. The label changes, but Continue selling still has no cap (How do I limit pre-order quantity on Shopify?).
What does Shopify recommend for the button label?
A label that matches what the shopper is buying. Shopify's UX guidelines for pre-order and try-before-you-buy themes say "Having a call-to-action (main button text) that reflects the purchasing option type helps customers differentiate", and suggest switching "the call-to-action string to something purchase option-specific that merchants can customize" (shopify.dev UX guidelines). The same guidelines recommend a "contextual pre-order badge or label" and, for dates, "exact dates or a range, if exact dates are unavailable."
In short: the button should say Pre-order (or your own wording, such as "Pre-order now"), and the shopper should see when it ships before they click.
What happens when one variant is in stock and another isn't?
Each variant needs its own label, because stock is per variant. If Medium is in stock and Large is sold out, Medium should say Add to cart and Large should say Pre-order. This is where hand edits most often go wrong: the label is computed for the variant on page load and doesn't follow the shopper's choice. One merchant reviewing a pre-order app described the reverse problem: "As soon as one variation is in stock the pre-order stops working on all variations" (App Store review, May 2021). Test every option combination before a launch.
Do I need an app for this?
Shopify's own pre-order setup page says "To display information about pre-orders, you must use a pre-order app" (Shopify Help Center). That page is about Shopify's pre-order purchase options, which an app creates. For a pay-in-full pre-order you can do the label yourself with the Liquid edit above, as long as you're comfortable maintaining theme code and accept the gaps listed.
An app block is the alternative: added in the theme editor, it doesn't edit theme files, and it's removed when the app is uninstalled. App blocks "can only be used with compatible themes" (Shopify Help Center), so check your theme supports them.
Doing it with Fizz Pre-orders
Fizz Pre-orders is our app, free to install while it launches. Buyers pay in full; deposits and pay-later are not available yet.
- Add the Pre-order button block under Add to cart in the theme editor (the app links you there). No theme files are edited.
- Create a campaign, pick the products, and choose when a variant is out of stock or always (for products that aren't released yet).
- Set the button text if you want something other than Pre-order, the ship note, and an optional message.
What the block does on the product page:
- It checks the selected variant against live stock each time the shopper changes options. In-stock variants keep your theme's Add to cart; sold-out variants in the campaign show your Pre-order text with the ship note under it.
- It switches the variant to Continue selling when out of stock only while the campaign is live, after saving your original setting, and puts that setting back when the campaign ends.
- If you set limits, it caps the quantity a shopper can add and shows Sold out when the total is reached.
- The item goes into the cart with a visible "Pre-order: your ship note" line, and the order gets the tag
pre-order. Buy it now keeps those details into checkout.
Pick the ship note before you start: the pre-order planner turns your stock arrival date into a ship-by date and a note you can paste in.
Checklist before going live
- The variant tracks inventory and the label changes only when it's at zero (unless the product is pre-order only).
- Switching options updates the button correctly for every variant.
- The ship date is next to the button, not only in the description.
- Quick add and collection-page buttons don't still say Add to cart for pre-order items, or they're turned off for those products.
- A test order shows something in the admin that marks it as a pre-order.