Adding Custom Cart Notes to Packing Slip Template

Hi. I am looking to add a custom “PO #” field I added to my cart page onto the packing slip template underneath the order name. I would like it to show blank if no PO# is used and the PO# if the field is filled out. Any help would be greatly appreciated.

Below is the code on the cart page (this works) and the code I tried using on the packing slip template (this doesn’t work and just shows blank).

Code on the Cart Page

PO # (if applicable)


Code on the Packing Slip

Order {{ order.name }}

PO# {% for attribute in attributes %} {{ attribute}}
{% endfor %}

Hi @elegado , did you ever find a solution to this? Because I need to do the same thing. If you could explain what your solution was that would be very helpful!

I am also having the same problem in December 2021. Shopify has still not addressed this simple issue.