"Sum of Amounts" compartmentalizes the qualifying items that may receive a % off discount. It adds up the subtotal amount of all qualified items In the Line Item Filters (You can add up to four Filters) and applies the discount to only the sum of that amount, not the receipt total.
Each of the up to four Line Item Selectors can be qualified with an optional inline function. These include:
- Maximum Unit Price: When present on the receipt, only the highest-priced item under the umbrella of the Line Item will be discounted.
- Minimum Unit Price: When present on the receipt, only the lowest-priced item under the umbrella of the Line Item will be discounted.
- Exclude: Use this to exclude Line Item from receiving any discounts. (Alcohol, for example).
Leaving these inline function fields blank defaults to the Sum of Amounts, meaning that the % discount (with or without an amount cap) will be applied to the sum of all items on the receipt that belong to the Line Item(s). Based on our above setup, let's take a look at a few examples:
So, if the line item selector has a function attached to it it will discount the items based on the function attached (i.e, Maximum unit price, Minimum Unit price or Exclude) and not the subtotal amount of the entire receipt.