I'm trying to hide the prices from the items that show up in the search bar and make them viewable to only customers who I have tagged as (wholesale). I got the tags to work for the rest of the site including the collections page, but it still shows up in search.
I tried https://docs.shopify.com/manual/configuration/store-customization/advanced-navigation/return-only-pr... except that for my theme (Debut) there is no /search or <form> tag.
Could somebody help me with the code to write, and where to add this for my theme?
Also, this was written in my search.liquid
Return only products or pages in results:
- Or manually add type=product or type=page to the search URL as a parameter