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 an or logical operator and && for an and logical operator.


Not a subscriber? Subscribe now.

Example 2


Not a subscriber? Subscribe now.