How to call customer tags using Liquid

I want to add customer tags to our pick list. Is there a way to use Liquid to list the tags that we have added to the customer in Shopify? Are the tags considered objects that can be retrieved?

hi @ShopifyUserTM

    {% for tag in customer.tags %}
  • {{ tag }}
  • {% endfor %}

Hoping that above code will work for you.

Thanks

Hi @ShopifyUserTM

Yes! In Liquid, customer tags can be retrieved using the customer.tags object. If you’re customizing your pick list, you can display customer tags like this:

{% if customer %}

Customer Tags: {{ customer.tags }}

{% else %}

No customer found.

{% endif %}

However, note that Liquid only works in Shopify templates (like order confirmation emails or customer accounts). If you’re generating a pick list in an app or third-party tool, you might need to use the Shopify API instead

Hope this helps :slightly_smiling_face: