Auto Complete number of products displayed

Good morning everyone,

I need to change the amount of records displayed in autocomplete according to the screen size.
In this case, I want to keep 6 products displayed in auto complete, but if I’m in mobile screen, I only need to display 3 products.

Does anyone know where to change this in the code?
On the algolia dashboard I have the option to change the amount, but it affects any screen size.

Hi @fernando

In order to customise the Shopify implementation of the autocomplete for this purpose you would need to manually update the relevant files. Detail of this can be found in the docs here.

Are you using v0 or v1 of the autocomplete?

I hope that this helps?
Mike

1 Like