Conditional operators in email templates

It would be very useful if it were possible to add the ability to have conditional statements in email templates.

Just an example:

<if $field_x=“xxx”>Output option 1Output option 2

other example:

<if $field_x>X>Output option 1Output option 2

With this feature the mailmerge functionality would be much better!


Hi there,

Thanks for your suggestion. PDF Templates uses mPDF as it’s core so if you ever have any need to customise, you can view the mPDF docs.