Code Samples for Promotions that Use Logical Operators
Buy two of product X or buy two of product Y (OR operator)
The following promotion uses the logical OR operator at item matcher level. Each of the following combinations satisfies the condition:
- 1 product X + 1 product Y
- 2 product X
- 2 product Y
Request
Response
Example request
Get percentage off X category, excluding an item (AND, NOT operators)
Request
Response
Example request
Get X% off all brand X, except X products in brand Y (OR, AND, NOT operators)
Request
Response
Example request
X% off storewide except product Y or product Z or any items in category C
Request
Response
Example request