How can we hide product variants from appearing in search results?

We’re launching with Agolia, but we’re seeing all the individual variants appearing as options in the search section vs just a single product.

Here’s a video of what we’re talking about

Rather then showing every possible variant of a product, we’d like to just show the single product and then once someone clicks on the result, they can then see the search options. I looked through the app settings and didn’t see an option for hiding this, so here I am!

Thank you !

Hey @mat!

You can use the distinct feature to group different records together. See the documentation for that here:

Have a top day!

Thanks for following up. Could you be a little more specific on what needs to be added for distinct products? If this isn’t the right place to ask, let me know the best support contact to get more specific help with Shopify. Thanks

Actually, if you’ve just installed Algolia in your store, you’ll see at the bottom of the Display tab of the app a checkbox to show only one result per product.
Just tick it and save and you should be good to go!

If this doesn’t work, you might have to reinstall us in your theme in the Settings tab of the app.