Total sales shown on web site front end

Q: I want to output the total sales on the front end. Is there a function I can use for this, also it would be the total for processing sales not pending, etc. I’m going to use Jigoshop for a large project that involves the customer base knowing the total sales.

A: Total sales are a post meta so you can fetch it just like any other using get_post_meta like so:

<?php echo get_post_meta($post->ID, '_js_total_sales', true); ?>