Documentation / Plugins / WooCommerce / Codex / Snippets / Theming Snippets 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. Was this article helpful? Yes ☺ No ☹ Your email address What was helpful? Or not?