tqExpert Help


Pre-Requirements knowledge: productList tqtag.

Description: Check if a product is on sale or not.
This tqoption is used inside the productList tqtag.

<tqoption type="onSale" alternative0="the product is not in sale" >{!
     this product is on sale

Another example - using the onSale tqoption to display one image if the product is in saleor another image if the product is not in sale.
<tqoption type="onSale" alternative0="onSale-off.gif" ><img src="images/{! onSale-on.gif!}0" alt="img" /></tqoption>

User Notes

  Add Note

Topic: onSale