Can't add the customer's company name in Order Summary template

I’m using the 4.16.1 and I need to have the customer’s company name on the Order Summary but it’s not working. I’ve tried different variables but without luck. As an example the company name has the field id 39:
{{order_info.fields.39}}
{{o.details.39}}
{{ o.company.39 }}

{{ o.user_id.39 }}

{{ o.issuer_id.39 }}​

{{ u.fields.39 }}

{{ u.field.39 }}
{{u.fields.39}}
{{u.field.39}}

{{ user_data.b_company }}
{{ user_data.b_Company }}
{{u.b_company}}
{{ u.b_company }}
{{u.b_Company}}
{{ u.b_Company }}

{{ user_data.company }}
{{ user_data.Company }}
{{u.company}}
{{ u.company }}
{{u.Company}}
{{ u.Company }}

This is what I tried and it’s not working. Can you help?

Hello!

If this is the profile field that you have created, make sure to check to which section it does belong: contact, or shipping/billing and its code. So in the order template, you will need to use the code of this profile field, like {{ u.s_company }}

1 Like