Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created December 24, 2012 02:46
Show Gist options
  • Save tomharrigan/4367230 to your computer and use it in GitHub Desktop.
Save tomharrigan/4367230 to your computer and use it in GitHub Desktop.
Modify cart text in coquette
<div id="btn-cart" class="fr">
<a href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', 'woothemes'); ?>">
<span class="btn-cart-inner">
<?php
echo sprintf(_n('Shopping Tote &ndash; %d item', 'Shopping Tote &ndash; %d items ', $woocommerce->cart->get_cart_contents_count(), 'woothemes'), $woocommerce->cart->get_cart_contents_count());
?>
</span>
</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment