[ORDER PRINTER DESIGN] Display customers' custom metafields on invoices

Hi there ! :slightly_smiling_face:

I am trying to create templates for invoices. I need to show some data about the customer for which I created custom metafields in the dedicated Customers section :

they have those definitions :

I am trying to retrieve the value in my template rendering on order printer but it won’t work..

Here’s what I tried :

**VOTRE CONSEILLER** 

  {{ order.customer.metafields.custom.adresse_mail_conseiller  }}

  {{ customer.metafields.custom.adresse_mail_conseiller  }}
  
  {{ order.customer.metafields.custom.nom_conseiller  }}

  {{ customer.metafields.custom.nom_conseiller  }}

Can someone tell me where is my mistake ?

Thanks a lot for your help :slightly_smiling_face:

1 Like