Logical Operators
While Comparison Operators can only compare two values, logical operators can be used to join multiple conditions.
Two types of operators are supported; or
and and
. Two or more logical operators can be used to evaluate an expression.
NOTE: when using Einstein Email Recommendations in AMPscript statements to compare a constant, product, or catalog attribute, use
||
for anor
logical operator and&&
for anand
logical operator.
Not a subscriber? Subscribe now.
Example 2
Not a subscriber? Subscribe now.