GET note_attributes on notification emails

Solved
jeffersoncavalc
New Member
2 0 0

Hi,

In this API: https://biossance-br.myshopify.com/admin/api/2020-01/orders.json?ids=2092402344006, we have the field: note_attributes. How do we bring that value into notification emails?

We tried:

{{ note_attributes }}
{{ order.note_attributes }}
{{ order.note_attributes[0]. value }}

But no value returned.

Can you help us?

Tks

Accepted Solution (1)

Accepted Solutions
_JB
Shopify Staff
Shopify Staff
836 99 211

This is an accepted solution.

Hey @jeffersoncavalc,

 

The proper syntax for that should be {{ attributes.attribute_name }}.

 

So for that order it's {{ attributes.house_number }} and {{ attributes.neighbourhood }}.

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 4 (4)
_JB
Shopify Staff
Shopify Staff
836 99 211

This is an accepted solution.

Hey @jeffersoncavalc,

 

The proper syntax for that should be {{ attributes.attribute_name }}.

 

So for that order it's {{ attributes.house_number }} and {{ attributes.neighbourhood }}.

JB | Solutions Engineer @ Shopify 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

jeffersoncavalc
New Member
2 0 0

Tranks 🙂

discern
New Member
1 0 0

Can you confirm this is still working? We have note_attributes and this code doesn't seem to work on our templates.

alexrafuse
New Member
2 0 1

Any update here? This doesn't seem to be working for me either