For eCommerce, the productList tqTag enables tqAdmins (with suitable permissions) to enter products into the product catalog.
<tqtag name="productLists0" type="productList" maxItems="1" dynamicGrow | pageMainProduct >
...
</tqtag>
Example 1 - productList tqtag use inside product page
<tqtag name="productLists0" type="productList" maxItems="1" pageMainProduct >
<div>
<ul>
<li>Is Sale</span><tqoption type="onSale" alternative0="no"><img src="images/{!yes!}0" alt="img" /></tqoption></li>
<li>New In Website</span><tqoption type="new" alternative0="no"><img src="images/{!yes}0" alt="img" /></tqoption></li>
<li>In Stock</span><tqoption type="inStock" alternative0="no"><img src="images/{!yes!}0" alt="img" /></tqoption></li>
<li>Is BestSeller</span><tqoption type="bestSeller" alternative0="no"><img src="images/{!bestSeller-yes!}0" alt="img" /></tqoption></li>
<li>Is Gift</span><tqoption type="gift" alternative0="no"><img src="images/{!yes!}0" alt="img" /></tqoption></li>
<li>Is Deliverty</span><tqoption type="freeShipping" alternative0="no"><img src="images/{!yes!}0" alt="img" /></tqoption></li>
</ul>
<div>
<a href="@productMediumImage@">
<img src="@productMediumImage@" alt="img" id="productBigPic" />
</a>
</div>
</div>
<div>
<p>@productName@ | catalog #: @catalogID@</p>
<p>@shortDescription@</p>
<form method="post" id="f2" action="@shoppingCartSection@&@addToCartAction@">
<div>
<table border="0" cellpadding="0" cellspacing="0" style="display:block;">
<tr>
<tqoption type="productCustomProperties" maxItems="10" alternative0="@noAdditionalProducts@">{!
<td >
<div class="item">
<p class="norm11" >@customProductName@</p>
<img src="@customProductSmallImage@" height="40" alt="img" />
<p class="red11B">@customProductPrice@ @currency@<span class="red9B"></span></p>
<input name="additionalID[]" id="additionalID@lineItemID@" type="checkbox" value="@lineItemID@" onclick="addRemoveExtra('additionalID@lineItemID@','@customProductPrice@');" class="chk2" />
</div>
</td>!}0
</tqoption>
</tr>
</table>
</div>
</div> <!--scrollHold_2 -->
<p class="bold12 center">Real PRice : @realPrice@ @currency@</p>
<p class="red15B center">Price in website : @ourPrice@ @currency@</p>
<p class="red12B center">savings : @yousavemoney@ @currency@ (@yousavepercent@)</p>
<p class="bold12 center">product extras price : <span id="extraPrice">0</span> @currency@</p>
<br />
<input type="hidden" name="quantity" id="quantity" value="1" />
<div class="addtoBag_btn"">
<a href="javascript:submitForm('f2');">@buyNow@</a>
</div>
</div>
@content@
</tqtag>
Example 2 - productList tqtag via auto pilot or caregory page
<tqtag name="productDynamicGrow" type="productList" maxItems="3" dynamicGrow >
<div>
<img src="@productSmallImage@" alt="" />
<h3>@productName@<br />@shortDescription@<br />price: @priceInUserCurrency@ @userCurrency@</h3>
<a href="@productLink@">Read More</a>
</div>
</tqtag>
With the productList tqtag you can use the following tqoptions:
bestSeller,
freeShipping,
gift,
head,
if,
inStock,
lastItemInRow,
morePics,
new,
onSale,
siteHaveBetterPrice,
tail.