I am trying to apply a discount to a carts total price, but I can only do it to the item base price and not the over all price. I Googled and came across this post in the w
To show the carts total including tax and discounts use this
$ordertotal = wp_kses_data( WC()->cart->get_total() );