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
The following code outputs formatted price with currency
wc_price( WC()->cart->cart_contents_total); // Output example $118,000