Integrated Product System Version 1.1    

<<< Contents

Template Reference

Tag List
Please note:

  • All tags are case sensitive
  • All tags must be valid XML ie, either a pair of tags (open and close) eg,  <aw:deeplink>Text of picture</aw:deeplink> or a single tag with closing / eg, <aw:deeplink />
  • Italicised text indicates where you should substitute the text in italics with your own code or text
Tags for Displaying Results and Browsing Categories
Explanation
   
<aw:brand /> Displays the brand name or manufacturer of the product.
<aw:breadcrumb /> Displays the current category in the overall hierarchy
<aw:deeplink /> or Displays the name of the products as a hyperlink to where the user can find out more and buy the product
<aw:deeplink> linktext or image Activates your linktext or image as a hyperlink to where the user can find out more and buy the product
  <aw:deeplink:status />  
Used with onMouseOver and onMouseOut javascript events. Displays the link in the status bar when the user rolls over a link, without the awin1.com code. This helps the user to see where the links goes to. Code example:

</aw:deeplink>  
<aw:category /> Displays the current category (when browsing only)
<aw:category:link /> Displays the URL to display the current category
<aw:category:name /> Displays the current category name
<aw:delivery /> Typical delivery period for the product
<aw:description /> Displays the description of the product. See also promotional text, as these may be the same.
<aw:keywordsearch /> Displays the keyword submitted for a search (if given)
<aw:language /> Displays the language for the product information if given
<aw:image /> Displays the image associated with the image
<aw:matchingcats /> Displays the categories that contain products matching a search
<aw:merchantid /> Displays the id of the merchant
<aw:merchantprogram /> Displays the name of the merchant selling the product or service
<aw:name /> Displays the name of the product
<aw:nexthref /> Displays the URL for the next page of search results
<aw:nextlink /> Displays a next link if your search returns more than the max number results allowed
<aw:numrecords /> Displays number of records returned by a search
<aw:previoushref /> Displays the URL for the previous page of search results
<aw:previouslink /> Displays a previous link if your search returns more than the max number results allowed
<aw:price /> Displays the price of the product in £sterling
<aw:products /> or
<aw:products> other tags </aw:products>
Displays all results returned. If you use the single tag, it will return the results as table rows, one product per row. If you use the tag pair you can place other tags inside that pair to format exactly how you would like the results to appear
<aw:products:columns>x</aw:products:columns> Can only be used inside the <aw:products> </aw:products> tags. Specifies how many columns to use to display products. Change x to numeric value for number of columns.
<aw:promotionaltext /> Displays the short promotional text that describes any promotion associated with the product. NB. If the merchant does not provide this it will be the same as the description for the product. Either check this and display as you wish or use one or the other
<aw:resultstitle /> Displays the number of records found and those currently being displayed eg, 1-30 of 350
<aw:subcats> Displays any subcategories for the current category
  <aw:subcats:link />  
Displays URL to category
  <aw:subcats:name />  
Displays name of category
  <aw:subcats:count />  
Displays number of products in a category
  <aw:subcats:columns>x</aw:subcats:columns>  
Specifies how many columns to use. Change x to numeric value for number of columns.
</aw:subcats>  
<aw:toplevelcats> Displays the top level categories. Use nested tags below for individual items
  <aw:toplevelcats:link />  
Displays URL to category
 
  <aw:toplevelcats:name />  
Displays name of category
 
  <aw:toplevelcats:count />  
Displays number of products in a category
</aw:toplevelcats>  

Tags for Building Search Forms
Explanation
<aw:searchform:catlist /> Displays a list of top level categories as a select list
<aw:searchform:merchantlist /> Displays a list of the merchants who provide your data as a select list
<aw:searchform:keywordsearch /> Returns any keywords searched for so that you can display this at the top of search results pages.
<aw:searchform:limitlist /> Builds a list of numbers of results
<aw:orderbylist /> Builds a list of fields by which search results can be ordered eg, price

Introduction | Upgrade Instructions | Quick Start | Installation & Usage | Including results in existing pages | Template Examples | Template Reference | Functions | API | Version History