WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How do I Show Number of Items Sold? (2 posts)

  1. josh360
    Member
    Posted 1 year ago #

    I am going to buy a woocommerce theme to run a digital goods type store. If the feature is not built into the theme, i there a line of code I can add to show how many times an item has been downloaded?

    http://wordpress.org/extend/plugins/woocommerce/

  2. bheadrick
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic