Twirls, but doesn't load the cart page - same bug happens on the demo page sometimes.
I discovered this small bug when I wanted the cart to do the same function as the "0 ITEMS - $0.00" part by pasting
- Code: Select all
href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', GKTPLNAME); ?>"
- Code: Select all
<div id="btn-cart">
<a class="cart-contents" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', GKTPLNAME); ?>">
<?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?> - <?php echo $woocommerce->cart->get_cart_total(); ?>
</a>
<i class="gk-icon-cart-add" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', GKTPLNAME); ?>"></i>
</div>
All this happened in layout/header.php
Is there anything I can make the cart popup appear for both " 0 ITEMS - $0.00" and the cart icon ?
Thank you