All things Shopify and commerce
I have a product, a keyring, which can have additional charms added.
I've set this up through a customisation app to be added when the customer clicks the radio button - all good and working fine.
Except that I don't really want these 'extra' items to be visible in the store as if they can be bought individually, they are there as products only so that they can be added to the order and the additional fee added to the checkout.
Is there a way that they can be set not to show up in search results? I have the extras set up with no tags so they don't come up in the menu, but searching for 'keyring' for example will bring them up in the search results.
Appreciate any help on this. Thank you 🙂
You will have to adjust all templates that output products to skip those products, bearing in mind this will affect pagination in big collections.
Typically you'd use either the products type,vendor,tags or metafields in the logic to identify those products.
Find all the relevant product loops and in the simplest cases use a continue statement to skip that product in the loop:
{%- if product.vendor == "supplier" -%}{%- continue -%}{%- endif -%}
This is staring point code and will not work in all themes and situations.
Merchants needing this customization for their bundling solution can reach me at paull.newton+shopifyforums@gmail.com with store url, theme name, and usecase details.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025