How hidden product rules work
Each rule has:- A surface — the customer-facing area the rule applies to. Choose one of Search, Collections, or Recommendation blocks.
- Conditions — a filter group built from your catalog attributes that selects the products to hide.
- An enabled toggle — turn the rule on to apply it, or leave it as a draft while you configure conditions.
Hidden product rules affect discovery only. Products remain published, addressable by handle, and available at checkout. To also block direct access, unpublish or archive the product in Shopify.
Surfaces
Pick one surface per rule. Create separate rules if you need to hide the same products from more than one surface. Search hides matching products from search results and autocomplete suggestions. Collections hides matching products from collection (browse) pages. Recommendation blocks hides matching products from recommendation and product block widgets rendered outside of search and browse. Because each rule targets exactly one surface, you can hide a product from search while keeping it visible in a hand-curated collection or in “similar products” blocks — or the other way around.Conditions
Conditions are built with the same query-builder used elsewhere in the dashboard. You can combine any number of rules with AND / OR logic and pick from your catalog’s attributes. Fields available for conditions come from the same attribute tree used for merchandising rule filtering, so anything you can filter a merchandising rule on can also drive a hidden product rule. Common examples:- Attribute matching: hide products where
product_typeequalsAccessory, or where a tag list containsinternal. - Availability: hide products where
inventory_quantityis0from recommendation blocks so out-of-stock items stop appearing in “you might also like.” - Price bounds: hide products with a price below a minimum from search to keep sample or placeholder listings out of results.
- Vendor or brand exclusions: hide products from a specific vendor from a single surface while leaving them discoverable elsewhere.
product_type = Accessory AND tags contains internal-only.
Preview
The rule editor includes a preview panel. Pick a product from your catalog and Layers evaluates the conditions currently in the editor against that product, showing whether each condition matched and whether the rule would hide the product on the selected surface. Use preview to sanity-check a new rule before enabling it, especially when conditions combine several attributes.Creating a hidden product rule
- Open Configure → Hidden Products in the dashboard.
- Select Create Hidden Product Rule.
- Give the rule a name and, optionally, a description.
- Pick the surface the rule should apply to.
- Build the conditions that select the products to hide.
- Use the preview panel to confirm the rule matches the products you expect.
- Toggle Enabled on when you’re ready to apply the rule. Draft rules stay saved but do not affect customer-facing results.
Managing rules
The Hidden Products index page lists every rule with its name, status (Published or Draft), and surface. From the list you can:- Toggle a rule between enabled and disabled without editing it.
- Open a rule to edit its name, description, surface, or conditions.
- Delete a rule you no longer need.
Hidden products vs. request transforms
Both features can remove products from results, but they run at different times and are best suited to different use cases:- Hidden product rules are evaluated against your catalog and materialized per surface. They are the right choice when a set of products should always be hidden from a surface regardless of who is searching or what they typed. Because eligibility is precomputed, they have no per-request cost.
- Request transforms run at query time. They can inject filters, override sort orders, or otherwise mutate a request based on the shopper’s context — channel, geo, customer segment, or applied filters. Reach for a request transform when the products to hide depend on the request itself. Examples include hiding web-only products from mobile-app traffic, or hiding out-of-stock items only when the shopper sorts by “Best Sellers.”