Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.