Creating a custom promotion
You can create a custom promotion for a catalogCommerce: a top-level container for catalog entries such as categories, products, and variants (SKUs)., order, or shipping level.
The following example builds a promotion that gives a $10 discountA value that is subtracted from the list price. to customers who order products that contain Bordeaux or Sauternes in the display name.
Using the Catalog Entry:Build Your Own Discount promotion type, construct the purchase condition as follows to use either Bordeaux or Sauternes.
And (Or (DisplayName = Bordeaux, DisplayName = Sauternes))
The formula is translated by the rules engine to the following formula:
And (DisplayName = Bordeaux Or DisplayName = Sauternes)
If the Or is not added first the results are not as desired as the DisplayName would have to contain Bordeaux and Sauternes.
Set the Reward to $10.