Hi Alexander,
Thank you for your reply. I understand it’s possible to create a variable and use it an email template like {var:variableName}. I was just curious if there was a way to bypass that step of defining a variable and setting the variable.
Ex:
var fullName = "";
function setFullName(firstName, lastName) {
fullName = firstName + " " + lastName;
}
function getFullName(firstName, lastName) {
return firstName + " " + lastName;
}
Instead of calling the setFullName function first then using the variable name fullName in the email template, I was wondering if there was a way to just use getFullName itself in email template.
Hope I made things clear.