Adding cart attributes to notification emails.

I’m having a hard time adding cart attributes to my notification emails.


  
    

In my emails Ive tried combinations of

‘attributes.numéro_de_commande_interne’ (as my understanding this is the correct way described by the shopify documentation.

‘attributes[‘numéro_de_commande_interne’]’

‘order.attributes[‘numéro_de_commande_interne’]’

‘cart.attributes[‘numéro_de_commande_interne’]’

Here is the email side:

{% if cart.attributes['numéro_de_commande_interne'] %}
            
             #### Internal Order Number
        {{ cart.attributes['numéro_de_commande_interne'] }}
            
           {% endif %}

If anyone can help that would be greatly appreciated.

1 Like