Discussion on WooCommerce Product Stats and Related!

Discussion on WooCommerce Product Stats and Related!

Cart 36 sales

vanquish supports this item


19 comments found.


i just purchased the plugin but unfortunately it was not what i was looking for and need.

Is it possible to get my money back?

Best regards,


the plugin has a demo site that must be used before purchasing in order to be sure it actually fits the user’s needs and expectations. Once purchased, no refund will be granted for such a reason.

Could be a bug in the latest Wordpress + woocommerce example URL: wp-admin/post.php?post=88393&action=edit&classic-editor
Fatal error: Uncaught Error: Using $this when not in object context in /var/www/html/wp-content/plugins/woocommerce-product-stats/classes/com/WCPST_Globals.php:29 Stack trace: #0 /var/www/html/wp-content/plugins/woocommerce-product-stats/classes/com/WCPST_Globals.php(20): wc_shared_add_cost_field() #1 /var/www/html/wp-includes/class-wp-hook.php(292): wc_shared_add_single_cost_field() #2 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #3 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action() #4 /var/www/html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-product-data-general.php(71): do_action() #5 /var/www/html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-product-data.php(42): include('/var/www/vhosts...') #6 /var/www/html/wp-content/plugins/woocommerce/in in /var/www/html/wp-content/plugins/woocommerce-product-stats/classes/com/WCPST_Globals.php on line 29

I’m sorry, but I’m not able to reproduce the issue. Could you try editing the WCPST_Globals.php and replace line 29 with

wp_enqueue_style('wcpst-admin-stared-cost',  WCPST_PLUGIN_URL.'/css/wcpst-admin-stared-cost.css');

Make also sure you are running the latest 3.1 plugin version.

and report me if you still get the issue?

^^ fixes the issue, thank you.

Glad to hear that! I’ve released the new 3.2 version that include that fix!

Not sure what version you are on now as this is on a clients site and there’s no option to update, but 1.6 is throwing depreciated warnings for php 8 so we’ve disabled it for now.

Edit – just seen you’re on version 3 so will contact the client to update it. Probably makes this comment void. Apologies.

No problem! :)

Let me know if you are experiecing any other warning!


The plugin works well… I just have a question:

The sale price in my case is always the price that my customers end up paying, so the purchase price remains at 0 as I want the plugin to always calculate with the sale price…my only issue is that I always get this big RED box in the product stats page that says.. the product hast a purchase price … How can this box be removed…. or am I doing something wrong… I have over 2000 products…

Was it good? :)

Wow, wonderful service! Works perfectly! Thanks a lot for the fast turn around :)

Thank you! :)

for product earnings, please allow the calculation to assume 100% profit and not require a cost price. This is rather simple math.

The product (or at least one of its variants) hasn't a purchase price (in case of variable product, roll over on this box to discover which)

Actually the plugin works in that way. If the cost price is not specified, it is assumed as 0.

However there was an issue that prevented that value to be properly updated.
Please update to the latest 2.9 version that I’ve just released. You can manually download the new version via CodeCanyon or receive as an automatic update by installing and configuring the Envato updater plugin: (here the guide that explains how to configure: ). To manually update just deactivate and delete the old plugin version and then install the new one. Don’t worry you won’t lose any data

Let me know if you still experience the issue.

Is it possible to display only a certain products report on a users dashboard? For example, that user is responsible for the creation of that product and I want to relay how well it is selling automatically – can I set it onto their account and let them view it (and no other products etc)?

