Hide pricing for guests and users without "Approved" tag

Hi everyone,

We are looking to hide pricing and add to-cart buttons for guests and customers that do not have “Approved” as a tag on their profile. Only users with the approved tag should be able to view pricing on our website or use the add to cart button. I am getting a little lost here, so I would appreciate any help!

Hi @NicholasW there is a lack of detail others need to know to get anywhere near a specific solution.

https://community.shopify.com/c/shopify-design/help-us-help-you/td-p/668159

If you need direct help for the customization done you can contact me directly be mail, in signature, please provide context: store url, theme name, post url or customization detail (like apps that inject pricing buttons,etc)

This is a common topic that you can research that gets used for “content gating” , such as wholesale or membership sites. But implementation will vary by theme, apps used, etc etc.

Example, https://community.shopify.com/c/forums/searchpage/tab/message?q=wholesale%20customer%20tags&noSynonym=false&collapse_discussion=true

tags are the common flag used but metafields, can also be used.

:bomb: Be aware there is a difference between just hiding info with CSS and not sending it to the customers browser at all by modifying theme code directly. Alot of quickfixes just hide things with CSS in the users browser which may not be suitable for some products or business contracts. Further be aware when using the online sales channel the a published products price is ALWAYS present in the ajax api; just add .json to the end of a products url-handle to see this case.