Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hey Tech brains,
Would it be possible to hide a B2C collection and show only a B2B collection with a customer B2B tag?
Thanks, Joost
Hi,
You can try this code to hide and show collection based on customer tag
{% if customer.tags contains 'customer tag' and collection.title == 'collection title' %}
{% endif %}
Hi Zaczee,
Thanks! Can you tell where to place this code, please?
Can anyone create this code and tell me where to place this, please?
Looking forward to your replay!