title: Shopify Inventory Display Output on Product Page
body: <p>I've spent much of the day setting up a new shopify site - my first experience with shopify.  Most of it has been pretty straightfoward, but I've found myself somewhat stumped when it comes to showing inventory on the product pages.  I'm using the debut theme, and using the editor to update 'product-template.liquid' </p>
  
  <p>After browsing the docs, I've added the following;</p>
  
  <pre><code>{% comment %} Inventory tracking on product page {% endcomment %}
          &lt;div id="variant-inventory" class="{% unless current_variant.available %} hide {% endunless %}"&gt;
            {% if current_variant.inventory_management == "shopify" and current_variant.inventory_policy != "continue" %}
            We have {{ current_variant.inventory_quantity }} in stock for next-day delivery when you order by 2pm.
            {% else %}
               Out of Stock
            {% endif %}
          &lt;/div&gt;
  </code></pre>
  
  <p>However, this is currently returning 'out of stock' for items that are in fact, in stock.  In addition, what I am hoping to achieve but haven't been able to find documentation for is;</p>
  
  <ul>
  <li>'Items in stock' = We have {{ current_variant.inventory_quantity }} in stock for next-day delivery when you order by 2pm.</li>
  <li>'No inventory, but customer allowed to order' = Order now for delivery within 7 days</li>
  <li>'No inventory, customer not allowed to order' = Out of Stock</li>
  </ul>
  
  <p>Any pointers much appreciated!</p>