How can I add a product tag to my packing slip?

Topic summary

A Shopify user is trying to display product tags on their packing slips but cannot get the code to work. They’ve attempted a solution from LitCommerce that leaves the tag field blank, despite the tags being visible in their product listings (shown in attached screenshot).

Attempted Solutions:

  • Initial code from LitCommerce failed to display tags
  • Community member ProtoMan44 provided Liquid template code using {% for line_item in fulfillment.line_items %} to iterate through product tags
  • User tested the suggested code in various locations within the packing slip template, but tags still don’t appear

Current Status:

  • ProtoMan44 offered to test the solution on their own store
  • The issue remains unresolved
  • User has expressed willingness to pay someone to implement a working solution
  • Shopify support declined to assist with this customization
Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Hello

Can anyone point me to a solution to add product tags to the packing slip

I have seen one solution already via litcommerce but the code provided when inserted in my packing slips doenst relfect. Simpply stays blank. Unsure if I am doing something wrong or the code is not 100% correct. Shopify help, will not help in this instance

this is the product tag for instance i want to add underneath description ideally on the slip

the only code i have seen so far is :

however this doesnt work

If anyone can help please let me know

Thank you

HI @MSpares
use this code in the slip template, I hope it will work:

{% for line_item in fulfillment.line_items %}
  {% assign product_tags = line_item.product.tags | split: ', ' %}
  

Product: {{ line_item.title }}

  

Tags:

  
    {% for tag in product_tags %}
      - {{ tag }}
    {% endfor %}
  

{% endfor %}
1 Like

Thank you for the reply proto man

I added this code but nothing showed up in the packing slip :disappointed_face:

tried various places in the slip but nothing

1 Like

let me try on my side then let you know @MSpares

1 Like

Ok thank you

Hello, do you know anyone who can do this for me? Happy to pay if someone can