Knowledgebase: Settings

Why doesn't my Quick Search work?

 

Basic Troubleshooting

  1. First be aware that the front-end Quick Search function may not work if you are viewing the store while logged into your Online Store Manager. This is due to the Admin Design bar that is applied to the "View Store" link when you are logged into your administration section. To test its functionality, please make sure to first log out of your online store manager or use a different browser than the one you're logged into the store admin with.
  2. Next, check to make sure the quicksearch is not set to be hidden. Using the left hand navigation menu in the admin, go to Modules and search for the "Quick Search" module. Click on its + icon to expand it and make sure the "Enable Quick Search" box is checked.
  3. (Advanced) If neither of the first two suggestions work, you may need to check some of your templates. This can be the case if you have customized templates that may have the coding removed from them. If this is the case, check for the following:

On your frame.html template

Make sure the following code is present. It should be placed prior to the closing head tag (</head>)

<!--START: quicksearch->
<script type="text/javascript" src="assets/templates/common/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="assets/templates/common/quicksearch/jquery.quicksearch.js"></script>
<link rel="stylesheet" href="assets/templates/common/quicksearch/quicksearch.css">
<script type="text/javascript">
jQuery(function() {
jQuery('#searchlight').searchlight('/search_quick.asp');
});
</script>
<!--END: quicksearch->

Also, within the frame.html template, check to make sure the search frame coding contains the following:

<!--START: FRAME_SEARCH->
<form name="searchForm" method="get" action="search.asp">
<input name="keyword" id="searchlight" type="text">
<input type="submit" name="search" value="GO">
</form>
<!--END: FRAME_SEARCH->


Note
If you are using an older or customized version of a particular template, it maybe be easier to simply copy the frame search code from the updated template present in your common folder. The reason for this is because your theme/template frame search code also contains some design elements that may apply to your particular theme. The example above is just the raw code without design elements.

For the most part, the main change that needs to be made to your frame's search form script is the input id name. This should be listed as 'searchlight' as in the following example:

<input name="keyword" id="searchlight" type="text">


Help Desk Software by Kayako fusion