I am can't figure out something I think is pretty simple. I have an if/then statement and I want to evaluate three things:

%%[if @PromoCode == "XXXX" OR @Tier == "XXX" AND @Price == "100"  then]%%

What I am looking for is something like this:

(@PromoCode == "XXXX" OR @Tier == "XXX") AND @Price == "100"

How do I express that in an AMPscript If Then statement?

1 Answer 1


Should be something like this:

%%[ if (@PromoCode == "XXXX" OR @Tier == "XXX") AND @Price == "100" then ]%%

%%[ endif ]%%

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .