ansal Posted April 2, 2017 Report Share Posted April 2, 2017 Hello, I need to use an if statement in my email template to compare two values using "equal to" how can i do that ? {% if id = 1 %} This will print out if $id = 1 {% endif %} Link to comment Share on other sites More sharing options...
0 Michael Posted April 2, 2017 Report Share Posted April 2, 2017 Closing as a duplicate post. Link to comment Share on other sites More sharing options...
Question
ansal
Hello,
I need to use an if statement in my email template to compare two values using "equal to" how can i do that ?
{%
if
id = 1 %}
This will
print
out
if
$id
= 1
{%
endif
%}
Link to comment
Share on other sites
1 answer to this question
Recommended Posts