Documentation / Plugins / WooCommerce / Codex / Snippets / Theming Snippets How can we improve this documentation? This feature is not an official support channel, if you need support for one of our products please visit our Help Desk and submit a ticket. Your email address How can we improve our documentation? Show cart contents / total To display the cart contents and total in your template use something like: View the code on Gist. To ajaxify your cart viewer so it updates when an item is added (via ajax) use: View the code on Gist.