Ajax/jQuery autocomplete in search box (Shopify)
Ajax/jQuery autocomplete in search box (Shopify) I am looking to get autocomplete setup on my search bars within my Shopify shop- this uses Liquid and ajax I found this tutorial, and implemented it as it says, however it is not working, nothing gets autocompleted on any search bar on the site- I think it may be quite old and was written before the updates/changes to Minimal/Shopify search functionality. https://help.shopify.com/themes/customization/store/enable-autocomplete-for-search-boxes I can follow it through with Chrome dev tools, and it seems like it gets stuck where it adds the search-results list $('<ul class="search-results"></ul>').appendTo($(this)).hide(); , this doesn't appear when tracing the HTML of the page. This means that when it later tries to find this list var resultsList = form.find('.search-results'); it doesn't find it, and thus cannot populate with items. $('<ul class="search-results"></ul...