We're upgrading our support forum. Replies are currently closed. Please view our Documentation and FAQ using the menu above.

Did some more testing over the weekend and realised that the culprit was that the code suggested in the link above (in the Templates topic) seems to be incorrect:
“{if:TAG=0} The TAG value was 0 {else} The TAG value was not 0 {endif:TAG=0}”

I tried different options again and got it to work by excluding ‘=0’ in the endif tag:

{if:DISCOUNT_AMOUNT=0}{else}A discount of ${DISCOUNT_AMOUNT} has been applied to this invoice.{endif:DISCOUNT_AMOUNT}


the_aussweReply To: Conditional tags in templates