Zen Cart Logo
Forums / All Other Contributions/Addons / Sales report with graphs

Sales report with graphs

Locked

Views: 10,309

Results 1 to 20 of 23
This thread is locked. New replies are disabled.
16 Jun 2007, 9:13 PM
#1
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Sales report with graphs

Hi,

I converted a sales report from osC to Zen Cart tonight. Maybe a sales report like this already exists for Zen Cart? (did not find it in a quick search, a while ago, though).

The main reason I converted it is that I liked the graphical representation of sales. If there is enough interest I will upload it here. Don't expect much support or updates, it works (or should work ;-) ) as it is.

Several language definitions are missing and several texts are hard coded, and more may be improved. Feel free to do so if you like....

(tested on Zen Cart 1.3.6)

16 Jun 2007, 9:26 PM
#2
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Sales report with graphs

Attached a screen shot. Most numbers are painted black but hopefully it helps to show what it does.

16 Jun 2007, 10:31 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,616
Plugin Contributions:
0

Re: Sales report with graphs

Paul,

I am sure that report will be very helpful. Looking forward to seeing it.

16 Jun 2007, 10:54 PM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: Sales report with graphs

Definitely gets my vote as a Mod to have. :smile:

Does everthing work as per the options shown in the image?

17 Jun 2007, 8:41 AM
#5
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Sales report with graphs

I am definitely interested in this mod. Would be a great part of any zencart store.
You get my support. :clap:

17 Jun 2007, 8:49 AM
#6
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Sales report with graphs

Website Rob:

Does everthing work as per the options shown in the image?Yep it does :-)

Installation is simple: No files are overwritten or overridden, just drop in the files and it should work (thanks to the nice Zen Cart structure :-)). A basic readme is included.

And again: don't expect (much) support, I did not write it. Only did a quick and dirty conversion to Zen Cart and one or two minor modifications.

Please feel free to update! (it's very unlikely I will do any updates, except if I have forgotten to include a file or something).

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1211

[edit: just did a quick test on a default 1.3.7 shop too, and it works (as always, using register globals off)]

7 Feb 2009, 7:14 PM
#7
high_octane avatar

high_octane

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Re: Sales report with graphs

Nice! I like this mod, Thanks

24 Feb 2009, 9:50 PM
#8
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Sales report with graphs

Hello everyone :hug:
Do you know if it works for 1.3.8a becouse it look easy to install but when i click the sales report with graphics it give's me a blank page do i nee to change something else thank you.:lamo:

25 Feb 2009, 8:22 AM
#9
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Sales report with graphs

Woops :blush:

After a last minute change or test or something (in version 1.02) I forgot to rename the file in admin\includes\classes\ :

sales_report_graphs_000.php

back to:

sales_report_graphs.php

So thats probably the cause of the blank screen. To fix it just rename the file.

(This add on is available for download here Sales report with graphs )

25 Feb 2009, 8:27 AM
#10
paulm avatar

paulm

Totally Zenned

Join Date:
Nov 2003
Posts:
1,878
Plugin Contributions:
5

Re: Sales report with graphs

And, after the above fix, it should work on 1.3.8a.

26 Feb 2009, 9:32 PM
#11
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Sales report with graphs

:frusty:No wonder i was geting a blank page :laugh: but now it works thanks Paul :clap:

:lamo:

paulm:

And, after the above fix, it should work on 1.3.8a.

26 Jul 2009, 6:29 PM
#12
jgkiefer avatar

jgkiefer

Zen Follower

Join Date:
May 2004
Posts:
64
Plugin Contributions:
0

Re: Sales report with graphs

Where/how do I set the language for
Daily HEADING_TITLE

26 Aug 2009, 8:35 PM
#13
jbittner avatar

jbittner

New Zenner

Join Date:
Jul 2009
Posts:
4
Plugin Contributions:
0

Re: Sales report with graphs

In the admin I choose 'reports' -> 'Sales report with Graphs' and
I get a modal dialog popup that says

 "Warning! Scale is too small! Please make
 the scale larger or make the graph taller."

How do I adjust/fix this?

22 Oct 2009, 5:32 PM
#14
andrexl avatar

andrexl

New Zenner

Join Date:
May 2009
Posts:
1
Plugin Contributions:
0

Re: Sales report with graphs

jbittner:

In the admin I choose 'reports' -> 'Sales report with Graphs' and
I get a modal dialog popup that says

 "Warning! Scale is too small! Please make
 the scale larger or make the graph taller."

How do I adjust/fix this?

Hi, I was looking for something like this and gave it a try just now.
I encountered the same error as you did.
My small fix:
under ADMIN>sales_report_graphs.php, line 195:

echo ($report->size * 50);} ?>,100,true);
replace it with something like:
echo ($report->size * 50);} ?>,400,true);
Play with the value as much as you want to make the chart taller.
Hope this helped.

31 Oct 2009, 1:48 PM
#15
kobra8 avatar

kobra8

Zen Follower

Join Date:
Mar 2009
Location:
Serbia
Posts:
350
Plugin Contributions:
0

Re: Sales report with graphs

Hi, I upload this contributions end have question, what is variance ?
That is the function of Variance?

:blush:

2 Nov 2009, 12:23 AM
#16
nyczhenry avatar

nyczhenry

New Zenner

Join Date:
Nov 2007
Posts:
15
Plugin Contributions:
0

Re: Sales report with graphs

when i install this addon it uploads fine, but when i try to run the report it gives me this error. please advise. thanks in advance!

Warning: require(includes/classes/sales_report_graphs.php) [function.require]: failed to open stream: No such file or directory in /homepages/27/d92239783/htdocs/test/admin/sales_report_graphs.php on line 81

Fatal error: require() [function.require]: Failed opening required 'includes/classes/sales_report_graphs.php' (include_path='.:/usr/lib/php5') in /homepages/27/d92239783/htdocs/test/admin/sales_report_graphs.php on line 81

4 Nov 2009, 4:18 PM
#17
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: Sales report with graphs

nyczhenry:

Warning: require(includes/classes/sales_report_graphs.php)
check the folder /includes/classes and see if the file is there.
most likely there will be a file like it ending with 000, rename it.

1 Dec 2009, 6:20 AM
#18
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: Sales report with graphs

Found a typo:

admin/sales_report_graphs.php

FIND LINE: 21:

$summary1 = 'Avarage ourly';

REPLACE LINE: 21:

$summary1 = 'Avarage [B]H[/B]ourly';

Great quick and dirty stat viewer! Perfect for viewing after Black Friday and Cyber Monday specials! :clap:

1 Dec 2009, 6:27 AM
#19
jasmel avatar

jasmel

Zen Follower

Join Date:
Feb 2008
Location:
Washington State
Posts:
230
Plugin Contributions:
0

Re: Sales report with graphs

Also noticed it doesn't take quantity_discounts into consideration. I had a BOGO sale today and it shows the full amount not the discounted amount which is half that which is displayed in the graph. Hmmm... wonder how I can mod the mod? :cool:

Example: shows $45.90 when it should read $22.95

4 Jan 2010, 3:17 AM
#20
garrick avatar

garrick

New Zenner

Join Date:
Jan 2010
Posts:
1
Plugin Contributions:
0

Re: Sales report with graphs

Is there any way to change the date range in months from January - December to July - June. To suit our financial year.

Great Mod. Thank you