Jigoshop minicart
Recently I was working on an e-Commerce WordPress theme and I needed to add a minicart on top. The e-Commerce plugin I used for that theme was jigoshop and they provide only a widget cart and a full page, so I came with a solution. The code is bellow:
<?php echo sprintf(_n('%d item - ', '%d items - ', jigoshop_cart::$cart_contents_count, 'avtdr'), jigoshop_cart::$cart_contents_count); echo jigoshop_cart::get_cart_total(); ?> <a href="<?php echo sprintf(jigoshop_cart::get_checkout_url()) ?>" class="button" ><?php _e('Checkout', 'avtdr') ?></a> <a href="<?php echo sprintf(jigoshop_cart::get_cart_url()) ?>" class="button" ><?php _e(' View Cart ', 'avtdr') ?>

Dany
Posted on Thursday 19th April, 2012, 5:46am
Hello,
I’m french,
Where to copy the code ?
Create new widget ??
Thank you
Alex Gurghis
Posted on Thursday 19th April, 2012, 2:03pm
Add it in the place you want to have the minicart. In my case it’s in header.php