Turnover statistics plugin for OsCommerce
A new plugin for OsCommerce creates nice turnover statistics.
Graphical in Flash and in a table.
More info and download:
http://synctables.com/turnover-statistics-for-oscommerce.php
|
A new plugin for OsCommerce creates nice turnover statistics.
Graphical in Flash and in a table.
More info and download:
http://synctables.com/turnover-statistics-for-oscommerce.php
January 17th, 2009 at 18:57
Hi,
I’ve now installed the turnover plugin into my shop. Great!
Just one suggestion; is it possible to place your banner into the footer?
kind regards any many thanks for this great contibution.
Peter Roth
January 19th, 2009 at 01:26
Very nice work.
Problem is that it does not shw the graphs with php 4.
Also would be nice if it included header & column_left
January 19th, 2009 at 12:40
There will be no support for PHP4 anymore, sorry.
Column_left would take a lot of space. Probably I will add a parameter for that.
Emile (developer)
January 23rd, 2009 at 18:24
I am getting an error, which looks like the following. First chart does not work, second does:
“Open Flash Chart
JSON Parse Error [Syntax Error]
Error at character 0, line 1:
0: ”
Anyone knows what might cause this?
Thanks
January 24th, 2009 at 09:57
@Patrick: Change the URL: statistics.php?action=data
Then only the data should come in JSON format. Is this OK?
January 26th, 2009 at 13:44
Nope, I get another error code:
Warning: include_once(JSON.php) [function.include-once]: failed to open stream: No such file or directory in /home/bagazoo/www/admin/includes/statistics/open-flash-chart_reduced.php on line 13
Warning: include_once() [function.include]: Failed opening ‘JSON.php’ for inclusion (include_path=’.:/usr/share/php5′) in /home/bagazoo/www/admin/includes/statistics/open-flash-chart_reduced.php on line 13
Warning: Cannot modify header information - headers already sent by (output started at /home/bagazoo/www/admin/includes/statistics/open-flash-chart_reduced.php:13) in /home/bagazoo/www/admin/statistics.php on line 375
Fatal error: Class ‘Services_JSON’ not found in /home/bagazoo/www/admin/includes/statistics/open-flash-chart_reduced.php on line 122
Does not look good!
January 27th, 2009 at 23:00
@Patrick: I sent you the file JSON.php. Did it help?
February 1st, 2009 at 03:21
I am having the same problem.
Thank you very much.
February 4th, 2009 at 20:48
There is a new version (V 1.03) available for download.
It solves this problem and adds turnover statistics for the last 14 days.
February 10th, 2009 at 03:08
I have tried the version 1.3, I downloaded the JSON.php but I still having the “Open Flash Chart
JSON Parse Error [Syntax Error]
Error at character 0, line 1:
0: ”
On the two graphs.
Thank you very much,
GERMAN FLOREZ
February 18th, 2009 at 14:22
Yes, I do have the same error
help us
February 18th, 2009 at 18:24
You can download version 1.04.
This version has a debugging mode, read the file statistics.php.
February 22nd, 2009 at 17:24
You can now download V2.0.
The new version uses only HTML and Javascript, no Flash anymore!
February 24th, 2009 at 20:00
Great contrib!
However, my graphs don’t appear, I get an error in IE saying line 35, characer 2 is at fault? Any ideas?
February 24th, 2009 at 20:28
@Michael:
Does it work in FF? Which version of IE do you use?
March 16th, 2009 at 13:16
I guess the biggest question that I have is, what exactly does the term “turnover” mean, and what do the numbers represent? In some places, turnover is equivalent to sales, but on other locations it means something different. What exactly are we tracking or looking at when we view the turnover charts?
March 16th, 2009 at 23:51
The turnover is the sum of “ot_subtotal” in the table orders_total. This is the sum without shipping costs.
March 19th, 2009 at 21:12
Thanks…everything seems to work fine here. One thing you might consider doing is rewriting the page to fit into the standard OSC admin page format with the standard header and left column.
March 22nd, 2009 at 13:42
It doesn’t work in FF either, I’m using IE7.
February 8th, 2010 at 13:55
I love it! Use it everyday.
But your programm tells me this month compared to last year = -9%.
When I check the same months in the default statistics page of OScommerce the difference = +1%.
This is strange…
February 24th, 2010 at 08:25
@Dennis: This plugin extrapolates the data from this year according to the data from last year. Therefore it will probably not give the same results as a simple division to calculate a percentage. This plugin should give more accurate predictions though.