I added the plugin to a big woocommerce site of mine yesterday and today I started testing it with new sales.
however, I don’t think the price history has been showing up correctly. for example, this page shows a historic price of $0.00 even though it went from $12.99 to $0.99
this went from $5.00 to $0.99, but the graph is showing it went from $0 to $5
I believe the plugin is only taking the dollar amount into consideration when plotting the price history. which would be why sales listed at $1.49 are showing $1 in the price history graph and why sales listed at $0.99 are showing $0 in the price history graph
Thank you for the information and help with troubleshooting this issue.
As you pointed out the plugin only supported whole values. We have now updated it with version 1.1.0 to support up to 2 decimals.
However to update it correctly you have 2 options
Either you will need to uninstall and then reinstall the plugin again from the plugin repository.
This will also clear your current price history database tables so historic prices before this will be lost.
Alternatively if you have access to your database you alter the Database tabel called (wp_prefix)_wp_totej_price_history and update the price column to be a decimal(5,2) data type
If you go this route you only ned to update the plugin to 1.1.0, without uninstalling first.
no need to be sorry, I’m happy to help out when I can. I don’t mind uninstalling the plugin and then installing it again so that it resets the price history.
I will reply here later on this week when I can see how the new update changes things
here is one of the entries that the plugin is using
is that the information you’re looking for? if not, how can I check the structure?
edit – also, I don’t think disabling the plugin removed the data that the plugin added from before. Before updating, I disabled the plugin, updated the plugin, and then re-enabled it.
but I noticed the price history of the products that I had used in my examples were still set that way (which isn’t the worst thing, but wasn’t what you had described)
This reply was modified 2 years, 5 months ago by dlynch027.
I was able to manually drop the price history table (after I deactivated the plugin) and have now reactivated it. I will do some tests today and see how it goes
edit – this ends up giving me “wpdb error: Table ‘playstoresales_com_Kz0ZrWNn.wp_totej_price_history’ doesn’t exist” errors on the page
I even deleted the plugin completely and reinstalled it, still getting that error 🙁
This reply was modified 2 years, 5 months ago by dlynch027.
I was able to identify the issue an release a 1.1.1 version that resolves this. It seems like the 1.1.0 version was unable to create the table when activating the plugin. This should now be resolved in version 1.1.1
I appreciate the help! I just updated the plugin, activated it, and updated one of the app sales for the day and it seems to be working flawlessly! it even registers the price at $1.49 in the graph (like it’s supposed to)
i’ll give it a day or two to see how the graphs look when prices continue to change. but it looks to be working great right now