I'm making a thematic child theme and need to grab the url for the woocomerce cart. So I looked through their codex and found:
However when I tried using this function in my theme's functions.php like so:
I get that it is an undefined function. So how do I use this correctly to make it work?
Code:
woocommerce_get_cart_url
Code:
<a href="<?php echo woocommerce_get_cart_url(); ?>"><div></div></a>