- This topic has 4 replies, 4 voices, and was last updated 14 years, 3 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Displaying Sales Count in post or page
eStore is up and running and I’m selling stuff. What I’d like to know is how I can integrate the Sales Count into the posts and pages of my WordPress site.
For example, on the front page, I have a post advertising a digital download. I’d like to add some text that says, “X downloads so far!” where X is the number of downloads of that product pulled from the database i.e. the same value that displays as Sales Count in the Manage Products page (i.e. wp_eStore1.php)
I know it has something to do with this bit of php: return eStore_get_sale_counter
but my php is not good enough to know what to do with that.
Thanks for your help and I’m sure others would appreciate knowing how to do this.
You can use the following shortcodes:
[wp_eStore_sale_counter id=1]
[wp_eStore_remaining_copies_counter id=1]
Remember, all the available shortcodes are listed here:
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
wow…I didn’t realise that shortcodes would do that sort of thing, so I didn’t think to look there. Fantastic! thanks
Can anyone tell me how to have the eStore plugin count free downloads. I have used the download now shortcode to have the user download a free digital file, the the product does not log the download.
I appreciate any help with this. It will help define what our customers are interested in.
If you use the shortcode of ajax squeeze page type form, it should count the number of downloads. Please have a look on this post –