Conditional operator in email template variables
Posted: Wed Apr 27, 2016 12:58 am
A conditional operator within template variables would help to create more versatile/customized emails. Something like [IF:condition:then_text:else_text].
For example: [IF:[REFERRER]="AirBNB":"some payment or cancellation instructions text for AirBNB bookers":"some text for other bookers"].
I am aware that multiple auto-action emails using different triggers could achieve something similar in most cases, but it ends up with many different emails more difficult to maintain.
For example: [IF:[REFERRER]="AirBNB":"some payment or cancellation instructions text for AirBNB bookers":"some text for other bookers"].
I am aware that multiple auto-action emails using different triggers could achieve something similar in most cases, but it ends up with many different emails more difficult to maintain.