I’m sorry but unfortunately the plugin hasn’t such a feature :(

Any chance to simply just get the related product feature without the rest of the features of this plugin?

no unfortunately there is not plan for that.

Hi, can we get a stock status and a sales report on defined period for all variations?

I’m sorry but unfortunately the plugin hasn’t such a feature :(

could you Integrate with analytics

unfortunately the plugin doesn’t not offer such a feature.

Hey there! Just purchased this plugin and ran into a problem right off the bat. Once installed, I navigated to the ‘Stats’ section but I am unable to select a product – there are no products being shown under the ‘Select a Product’ dropdown menu. Any idea about what could be going on?

yes this kind of issue usually is caused by 3rd party plugin javascripts. It happens that some 3rd party javascript libraries are raising errors preventing the WooCommerce Product Stats javascript library to be properly exectuted.

If you send me with a private message (click on my name then use the low-right box) an admin access, I can analyze the page with my tools trying if possible to find the library that is interfering.

In alternative you can also try to disable one by one your 3rd party plugin until you find the one.

Hello. Beautiful plugin. Please let me know if you have a plugin that can create dashboards for Vendors…so vendors can see their stats. Thanks.

Hi, which plugin for multi vendor are you using?

I’m using the one from

Thank you. In case of news I’ll let you know.

Nice Work GLWS =D

Thank you very much :)

Ciao ho provato ad inserire un prodotto con le variazioni, ma quando controllo l ordine venduto non capisco come vedere il prodotto venduto per variabile, mi aiuti? grazie

mi mandi uno screenshot perchè non lo trovo grazie

ok grazie non so perchè prima al posto di s, l , m ecc uscivano codici

Hi I need to improve my woocomerce I need to check the quantity sell by size. Is this option available on your plugin?

suppongo tu sia italiano :)

Si il plugin ti consente di visualizzare le statistiche anche per singole variazioni (in caso di prodotto variabile).
Ad esempio, come puoi vedere anche sul sito demo:
Per il Product 2 per ogni grafico puoi selezionare le specifiche variazioni e visualizzare quindi le loro statistiche.

Ti consiglierei di usare il sito demo per effettuare dei test prima dell’acquisto. Configura un prodotto simile a quelli utilizzati da te nel tuo ecommerce, effettua qualche acquisto ed infine controlla che le statistiche visualizzate sono effettivamente quelle che ti inderessano. Di seguito ti riporto i dati di accesso al sito demo:
user: demo
pass: demo

In caso tu abbia bisogno di ulteriori informazioni, fammi sapere! :)

I already have a Purchase Price field in my installation. By any way, can I make this plugin to fetch data from that particular field from my installation?

there is no code to achieve that purpose. Furthermore the plugin has not included any customization service.

I have not purchased the plugin yet. But, I will if there is a possibility to “hide” or disable the purchase field. Since the plugin uses raw price when purchase field is kept empty, there is nothing else needed to be done. I would be very happy to use this plugin if this can be achieved.

No sorry, unfortunatelly what you ask cannot be achieved.


I’m getting this error upon installation.

Parse error: syntax error, unexpected T_FUNCTION in /wp-content/plugins/woocommerce-product-stats/classes/com/WCPST_Order.php on line 48

Thanks in advance!

Hi karolsee,
this error maybe related to the usage of an old version of PHP. The plugin has been designed to work (as Wordpress) with a minimum version of 5.5

Could you check and tell me which version are you running? to do that you have to go to WooCommerce -> System status. In case it is lower that 5.5 you have to update it.
Updating php is usually a very simple operation in any web shared server. Go to the admin panel, search for some kind of advanced configuration and in that section you can switch the php version to the latest.

Let me know!

Thank you for the fast response! Updating my PHP worked :)

Very glad to hear that!! :)
if you enjoyed my support, please cosinder to leave 5 stars … I would really really appreciate! :) (to leave a rating, go to your profile, then click on “Download” tab and from there you can leave ratings to all your purchases).
Thank you and have a nice day!! :)

Hi, just wondering if this adds a cost of goods field to products to work out profits? Thanks.

Hello funkshen,
no, the plugin doesn’t add any extra field. But yours is a nice suggestion, I’ll implement this feature in a next release.

Hello funkshen,
I’ve just released an update that adds the “Purchase field” feature.
You can now specify, for any simple and variable (only for wc 2.5) product a “purchase price”. This will be used to compute earnings as sale_price – purchase_price. I hope this could interest you :)

very good work ;) i wish you all the best for your sales !

Thank you very much! I appreciate! :)

Great work, well done! :)

Thank you very much :)


Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey