Last active
March 10, 2017 13:20
-
-
Save marcosnakamine/edca2e953c32f737b4ac414376d2e8db to your computer and use it in GitHub Desktop.
WooCommerce - Get number of items in cart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo WC()->cart->get_cart_contents_count(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment