Displaying Product Availability

General ShopSite user discussion

Displaying Product Availability

Postby extragear » Wed Apr 22, 2009 7:33 am

I am interested in knowing the following:

Lets say you use the inventory feature within Shopsite. And you've modified your template to show whether an item is instock or not on your more information page.

For example your template has the following:

[-- IF PRODUCT.QuantityOnHand "0" --]<span class="sku">Availability:</span> <span class="outofstockstatus">
Out Of Stock</span>
[-- ELSE --]
<span class="sku">Availability:</span>
<span class="instockstatus">In Stock</span>
[-- END_IF --]

So if the quantity on hand field shows zero, then the message out of stock would appear. Otherwise instock message would appear.

Is there a way to add a statement that would indicate that there is no availability information available?

For example, if PRODUCT.QuantityOnHand "". Meaning if the field is blank, then show availability as unavailable?

I tried creating this without success. Any insight is appreciated.

Thanks
extragear
 
Posts: 169
Joined: Mon Apr 02, 2007 10:53 am
Location: Binghamton, NY

Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 138 guests