tqExpert Help


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="inStockalternative0="the product is out of stock" >{!
    The product aviliable in stock

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="inStockalternative0="inStock-off.gif" ><img src="images/{!inStock-on.gif!}0" alt="img" /></tqoption>

User Notes

  Add Note

Topic: inStock