Pre-Requirements knowledge: productList tqtag.
Description: Check if a product is avaialiable in stock or not.
This tqoption is used inside the productList tqtag.
<tqoption type="inStock" alternative0="the product is out of stock" >{!
The product aviliable in stock
!}0</tqoption>
Another example - using the gift tqoption to display one image if the product have gifts or another image if the product does not have gifts.
<tqoption type="inStock" alternative0="inStock-off.gif" ><img src="images/{!inStock-on.gif!}0" alt="img" /></tqoption>