Instantly share code, notes, and snippets.

Embed
What would you like to do?
Using the cart total as the cart link text
<a href="<?php echo WC()->cart->get_cart_url(); ?>"><?php echo WC()->cart->get_cart_total(); ?></a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment