Magento Product Showing when only on Catalogue

Hi there,

I have a magento store and I don’t want some of my products to be searchable as they are replacement products. I put them as visibility “catalog” only and removed search but he products are still showing on autocomplete search and I cannot find a way to not show them. Please help!!

Here is an example of what I am saying:

https://gyazo.com/d3af366c2f09fb224999d4677b7bcc46

https://gyazo.com/5f28aa55a792a7ab91f4186207df0788

Looking forward for a response,

Amir

Hello @amircorcia ,

Unfortunately, only products with visibility set as “not visible individually” are not indexed to Algolia.
If you want to hide some products, you may need to use the backend events :
Doc for Magento1 : https://community.algolia.com/magento/doc/m1/backend/
Doc for Magento2 : https://community.algolia.com/magento/doc/m2/backend/

With the event “algolia_before_products_collection_load” , you will be able to filter the products with visibility set as “catalog”.

Hope this would help.

Best regards.

Damien