Item Page Options
To support potentially large numbers and varying needs of products and product catagories, there are multiple means of the pages returned by an item search. This note outlines page choice management.
Large number of products found
A variable "!jit=0;vListMore!" provides a means of navigating to records if the number found in a search exceeds the Max Quantity in WebClerk Preferences. This variable lists the choice in groups of 10 records.
This is how it looks in the html page:
<TABLE BORDER=3 CELLPADDING=3 WIDTH=510 bordercolor=#FFCC00>
This is how it displays in the Browser:
1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - Next 10
NOTE: In older versions of WebClerk this feature may not have existed or may have existed when using the variable !jit=0;vText8!.
Page Priority for Lists
When item lists are generated using the default search engines, they are gererated using the same item list page, which is ItemList.html. Since this is the default, a line of HTML is not needed in the ItemSrch.html page to specify this list page. You may, however, desire to generate seperate list pages based upon product types, in order to personalize each item list. This may be done by adding an additional line of HTML into the ItemSrch.html page. Thus, for each separate list page you want to generate, you can have a list page associated with it.
Shown below is the text in a standard ItemSrch.html page. The additional line of HTML to change from the default ItemList.html page to an item list page specically for one product type (kayaks) is highlighted.
<FORM action="/item_List/" method="GET" target="Main_Frame">
<INPUT TYPE="hidden" NAME="jitUser" VALUE="!jit=0;vlEventID!">
<INPUT TYPE="hidden" NAME="jitPageList" VALUE="KayakList.html">
<INPUT TYPE="hidden" NAME="jitSort" VALUE="4;7;1">
<INPUT TYPE="submit" NAME="SUBMIT" VALUE="Find">
NOTE: jitSort specifies the fields by which to sort the selection.
In a URL the list page may be specified as illustrated below (the order of items is important):
<TD Width=60 height=11>
NOTE: Use the '&' symbol to seperate what you are searching for and the page you are calling.
Page Priority for a Single Item
The normal priority for calling Item pages is:
1. Based on the WebPage number specified in the Item Record.
a. WebPage value = 0, uses the "ItemRec.html" page.
b. WepPage value = ##### (some number), uses the "ItemRec#####.html page.
NOTE: Make sure you have an ItemRec page in your jitWeb folder matching any Item page calls being made.