I'm setting up an online apparel store and would like to set up a conditional that will check the item count in a particular sku number and output something like this "Hurry, only 9 left!!" when the count is equal or less than say 10.
I tried
{if store_product_stock <= 10}
<p>Hurry, only <em><span class="store_product_stock"></span></em> left!</p>
{/if}
But that doesn't work. Any help would be great!