Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.
You may want some products to stay for sale without Layers ever recommending them, such as shipping protection, gift cards, or free samples. Use a hidden content rule to keep them out of every recommendation block.
Set the resource type to Product and the surface to Recommendation blocks.
Add conditions that match the products, for example product type equals Shipping Protection, or tags contains no-recommend.
Publish the rule.
Matching products stop appearing in recommendation blocks once Layers finishes applying the rule. They stay visible in search and collections. To hide them there too, create a rule for each of those surfaces. See Hidden content rules.
A dedicated tag, such as no-recommend, makes it easy to add or remove products later from Shopify without editing the rule.
To control exactly which products a block recommends, such as a curated cart upsell, use the Manual strategy and pick the products. Add a fallback block, such as best sellers, for when the picked products are unavailable. See Manual strategy and Fallback chains.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Layers","colors":{"primary":"#607FFD","light":"#AFC0FF","dark":"#3A57E8"},"logo":{"light":"https://mintcdn.com/protoninc/PNs-gxGUVcdBDEEC/logo.svg?fit=max\u0026auto=format\u0026n=PNs-gxGUVcdBDEEC\u0026q=85\u0026s=989e3194cb32f07e7018b8b7186b9007","dark":"https://mintcdn.com/protoninc/PNs-gxGUVcdBDEEC/logo.svg?fit=max\u0026auto=format\u0026n=PNs-gxGUVcdBDEEC\u0026q=85\u0026s=989e3194cb32f07e7018b8b7186b9007","href":"https://www.uselayers.com/?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs-to-site"},"favicon":"https://mintcdn.com/protoninc/qubyNEZK4oJTl9By/favicon.svg?fit=max\u0026auto=format\u0026n=qubyNEZK4oJTl9By\u0026q=85\u0026s=3611d60346e12f15e4684bc60cb69ece","api":{"mdx":{"server":"https://app.uselayers.com/api/storefront/v1"}},"navbar":{"links":[{"href":"https://www.uselayers.com/changelog?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs-to-site","label":"Changelog"},{"href":"mailto:support@uselayers.com","label":"Support"},{"href":"https://app.uselayers.com/dashboard?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs-to-dashboard","label":"Dashboard"}],"primary":{"type":"button","label":"Request Demo","href":"https://www.uselayers.com/demo?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs-to-site"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/uselayers"},"links":[{"header":"Legal","items":[{"label":"Privacy Statement","href":"https://docs.uselayers.com/legal/privacy-statement"},{"label":"Terms of Use","href":"https://docs.uselayers.com/legal/terms-of-use"}]}]},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"protoninc","hasAudioNarration":false,"actualSubdomain":"protoninc","customDomains":["docs.uselayers.com"],"gitSource":{"type":"github","owner":"protonagency","repo":"layers-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aec9466ca078695d82aa007","collectionId":"eccc4149-6768-4a44-9ebd-e8539317fbe7","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aec9466ca078695d82aa007"},"feedback":{"thumbs":true,"edits":false,"issues":false,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"}},"buildId":"6aed47297c703939f36115dc","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"Documentation","count":103},{"language":"default","tag":"Help Center","count":90},{"language":"default","tag":"Merchandising","count":57},{"language":"default","tag":"Developers","count":42},{"language":"default","tag":"API Reference","count":25},{"language":"default","tag":"SDK","count":20},{"language":"default","tag":"Sort Orders","count":18},{"language":"default","tag":"Configuration","count":15},{"language":"default","tag":"Liquid","count":14},{"language":"default","tag":"Search \u0026 Discovery","count":14}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":false,"deflection":{"enabled":true,"email":"support@uselayers.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"help/blocks/exclude-products","slug":"/help/blocks/exclude-products","pageMetadata":{"title":"Exclude products from recommendations","description":"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.","href":"/help/blocks/exclude-products"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`You may want some products to stay for sale without Layers ever recommending them, such as shipping protection, gift cards, or free samples. Use a hidden content rule to keep them out of every recommendation block.`}),`\n`,_jsx(Heading,{level:`2`,id:`hide-products-from-all-blocks`,children:`Hide products from all blocks`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Go to `,_jsx(_components.strong,{children:`Hidden Products`}),` and create a new rule.`]}),`\n`,_jsxs(_components.li,{children:[`Set the resource type to `,_jsx(_components.strong,{children:`Product`}),` and the surface to `,_jsx(_components.strong,{children:`Recommendation blocks`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Add conditions that match the products, for example product type equals `,_jsx(_components.code,{children:`Shipping Protection`}),`, or tags contains `,_jsx(_components.code,{children:`no-recommend`}),`.`]}),`\n`,_jsx(_components.li,{children:`Publish the rule.`}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Matching products stop appearing in recommendation blocks once Layers finishes applying the rule. They stay visible in search and collections. To hide them there too, create a rule for each of those surfaces. See `,_jsx(_components.a,{href:`/platform/hidden-products`,children:`Hidden content rules`}),`.`]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`A dedicated tag, such as `,_jsx(_components.code,{children:`no-recommend`}),`, makes it easy to add or remove products later from Shopify without editing the rule.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`hide-products-from-one-block`,children:`Hide products from one block`}),`\n`,_jsxs(_components.p,{children:[`To exclude products from a single block only, add a block rule with the `,_jsx(_components.strong,{children:`Apply Filter`}),` action that filters out the matching products. See `,_jsx(_components.a,{href:`/platform/blocks/rules-and-safeguards#block-rules`,children:`Block rules`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`choose-which-products-a-block-shows`,children:`Choose which products a block shows`}),`\n`,_jsxs(_components.p,{children:[`To control exactly which products a block recommends, such as a curated cart upsell, use the `,_jsx(_components.strong,{children:`Manual`}),` strategy and pick the products. Add a fallback block, such as best sellers, for when the picked products are unavailable. See `,_jsx(_components.a,{href:`/platform/blocks/strategies#manual-strategy`,children:`Manual strategy`}),` and `,_jsx(_components.a,{href:`/platform/blocks/fallback-chains`,children:`Fallback chains`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/help/troubleshooting/recommendations-thin-or-off-category`,children:`Recommendations look thin, off-category, or missing`})}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Exclude products from recommendations","description":"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.","href":"/help/blocks/exclude-products"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Hide products from all blocks","slug":"hide-products-from-all-blocks","depth":2,"children":[]},{"title":"Hide products from one block","slug":"hide-products-from-one-block","depth":2,"children":[]},{"title":"Choose which products a block shows","slug":"choose-which-products-a-block-shows","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/protoninc/d2da920448b9ce07/track.js"],"subdomain":"protoninc","siteName":"Layers","title":"Exclude products from recommendations - Layers","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-06T03:18:52.165Z","originalFileLocation":"help/blocks/exclude-products.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Layers\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Exclude products from recommendations - Layers\">\u003cmeta data-mint-head property=\"og:description\" content=\"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Layers\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.uselayers.com/help/blocks/exclude-products\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://protoninc.mintlify.site/_mintlify/api/og/v2?division=Recommendation+Blocks\u0026amp;title=Exclude+products+from+recommendations\u0026amp;description=Keep+products+such+as+shipping+protection%2C+gift+cards%2C+or+samples+out+of+recommendation+blocks+without+unpublishing+them+in+Shopify.\u0026amp;theme=a10a6113a77cea89cec87611\u0026amp;signature=8a5a932a93a1a2a607d18cf2c4662161da2ec9a92b5a14a6aff1122c524efb02\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Exclude products from recommendations - Layers\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://protoninc.mintlify.site/_mintlify/api/og/v2?division=Recommendation+Blocks\u0026amp;title=Exclude+products+from+recommendations\u0026amp;description=Keep+products+such+as+shipping+protection%2C+gift+cards%2C+or+samples+out+of+recommendation+blocks+without+unpublishing+them+in+Shopify.\u0026amp;theme=a10a6113a77cea89cec87611\u0026amp;signature=8a5a932a93a1a2a607d18cf2c4662161da2ec9a92b5a14a6aff1122c524efb02\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/protoninc/-Zid9_7urMZu-aPC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Layers\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#607FFD\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.uselayers.com/help/blocks/exclude-products\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/help/blocks/exclude-products.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.uselayers.com/#organization\",\"name\":\"Layers\",\"url\":\"https://docs.uselayers.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/protoninc/PNs-gxGUVcdBDEEC/logo.svg?fit=max\u0026auto=format\u0026n=PNs-gxGUVcdBDEEC\u0026q=85\u0026s=989e3194cb32f07e7018b8b7186b9007\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.uselayers.com#website\",\"name\":\"Layers\",\"url\":\"https://docs.uselayers.com\",\"publisher\":{\"@id\":\"https://docs.uselayers.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.uselayers.com/help/blocks/exclude-products#webpage\",\"url\":\"https://docs.uselayers.com/help/blocks/exclude-products\",\"name\":\"Exclude products from recommendations\",\"description\":\"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.\",\"dateModified\":\"2026-11-06T03:18:52.165Z\",\"isPartOf\":{\"@id\":\"https://docs.uselayers.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.uselayers.com/help/blocks/exclude-products#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.uselayers.com/help/blocks/exclude-products#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Recommendation Blocks\",\"item\":\"https://docs.uselayers.com/help/blocks/bulk-actions\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exclude products from recommendations\",\"item\":\"https://docs.uselayers.com/help/blocks/exclude-products\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.uselayers.com/help/blocks/exclude-products#article\",\"headline\":\"Exclude products from recommendations\",\"name\":\"Exclude products from recommendations\",\"description\":\"Keep products such as shipping protection, gift cards, or samples out of recommendation blocks without unpublishing them in Shopify.\",\"url\":\"https://docs.uselayers.com/help/blocks/exclude-products\",\"mainEntityOfPage\":{\"@id\":\"https://docs.uselayers.com/help/blocks/exclude-products#webpage\"},\"dateModified\":\"2026-11-06T03:18:52.165Z\",\"publisher\":{\"@id\":\"https://docs.uselayers.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.uselayers.com#website\"}}]}\u003c/script>","siteName":"Layers","nav":{"global":null,"anchors":[{"anchor":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"anchor":"Help Center","icon":"map","groups":[{"group":"Getting Started","pages":[{"title":"Install Layers on Shopify","href":"/help/onboarding/install"},{"title":"Dashboard home","href":"/help/onboarding/dashboard-home"},{"title":"Demo store setup","href":"/help/onboarding/setting-up-a-demo-store"},{"title":"Creating a crawler signature","href":"/help/onboarding/creating-crawler-signature"},{"title":"Exporting search data","href":"/help/onboarding/exporting-search-data"},{"title":"Migrate from Boost Commerce","sidebarTitle":"Migrate from Boost","href":"/help/onboarding/migrate-from-boost"}]},{"group":"Catalog","pages":[{"title":"View product details","href":"/help/catalog/view-product-details"},{"title":"See how AI reads a product in your catalog","href":"/help/catalog/how-ai-sees-this-product"},{"title":"View collection details and performance","href":"/help/catalog/view-collection-details"},{"title":"Filter the products list","href":"/help/catalog/filter-products-list"},{"title":"Manually resync your entire catalog","href":"/help/catalog/resync-catalog"},{"title":"Manually resync a single collection","href":"/help/catalog/resync-single-collection"},{"title":"Manually resync a single product","href":"/help/catalog/resync-single-product"},{"title":"Manually resync variant inventory","href":"/help/catalog/resync-variant-inventory"},{"title":"Working with dates","href":"/help/catalog/working-with-dates"},{"title":"Time a product drop","href":"/help/catalog/product-drops"},{"title":"Sort and filter by product reviews","href":"/help/catalog/review-apps"}]},{"group":"Sort Orders","pages":[{"title":"Create a sort order","href":"/help/sort-orders/create-sort-order"},{"title":"Preview a sort order","href":"/help/sort-orders/preview-sort-order"},{"title":"Duplicate a sort order","href":"/help/sort-orders/duplicate-sort-order"},{"title":"Find duplicate sort orders in the dashboard","href":"/help/sort-orders/duplicate-detection"},{"title":"Reorder sort orders","href":"/help/sort-orders/reorder-sort-orders"},{"title":"Manage sort orders in bulk","href":"/help/sort-orders/bulk-actions"},{"title":"Run a sort order A/B test experiment","href":"/help/sort-orders/experiments"},{"title":"Test sort orders by audience","href":"/help/sort-orders/test-sorts-by-audience"},{"title":"How Best Selling works","href":"/help/sort-orders/how-best-selling-works"}]},{"group":"Recommendation Blocks","pages":[{"title":"Manage blocks in bulk","href":"/help/blocks/bulk-actions"},{"title":"View block performance","description":"Open the performance sheet for a recommendation block to review KPIs, trends, position effects, and top-performing products over selectable date ranges.","href":"/help/blocks/view-performance"},{"title":"Exclude products from recommendations","href":"/help/blocks/exclude-products"}]},{"group":"Product Sequences","pages":[{"title":"Create a product sequence","description":"Create a product sequence in Layers to keep related items together on collection pages and search results so they always appear side-by-side.","href":"/help/sequences/create-product-sequence"},{"title":"Edit a product sequence","href":"/help/sequences/edit-product-sequence"},{"title":"Manage product sequences in bulk","href":"/help/sequences/bulk-actions"}]},{"group":"Customers","pages":[{"title":"Manage audiences","href":"/help/configuration/manage-audiences"},{"title":"Manage dimensions","href":"/help/configuration/manage-dimensions"}]},{"group":"Configuration","pages":[{"title":"Navigate settings","href":"/help/configuration/navigate-settings"},{"title":"Manage API access","href":"/help/configuration/manage-api-access"},{"title":"Manage outbound webhooks","href":"/help/configuration/manage-webhooks"},{"title":"Review developer notices","href":"/help/configuration/view-developer-notices"},{"title":"Manage team members","href":"/help/configuration/manage-team-members"},{"title":"Secure your account","href":"/help/configuration/secure-your-account"},{"title":"Manage roles and permissions","href":"/help/configuration/manage-roles-and-permissions"},{"title":"Manage organizations","href":"/help/configuration/manage-organizations"},{"title":"View GDPR requests","href":"/help/configuration/view-gdpr-requests"},{"title":"View billing","href":"/help/configuration/view-billing"},{"title":"Configure autocomplete curation","href":"/help/configuration/configure-autocomplete-curation"},{"title":"Configure search instructions","href":"/help/configuration/configure-search-instructions"},{"title":"Set up Agentic Feedback for AI agents","sidebarTitle":"Set up Agentic Feedback","href":"/help/configuration/set-up-agentic-feedback"},{"title":"Manage store knowledge","href":"/help/configuration/manage-store-knowledge"},{"title":"Config history and version restore","href":"/help/configuration/config-history"}]},{"group":"Ranking Relevancy","pages":[{"title":"Tune signal weights","href":"/help/ranking-relevancy/tune-signal-weights"},{"title":"Create a ranking rule","href":"/help/ranking-relevancy/create-ranking-rule"},{"title":"Manage ranking rules in bulk","href":"/help/ranking-relevancy/bulk-actions"}]},{"group":"Lab","pages":[{"title":"Lab Insights for trends, anomalies, and opportunities","href":"/help/lab/insights"},{"title":"Analytics dashboards","href":"/help/analytics/dashboards"},{"title":"Weekly performance report email","href":"/help/analytics/weekly-report-email"},{"title":"Analytics metrics glossary","href":"/help/analytics/metrics-glossary"},{"title":"Shopify search reports after switching to Layers","href":"/help/analytics/shopify-search-reports"},{"title":"Test text search (with demo profiles)","href":"/help/evaluate/test-text-search"},{"title":"Test image search","href":"/help/evaluate/test-image-search"},{"title":"Test content search with the API","href":"/help/evaluate/test-content-search"},{"title":"Test collections and similar products","href":"/help/evaluate/test-collections-and-similar-products"}]},{"group":"Merchandising","pages":[{"title":"Create a merchandising rule","href":"/help/merchandising/create-merchandising-rule"},{"title":"Edit, disable, or delete a merchandising rule","href":"/help/merchandising/edit-disable-delete-merchandising-rule"},{"title":"Add a banner to a merchandising rule","href":"/help/merchandising/add-banner-to-rule"},{"title":"Create a banner type","href":"/help/configuration/create-banner-type"},{"title":"Manage merchandising rules in bulk","href":"/help/merchandising/bulk-actions"},{"title":"Recover a deleted merchandising rule","href":"/help/merchandising/restore-deleted-merchandising-rule"},{"title":"Dynamic linking for ads","href":"/help/merchandising/dynamic-linking"},{"title":"Feature new arrivals","href":"/help/merchandising/feature-new-arrivals"},{"title":"Demote sale and final-sale products","href":"/help/merchandising/demote-products"},{"title":"Create a semantic redirect","href":"/help/merchandising/create-semantic-redirect"},{"title":"View merchandising rule performance","href":"/help/merchandising/view-rule-performance"},{"title":"Create a variant breakout","href":"/help/merchandising/create-variant-breakout"},{"title":"Edit or delete a variant breakout","href":"/help/merchandising/edit-delete-variant-breakout"},{"title":"Manage variant breakouts in bulk","href":"/help/merchandising/bulk-actions-variant-breakouts"},{"title":"Group facet values","href":"/help/advanced-merchandising/facet-grouping"},{"title":"Sort facet values","href":"/help/advanced-merchandising/facet-sorting"},{"title":"Hide facet values","href":"/help/advanced-merchandising/facet-hiding"},{"title":"View the products behind a facet value","href":"/help/advanced-merchandising/facet-value-products"},{"title":"Set up a pickup in store filter","href":"/help/advanced-merchandising/pickup-filter"},{"title":"Create a product family","href":"/help/product-families/create-product-family"},{"title":"Manage product families in bulk","href":"/help/product-families/bulk-actions"}]},{"group":"Troubleshooting","pages":[{"title":"Merchandising rule not applying","href":"/help/troubleshooting/rule-not-applying"},{"title":"Pinned products not appearing","href":"/help/troubleshooting/pins-not-showing"},{"title":"Login and access problems","href":"/help/troubleshooting/login-and-access"},{"title":"Recommendations look thin, off-category, or missing","href":"/help/troubleshooting/recommendations-thin-or-off-category"},{"title":"Product missing from a filter","href":"/help/troubleshooting/product-missing-from-filter"},{"title":"Fix unexpected search results","href":"/help/troubleshooting/search-results"},{"title":"Collection count doesn't match Shopify","href":"/help/troubleshooting/collection-count-mismatch"}]},{"group":"Misc","pages":[{"title":"Configure search behavior","href":"/help/configuration/configure-search-behavior"}]}]},{"anchor":"Developers","icon":"code","pages":[{"title":"Developers","href":"/developers/overview"}]},{"anchor":"API Reference","icon":"rectangle-terminal","pages":[{"title":"API Reference","href":"/api-reference/browse"}]},{"anchor":"Integrations","icon":"plug","href":"https://www.uselayers.com/integrations?utm_source=docs\u0026utm_medium=referral\u0026utm_campaign=docs-to-site"}]},"basePath":"","title":"Exclude products from recommendations - Layers","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":[],"chunks":[]}