"Sum of Amounts" compartmentalizes the qualifying items that may receive a % off discount. It adds up the subtotal amount of all qualified items (up to four Line Items) 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, then 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.
In an effort to supply information as quickly as possible, this article has been published prior to a formal technical review, and is subject to factual, grammatical, and various structural errors. Data may be incomplete, misordered, or incorrect.
This additional disclaimer will be removed upon formal review of this article. The standard Punchh Inc. KB Disclaimer still applies, and can be found at: https://support.punchh.com/hc/en-us/articles/360040100273-Punchh-Inc-Knowledge-Base-Disclaimer