I’m hoping someone can help me please.
We have a customer facing website with a backdoor app for wholesale. This works well for products.
I have a resources page that has links for trade price lists, stock positions, media content etc. I do not want the public getting hold of this and only want this to show to customers that are logged in and that have the tag “wholesale”. If they’re not logged in or are logged in but are not tagged with wholesale, I don’t want them to see the resources page.
Can someone help me please?
easy way just go to the pages tab click on the page you want and put visibility to hidden
Hi,
It needs to be visible for only customers that has the tag “Wholesale” and not visible for everyone. If i mark as hidden then it is hidden to all.
Oh okay in your main-page.liquid file or wherever your main pages lives you have to put
{%- if page.handle == 'faq' and customer.tags == 'Wholesale' -%}
#
{{ page.title | escape }}
{{ page.content }}
{% elsif page.handle == 'faq' %}
##### sorry you must log in to see data
{% else %}
{{ page.content }}
{% endif %}
I have sent you a DM. I hope that’s ok.