productTypeFilter
For eCommerce, the productTypeFilter tqTag enables site visitors to filter products by type.
productTypeFilter - Syntax
<tqtag name="properttypes1" type="productTypeFilter" title="List of all product types in the ecom system" maxItems="100" >
...
</tqtag>
productTypeFilter - Parameters
| Parameter Name |
Type |
Mandatory |
Strict | Transitional |
Case Sensitive |
Description |
| type |
Text |
+ |
S |
+ |
must be productTypeFilter |
| name |
Text |
+ |
S |
+ |
should be unique tqtag name in the template. no spaces/commas/single quote/double quotes allowed |
| title |
Alpha Numeric |
+ |
S |
- |
The title of the tqtag. This title will be presented only at the back-end system. no spaces/commas/single quote/double quotes allowed |
| maxItems |
Number |
- |
S |
|
The max number of product types to display |
productTypeFilter - Local Variables
irrelevant for this tqtag
productTypeFilter - Examples
Example 1 - prodctTypeFilter basic example
<tqtag name="properttypes1" type="productTypeFilter" maxItems="100" title="List of all product types in the ecom system" >
<tqoption type="head" alternative0="">{!<ul><li class="catHeader"><!----></li><li><b>@propertTypeTitle@</b><ul>!}0</tqoption>
<li><a href="@link@" >@propertyValueTitle@</a></li>
<tqoption type="tail" alternative0="">{!</ul></li><li class="catFoot"><!----></li></ul>!}0</tqoption>
</tqtag>
productTypeFilter - tqOptions
Within the productTypeFilter tqtag, you can use the following tqoptions:
head,
if,
lastItemInRow,
tail.