Debut Theme: I tried install a autocomplete search but not working, i using the tutorial: "Enable autocomplete for search boxes"

New Member
1 0 0

Hello,

I have 2 stores, one with Debut Theme and other with Supply Theme. The first i tried install a autocomplete search but not load the menu, i tried change name, etc. but not working.

After use the same tutorial and installed on Supply Theme and in this theme if work. Please help me with this.

Link Store with Debut Theme: https://smarbf.co

Link Store with Supply Theme: https://akwtel5ca.myshopify.com

The tutorial that i am using: https://help.shopify.com/themes/customization/store/enable-autocomplete-for-search-boxes

 

NOTE: IF YOU HAVE OTHER CODE OR TUTORIAL FREE, PLEASE GIVE ME THE INFORMATION. THANKS!

0 Likes
New Member
2 0 1

Hi,

I was in the same situation as you and did some changes to make it work.

In your search-autocomplete.liquid, cut all the code inside <script> and </script>.

Go to theme.js, paste the cut contents inside. There is an existing $(document).ready() function and I pasted the new code after that. Remember to check syntax.

Now, the auto complete search should work.

I noted that the auto-complete doesn't work elegantly on the mobile view, so any one with a better solution please share if possible :)

1 Like
Tourist
12 0 1

For some reason this only appears to work in preview.

When a test the auto complete on my actual website, nothing happens? 

0 Likes
New Member
8 0 0

did u finf a solution?

0 Likes