Implementing Autocomplete For Only Collection

New Member
1 0 0

Hi All,

Thank you for taking the time to look at my post!

I would like to build an autocomplete for search only collection.

I tried creating an autocomplete search with Ajax but it only returns products.
I tried setting type='collection' but it didn't work.

Do you know how I can do that?


Thank you for your helping,

Shopify Staff
Shopify Staff
1041 140 167

Hey @KarimaM,


Collections aren't returned in storefront search. Consider using liquid pull out a list of collections, this would speed up the auto complete and avoid an AJAX request.

Notice; Out of office, replies will be delayed until my return. Thanks!
1 Like