Displaying fulfillment date in Order Printer

Solved
mooritmag
New Member
2 1 0

I am trying to create a new template In Order Printer which will show the Fulfillment Date if the order has been fulfilled already. I just can't seem to get the date to display. 

I have tried:

  • {{ fulfillment.date | date: "%d/%m/%y" }}
  • {{ fulfillment.created_at | date: "%d/%m/%y" }}
  • {{ line_item.fulfillment.created_at | date: "%d/%m/%y" }}

And obviously, I have been testing it by viewing an order which has been fulfilled.

Accepted Solution (1)

Accepted Solutions
mooritmag
New Member
2 1 0

This is an accepted solution.

Found a solution:

{% for fulfillment in fulfillments %}
  {{ fulfillment.created_at | date: "%d/%m/%y" }}
{% endfor %}

 

View solution in original post

Reply 1 (1)
mooritmag
New Member
2 1 0

This is an accepted solution.

Found a solution:

{% for fulfillment in fulfillments %}
  {{ fulfillment.created_at | date: "%d/%m/%y" }}
{% endfor %}

 

View solution in original post