In instances where you are grouping products using distinct, or when using our Shopify integration, products are indexed with multiple variants. This means that if you hide an an item using a rule but it is still displayed, it's likely that one of the item's variants is being returned.
To ensure that a product is completely hidden, you will need to hide all its variants. The best way to do this is:
- Use the “Hide by attribute” strategy in your rule
- Select the attribute used for grouping variants (ie. the
attributeForDistinct)

Note that for this to work correctly, the attributeForDistinct should be configured as an attributeForFaceting. Steps on how to do this in the dashboard can be found here.
Using our Shopify integration?
This behavior also applies when using the Shopify integration. If the “Hide this result” option does not appear to hide a product, it's usually because only a single variant was hidden.
In that case, apply the “Hide by attribute” strategy using the id attribute. This will hide all variants that share the same Shopify product ID, ensuring the product is fully hidden from results.