Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Field Values In Mail Templates Rate Topic   - - - - -

 
  • apr3455
  • Member
  • Members
  • Join Date: 12-Nov 14
  • 27 posts

Posted 05 February 2016 - 10:18 AM #1

Hello,

 

we have two questions:

 

1. How can we display the full country name instead of the 2-digit short code in mails.

In the mail template we have access to the country value, for example: {$company.country}, but how can we display the full country name?

 

2. We have defined a custom contact data field (field type "Radiogroup", values: "private" / "company"). In the mail template we do have access to the selected value via {$account_data.fields[69]}, but the output is a number, not one of our defined values: "private" or "company", how can we display the value text?

 

best regards,

Alex



 

Posted 05 February 2016 - 10:22 AM #2

Hi there,

 

1. How can we display the full country name instead of the 2-digit short code in mails.

In the mail template we have access to the country value, for example: {$company.country}, but how can we display the full country name?

Sol. You can use

{$company_data.country|fn_get_country_name}

-Regards

Himanshu Dangwal



 
  • apr3455
  • Member
  • Members
  • Join Date: 12-Nov 14
  • 27 posts

Posted 05 February 2016 - 10:31 AM #3

Hi there,

 

1. How can we display the full country name instead of the 2-digit short code in mails.

In the mail template we have access to the country value, for example: {$company.country}, but how can we display the full country name?

Sol. You can use

{$company_data.country|fn_get_country_name}

-Regards

Himanshu Dangwal

Perfect, thanks!

 

 

Now we only need the solution to my second question, it should work somehow similar, shouldn't it?