Order Printer app, adding {{ delivery_instructions }}

Notes show but delivery instructions don’t.

I have used the code shown below but the delivery instructions still don’t show.

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

Is this using a cart attribute the customer inputs during the checkout process?

If so, I would try one of the following liquid variables.

  • cart.attributes
  • order.attributes
  • checkout.attributes

@Slushy_Sam Unfortunatley adding the code sugested doesnt work. It is in the local delivery shipping method in the cart ‘Delivery instructions (optional)’.

Ah! I see what you mean. I do not have that option since I do not do local pickup haha.

if you remove the if statement and !blank and simply have the liquid variable for the instructions, does anything show?

@Slushy_Sam I wish it was that easy XD

I have tried removing the if statement and having just the liquid statement and it does not show.

It doesn’t list {{ delivery_instructions }} in the Liquid variable list for the app. Maybe it’s not supported @Shopify_77 ? Which seems a bit silly.

@giggl3fac3 can you try doing…

{% if delivery_instructions != blank  %}
      

**Delivery information:** {{ delivery_instructions }}

{% endif %}

And see if that works?

@Slushy_Sam thank you but still not working.

@giggl3fac3 darn… I wonder if it’s not a supported variable or something in Order Printer.

From googling, this user had the same issue, and the accepted answer was basically to recode the Notes section into a delivery instruction input.
Not the best if your customers use the notes currently for other stuff, but may be one of your best workarounds. Or create a new cart attribute for the instructions and use one of those in Order Printer instead.

Hopefully, you find some way to get it working though! :slightly_smiling_face:

1 Like

@Slushy_Sam thanks for the help.

I don’t think the notes will be a solution for this site as notes will be shown in the wrong place and could confuse the customer. I will have to create a new cart attribute and remove the existing delivery instructions input.

1 Like