Starting with v3.5 the small search box (SmallSearchBox08.asp) will display a waiting dialog window while search results are loading. If you have moved your home page to the site root this new feature will not function properly. This document contains information about how to retain the waiting dialog box on your custom home page.
The following assumptions are used in this section:
The following is a list of tasks to be performed. Please make sure you follow these instructions carefully. Please also note that Early Impact does not provide technical support on implementing these code changes.
Some of the steps below assume that you are using Adobe® Dreamweaver®. If not, you can perform the same tasks manually (e.g. change links for files and folder so that they point to the correct location).
<%
Response.Write(pcf_InitializePrototype())
response.Write(pcf_ModalWindow(dictLanguage.Item(Session("language")&"_advSrca_23"), "small_search", 200))
%>
… and replace them with:
<link href='ProductCart/pc/screen.css' rel='stylesheet' type='text/css' />
<script type='text/javascript' src='ProductCart/includes/javascripts/highslide.html.packed.js'></script>
<a href="javascript:;" id="small_search" onclick="return hs.htmlExpand(this, { contentId: 'modal_small_search', align: 'center', width: 200 } )" class="highslide"></a>
<div id='modal_small_search' class="highslide-maincontent">
<div align='center'>Searching... Please Wait.</div>
</div>
<script language="JavaScript">
<!--
function pcf_Close_small_search() { var t=setTimeout("hs.close('small_search')",50) }
function pcf_Open_small_search() { document.getElementById('small_search').onclick() }
hs.graphicsDir = 'productcart/pc/images/highslide/';
//-->
</script>
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:
Here is an example using one of the demo stores that allow you to test our shopping cart software on the Early Impact Web site. In this example, the “productcart” folder was renamed “apparel” (you will be running a search against the demo store that showcases our Apparel Add-on).