Skip to main content

Shopify pre-order button without an app

Turn the add to cart button into a Pre-order button on chosen products, and flag each pre-order in the cart and the order.

Shopify product page with a blue Pre-order button in place of Add to cart, a Ships from March 12 note below it, and a cart showing the item tagged Pre-order

The problem

Selling a product before it is in stock usually means a pre-order app and its monthly fee. Without one, shoppers see a Sold out button, or an Add to cart button that gives no hint the item ships later.

The solution

Cama and Pops read a Pre-order metafield on the product. When it is on, the add to cart button reads “Pre-order”, and each line added to the cart carries a “Sale type: Pre-order” property. The shopper sees it in the cart, and you see it on the order in your admin.

How it works

  1. Add the metafield

    If it is not there yet, add a True or false product metafield with the key trafik-plus.preorder in Settings > Custom data > Products.

  2. Keep selling when out of stock

    On each variant, turn on Continue selling when out of stock, so the button stays active with no stock.

  3. Switch on pre-order

    Open the product, set the Pre-order metafield to True and save. The button changes on the storefront.

Questions merchants ask

  • Do I need a pre-order app?

    No. The button and the pre-order flag come from the theme. You need an app only to take a deposit or charge the shopper later.

  • What do I do when the stock arrives?

    Set the Pre-order metafield back to False. The button goes back to Add to cart.

  • Why does the button still say Sold out?

    The pre-order button only shows on a variant that can be sold. Turn on Continue selling when out of stock, or add stock.