What's your biggest current challenge? Have your say in Community Polls along the right column.

Order Tag on packing slip doesn't show

Solved

Order Tag on packing slip doesn't show

Ann_Coffee
Visitor
2 1 1

I'm trying to add an order tag to print on the packing slip - we print through Order Printer so I've edited the template through that. But when printing the packing slip, it just shows "Tag:" without the actual words from the order tag. 

 

The code looks like this:

 

  <h3 style="margin: 0 0 1em 0;">Shipping Details</h3>
  <div style="margin: 0 0 1em 0; padding: 1em; border: 1px solid black;">
    <p class="text-align-right">
    <strong>Tags:{{ order.tags }} </strong><br/>
      </p>
    <strong>{{ shipping_address.name }}</strong><br/>

 

And looks like this when printed:

Screenshot 2024-05-03 at 11.26.30.png

Accepted Solution (1)
Ann_Coffee
Visitor
2 1 1

This is an accepted solution.

That worked a treat! Thank you!! 

View solution in original post

Replies 2 (2)

JoesIdeas
Shopify Partner
2446 225 662

Try just using {{ tags }}

 

On notification variables you don't need the "order.", so you probably don't need it there as well.

 

Reference: https://help.shopify.com/en/manual/orders/notifications/email-variables

• Creator of Order Automator [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics
Ann_Coffee
Visitor
2 1 1

This is an accepted solution.

That worked a treat! Thank you!!