conditional logic for absolute discounts