Replies: 2
Is it possible to use conditional logic in an email notification? For example, I only want to include payment details if the amount is > 0.
I know I can work with two conditional emails; one is sent if the amount is > 0, the other if the amount is 0. But I would prefer to use just one email with conditional logic, because the content of the two is largely the same.
I see a similar question (https://wordpress.org/support/topic/hide-fields-in-submission-email-when-value-0/), but this one is about hiding fields. In my case, I want to hide a piece of fixed text in the email if a calculation field (the payment amount) is 0.
Can you help?