So I am using the simple code:
{% if customer.tags contains ‘vip’ %}
{% section ‘collection’ %}
{% else %}
{{ pages.no-access.content }}
{% endif %}
I have set up my no access page, and tested this. It works, the warning removes for customers with my tag. But for some reason the test product is still showing in the collection to anyone with the link.
I am very confused as to why this is happening as the collection is set up to be viewed by only those tagged.
User | Count |
---|---|
25 | |
20 | |
17 | |
16 | |
15 |