How to filter search by customer tag / item tag?

Topic summary

Goal: Filter Shopify search results by customer vs product tags to segregate “Wholesale” items.

  • Requirements:

    • Customers tagged “Wholesale” should only see products tagged “Wholesale”.
    • Customers without that tag should not see “Wholesale” products.
  • Current issues:

    • Implementations from online guides (including an Envision tutorial) did not work; both customer groups still see the wrong items in search.
    • Temporary workaround sets a seo.hidden metafield on wholesale items and removes the search bar, hurting UX.
    • Store uses the Supply theme; site not shared for review.
  • Suggested approach (latest update):

    • Use Merchandising rules in the “AI Search & Product Filter” app to hide products based on customer tags, e.g., hide “Wholesale” products from customers without the “Wholesale” tag.
  • Status:

    • No confirmation yet that the app-based rule solves the issue.
    • Discussion remains open; unclear if a native (theme/Liquid) solution can fully enforce per-customer search filtering without third-party apps.
Summarized with AI on January 2. AI used: gpt-5.

Hi @threed

You can use the Merchandising rule in [AI Search & Product Filter ](http://AI%20Search & Product Filter |SB)to hide products based on customer tags. It can hide products tagged as “Wholesale” from customers with no tags or other tags.