Try accessing with dot notation like this:
{% for attr in attributes %}
{{ attr.date }}
{% endfor %}
This assumes the attribute name is “date”.
If you’re not sure the exact attribute name you can look at the order JSON data to see:
-
Go to the order details page in Shopify admin and add “.json” to the end of the url (it will look something like hp_yourstore - Administration)
-
Press enter to load the data
-
Search for “note_attributes”. There you should see the name / value pairs of the attributes
If that doesn’t work you could try this:
{% for attr in attributes %}
{{ attr.name }} = {{ attr.value }}
{% endfor %}
In the API it’s name / value pair, not sure if that’s how it works in the order confirmation but either 1 of those should work for you.