Introduce edd_get_cart_items_subtotal() function. #2757
Rework how flat amount discounts are applied to each item to take into account subtotal percentages. #2757