Display TypesTYPE=search
'TYPE=search' presents buyers with a simple search interface. Through this interface, buyers can search a supplier's Order Online database by keyword or product number.
Search results display in the 'TYPE=list' format.
A customized template can be created in which to display the search results. Local Syntax
<!-- SMARTCAT START
AZ=xxxxxxxx
TYPE=search
SMARTCAT END -->
Portable Syntax
<a href="smartcat.cgi?az=xxxxxxxx&type=search">TYPE=search displays as follows:
TYPE=search_order
'TYPE=search_order' is similar to the search display type. Through this interface, buyers can search a supplier's order Online database by keyword or product number. 'TYPE=search_order' displays the same as 'TYPE=search', but results are returned in the 'TYPE=list_order' format.
Local Syntax
Portable Syntax
A more flexible, design friendly, method of implementing search functionality in Custom e-Catalogs can be carried out utilizing standard form coding as follows:
<form method='POST'
which displays as:
In the sample code above, products indicated in bold are variables that are either required and/or can be modified to meet specific requirements.
Note: As described in the 'Syntax' section of the Custom e-Catalog Specifications, when used in a Thomas Register-hosted catalog, the 'action=' URL should be edited to:
...action='smartcat.cgi?az=xxxxxxxx ...
A search can be hard coded into a Custom e-Catalog call. This can be useful if there are a set of products that can be identified by a keyword. Using this method the products do not have to be individually coded into the call, and as new products meeting the 'keyword' criteria are added to an advertiser's Order Online program, they will automatically appear in the results.
To implement this feature, two additional additional parameters are added to a standard 'type=list' or type=list_order' call:
key = keyword or part (ptno)
Local Syntax
|
Portable Syntax
<a href="smartcat.cgi?az=xxxxxxxx&type=list_order&key=keyword&keyword=value+being+searched">
Example
<!-- SMARTCAT START
AZ=73824856
TYPE=list_order
KEY=keyword
KEYWORD=Crystal Clear
SMARTCAT END -->
OR
<a href="smartcat.cgi?az=73824856&type=list_order&key=keyword&keyword=crystal+clear">
Click here to see the results of the above example
Copyright © 2002 Thomas Publishing Company