2

I need to use an organization's legal name for invoicing. I have already customized the invoice template for many other fields, but cannot see how to insert Legal Name as a token.

I note this 10 year old forum posting saying that the Legal Name field was not exposed to the token system: https://forum.civicrm.org/index.php?topic=832.0 Is this still the latest answer?

I know I could add this to my custom field set for organization financial info, but I would rather not duplicate existing field names.

Likewise I can put the Legal Name in the Organization name field, but that renders the Legal Name field redundant (and gives me long, unwieldy org names)

We're running 4.6.24

5

I order to use legal_name against your message template the best way would be enabling CIVICRM_MAIL_SMARTY to 1 in civicrm_setting.php

By doing this you can access {contact.legal_name} in your message template

I did made a test against Version 4.7.15 which worked. so please give a try

Reference: https://wiki.civicrm.org/confluence/display/CRMDOC/Smarty+in+mail+templates

I guess this helps!!!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.