FROM CACHE - en_header

Hide/ Display Specific Product based on Customer Tag?

hp2020
Excursionist
22 0 15

Is there an app that exists that will allow me to hide a specific product from a tagged customer, and also show a specific product to a specifically tagged customer ONLY whilst hiding it from everyone else that doesn't have that tag on their account? 

Replies 6 (6)
MarinaPetrovic
Navigator
494 111 155

Hi @hp2020 , not sure about the app, but there is a custom solution for this:

{% if customer %}
{% if customer.tags contains ‘yourtag’ %}
<style>
#product_element_id{
display:none;
}
</style>
{% endif%}
{% endif %}

 

This code will hide product based in id. 
But it would be great if you could give me an access so I can take a look and tell you exactly where should this be added and how exactly. The code above is just an example - not an exact solution. 

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
hp2020
Excursionist
22 0 15

I would love if you can help me! Willing to hire this out rather than attempt it myself. Can you message me?

KanishkT
Shopify Partner
18 0 0

Hey @hp2020,

You can try the Wholesale Lock Manager app to hide specific product pages, prices or URLs from tagged customers (and/or) non-logged-in customers.

The app also allows you to password protect a specific page(s) - in case you want to show that page to specific customers (that has the access code).

You can see the features of Wholesale Lock Manager app here (demo store): https://wlm.wholesalehelper.store/


Hope this helps 🙂

Marketing Manager at Wholesale Helper
App Store - https://apps.shopify.com/partners/goldj
Website - https://wholesalehelper.io/
Weezio
New Member
2 0 0

Hi, I was wondering if you could help me reproduce the same as mentioned above?

MarinaPetrovic
Navigator
494 111 155

Hi @Weezio , sure 🙂
Can you share your url and explain which product would you like to hide and on which condition (example: if customer contain tags)?

M.Petrovic | Shopify Developer
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Weezio
New Member
2 0 0
Hi,

Thank you so much for helping me! I am currently making a website for one
of my clients, she wants a database filled with themes. So whenever a
customer has bought a certain product, it will show up in their own
personal database. We're still busy with designing the site but this is one
of the roadblocks we came across.

I hope you're willing to help me.

Dear regards,

Marnix Bos