Hi all,
For my store, the search function does not provide a drop down menu of the word you are searching for.
I have to press enter and then it will bring me to the search page and it will show me all the resembling product/pages/blogs based on this search.
Is the predictive search drop down menu an auto function that I may have turned off?
Or do I personally have to code it into my theme in order to get it.
EBOOST
April 22, 2024, 9:19am
2
Hi @YogaBear ,
You can go to Go to Store Online-> theme → customize → Settings → Search behavior to check
Mine is enabled as well.
Website is : https://www.gathererstavern.com/
EBOOST
April 22, 2024, 9:52am
4
Hi,
I checked your site then saw some javascript errors. search-form.js file hasn’t been included.
May I suggest to update code these steps:
Go to Store Online-> theme → edit code
Sections/header.liquid
add code likes screenshot
Dear EBoost,
Thank you for that but It works only if i go to https://www.gathererstavern.com/search and type it in.
But it still doesnt work the drop down search function that is found in the header.
EBOOST
April 22, 2024, 11:56am
6
Hi,
I saw reset button is missing. So it is showing an error.
I suggest you install Dawn theme. After that go to Snippets/header-search.liquid. Copy code of this file to paste your file.
Dear EBoost,
Omg, thank you it works now !! :DDDD
Bless you kind sir !
EBOOST
April 23, 2024, 3:47am
8
Hi,
When you install a new theme. It will not affect other theme.And I suggest you should be duplicate the current theme to backup before you update code.
Dear EBoost,
I did it thanks to you ! I edited my prev message not knowing you already replied.
Thank you so much