Simple shopping cart summary
I'm just trying to show the following items of the cart:
- total content count
- current total price
- View cart link
In the shopping cart block view the footer (Commerce Line Item: Line item summary) basically does exactly what I want. I just don't want to show the list of items. I can't simply remove or exclude all the fields that make up the item list because Views complains about that. I could probably just hide the line items using CSS but thats a bit hackish to me. My knowledge on views is a little thin though. I'd like to be able to call something like get_cart_total_cost() and get_cart_item_count() so I could easily create a themed output. If someone could explain how to produce such a result in views that would be fine anyway.
I looked at commerce_cart.module and it does define 'commerce_cart_block' in hook_theme() and does appear to call it in commerce_cart_block_view() but does not appear to define the theme. Which seems a bit odd. Is that just left over from earlier development?
Apologies if this has been answered already but I have been unable to find the answer for myself.