Condition rules decide whether a promotion is active for the current cart. Pick whether all of the rules or any of the rules have to be fulfilled.
| Rule | Description |
|---|---|
Cart value | Compares the subtotal of the cart, for example at least 50. |
Number of items in the cart | Compares the sum of all quantities. An image ordered three times counts as three. |
Number of cart positions | Compares the number of distinct line items. An image ordered three times counts as one. |
Cart contains an image type | Matches when the cart holds at least one item of the selected image types. |
Number of items of an image type | Compares how many items of the selected image types are in the cart. |
Value of the items of an image type | Compares the summed up price of the items of the selected image types. |
Number of items of an image type group | Like the image type quantity rule, but for a whole image type group. |
Cart type | Restricts the promotion to digital, physical or mixed carts. |
Event | Restricts the promotion to carts containing images of certain events. Enter the event folder names separated by commas. Choose whether the cart only has to contain one of those events or whether it may contain nothing but those events. |
Customer user group | Restricts the promotion to members of certain Joomla user groups. Guests are never a member of a group other than the public one. |
To express the cart contains 5 images of image type A and 1 image of image type B, add two Number of items of an image type rules and combine them with all of the rules:
| Type | Image type | Comparison | Value |
|---|---|---|---|
Number of items of an image type | A | at least | 5 |
Number of items of an image type | B | at least | 1 |
All condition rules of a promotion are combined the same way, either with all of the rules or with any of the rules. If you need something the one or the other cannot express, split it into two promotions. Two promotions with the same discount and different conditions have the same effect as one rule that mixes both, and it stays obvious to read months later.