How can i display a message when a product is out of stock but still selling

New Member
6 0 0

I want to be able to have a custom message saying "Available on backorder. Please allow 3-4 weeks for delivery" which pops up on products that i have clicked "continue selling while out of stock" any help would be appreciated. Is there also a way that orders which are purchased through sold products have their own delivery method?


Use the following code in your product template, you'd need to place it where you want it to be.

basically its just saying, unless (opposite of if). If the variant isnt > 0. Then do the inner code. In this case show the text. Which I wrapped around a span so you can stylize it. Just add a class



  {% unless variant.inventory_quantity > 0 %}
    <span>BE BACK IN 3-4 WEEKS :)<span>
  {% endunless %}




If my answer was helpful please Like and Accept my post as the Solution
Need help customizing your store? Contact me on email at