Discount_With_Calculated_Subtotal.php Interfaces, Classes and Traits Discount_With_Calculated_Subtotal Trait for calculating the subtotal of a cart or order.