Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Make sure cart total is can be updated as items are added live
<a href="<?php echo WC()->cart->get_cart_url(); ?>">
<span class="cart_totals"><?php echo WC()->cart->get_cart_total(); ?></span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.