Show secret link to specific customers

PHOTO EMBED

Sun Nov 06 2022 12:47:43 GMT+0000 (UTC)

Saved by @avelo #shopify

{% assign vip_customer = false %}
{% if customer %}
 {% for tag in customer.tags %}
  {% if tag == 'VIP' %}
    {% assign vip_customer = true %}
   {% endif %}
 {% endfor %}
{% endif %}
 
{% if vip_customer %}
 <a href="/pages/secret-link">Secret Link</a>
{% endif %}
content_copyCOPY