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 %}