Instantly share code, notes, and snippets.

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