Add back order to checkout (Prestige Theme)

Hi there, I would like to add the option to back order some variant products in Prestige theme. Such that on a product some variants are available as normal (add to cart) and some out of stock are available on pre order. Please can someone advise what code is needed and which snippet to enable the back order to show when products/variants is less than 1? Thanks

Hey @JimmyTwoFaces ,

To enable backorders for specific variants in the Prestige theme, you’ll need to modify the product form logic in product-form.liquid or a similar snippet. Here’s how you can do it:

Steps to Enable Backorders for Out-of-Stock Variants

  • Go to Shopify Admin → Products

  • Select the product you want to allow backorders for

  • Scroll to the Inventory section

  • Set “Continue selling when out of stock” for the variants you want to allow backorders for

Modify the Product Form to Show a “Pre-Order” Button:

-Locate the product-form.liquid file in your theme.

  • Find the “Add to Cart” button ( inside the form).

  • Update the code to dynamically change the button text when a variant is out of stock but allows backorders.

Code Snippet to Update product-form.liquid:

  • Add the following code where your “Add to Cart” button is located:
{% if current_variant.available %}
  
{% elsif current_variant.inventory_quantity < 1 and current_variant.inventory_policy == 'continue' %}
  
{% else %}
  
{% endif %}

Let me know if you need help customizing it further!

If I was able to help you, please don’t forget to Like and mark it as the Solution!

Best Regard,
Rajat

HI @JimmyTwoFaces

The checkout page is difficult to customize, so you may need to use a third-party app.

You can try these apps:

  • Back In Stock – Restock Alerts
  • PreOrder Manager | Back in Stock
  • Orderify

I hope this helps

Best,

Daisy

Hi @JimmyTwoFaces !

I run a pre-order and back-order app (Early Bird), so I can shed some light here.

There’s two main approaches to achieving this. There’s a very simple method which doesn’t require an app, but it has some downsides, and then there are apps which can handle this for you.

Without an app, you can simply tick on the “continue selling while out of stock” setting in your Shopify admin on the product variants, and it will allow you to sell the product even below 0 stock. However, the main downside is that the storefront will just show a normal Add to Cart button as if it were in-stock. This can help you achieve the back-order functionality, but it lacks clarity and the customers won’t be aware that it’s a back-order which may have delayed fulfillment. Some custom coding can add a message here, but it’s a manual process and not very flexible across different products/variants.

With an app, you can automate these setting changes, in addition to showing specific back-order information on the product page, and changing the button CTA to something different (e.g. “Add back-order to cart”) so the customer is aware. You can also show custom messaging describing the estimated shipping time, and have this info carry through to checkout and order confirmation emails etc.

Additionally, you have the option of running actual pre-orders, which lets you schedule dates, capture partial payments, apply pre-order discounts etc. Apps like ours have a Free plan too, so you can play around with it and see how it all works on your store before committing to anything.

Hope this helps clarify things! Let me know if you had any other questions, or wanted to chat back-orders/pre-orders in general.