Liquid Code doesn't work on Order Printer invoice

We are using local delivery which has an input field on checkout so users can enter any delivery information such as “ring the bell” or “gate code 3456”.

When we print the packing slip via shopify this is shown along with order notes.

However when we print this via order printer, only the notes show.

I have copy&pasted the liquid used in shopify’s default packing slip template (see below) but for some reason this doesn’t work when it’s added to the order printer templates, despite all other liquid codes seemingly working OK.

{{ delivery_method.instructions }}

The full code is below - as I say, order notes works (it’s in the template already), it’s just delivery instructions.

{% if order.note != blank %}

Notes

{{ order.note }}

{% endif %} {% if delivery_method.instructions != blank %}

Delivery instructions

{{ delivery_method.instructions }}

{% endif %}

Why would this work on one template but not the other?

2 Likes

IM HAVING THE SAME ISSUE

Hello @pinkgerbil and @HALANDAL ,

I would suggest assigning the value to a variable and using the variable instead of the object reference to print out the statement.

1 Like

Hello @pinkgerbil I am having the same problem. Did you find a solution?