Hello
I have created a new collection that I want to have private to everyone unless then have a tag.
I created the collection and I created a new template and assigned it to the collection
This is what I entered in the collection template
{%if customer.tags contains ‘wholesale’%}
{% section ‘wholesale-collection’ %}
{%else%}
{{ pages.no-access.content }}
{%endif%}
I created the no access page which works fine and directs me there when I am not logged in
When I am logged in with the tag though I receive this error
Liquid error: Error in tag ‘section’ - ‘wholesale-collection’ is not a valid section type
I am not sure what I am doing wrong. Please assist as soon as possible
Thank you so much
here is the link to my site
https://fizzsoakery.com/collections/wholesale