Long-time lurker, first-time poster.
We have three Rewards tiers. All customers who create an account enter the first tier, but their Shopify profiles are not tagged. Once they reach 500 points, they enter the Badass tier and their Shopify profile is tagged with ‘swell_vip_badass’. Once they reach 1000 points, they enter the Boss tier and their Shopify profile is tagged with ‘swell_vip_boss’.
Each tier receives different Birthday rewards points based on their tier. Each of these Birthday rewards require their own unique widget, so I’d like to display only the appropriate widget on the customer’s Account page; i.e., the customer tagged with ‘swell_vip_boss’ only sees the ‘swell_vip_boss’ widget.
It’s working correctly for the two tagged customer segments - ‘swell_vip_boss’ and ‘swell_vip_badass’ - but the third is proving to be tricky, because this segment is not tagged. This is what I’ve done:
{% if customer.tags contains ‘swell_vip_boss’ %}
{% endif %} {% if customer.tags contains 'swell_vip_badass' %} {% endif %} {% unless customer.tags contains 'swell_vip_boss' or 'swell_vip_badass' %} {% endunless %}The {% unless} portion is not showing when I’ve added multiple tags. Should I be using a different script?
Thanks!
