I would like to create a block that shows the current user's order totals including all components, as follows:
- Subtotal - Discount or coupon - Sales tax - Total
I would be happy with a block that simply renders the footer of the shopping cart view. I've played around with commerce-line-item-summary.tpl.php, but it only renders the number of items in the cart and the total amount. It doesn't have to be a form, just a summary of the shopping cart totals.
I would like to show this block during the checkout process in a sidebar region.
Any ideas how to create this?