<%
Response.Write(pcf_InitializePrototype())
response.Write(pcf_ModalWindow(dictLanguage.Item(Session("language")&"_advSrca_23"), "small_search", 200))
%> ... and replace them with:
- You are almost done. Since you might include the small search box in a file that does not contain ProductCart store settings, you will need to change two variables in the code. Specifically, locate the string: pcIntPreferredCountSearch =(scPrdRow*scPrdRowsPerPage) ...and change it with:
pcIntPreferredCountSearch = 12
bType = "h" where the first variable indicates how many results should be returned in the search and the second one indicates the way results should be presented. The options for this second variable are:
- h = horizontal
- l = list
- m = list, with multiple add to cart
- p = vertical (one item per row)
- Save the file. \\ You can now include "SmallSearchBox08.asp" in an ASP file that exists in the root of your Web site and have the small search box work from there.