Zen Cart Logo
Forums / All Other Contributions/Addons / Monthly Totals [support]

Monthly Totals [support]

Locked

Views: 2,136

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
26 Feb 2010, 9:37 AM
#1
fozzyo avatar

fozzyo

New Zenner

Join Date:
Mar 2006
Location:
Wolverhampton, UK
Posts:
31
Plugin Contributions:
0

Monthly Totals [support]

I'm the author if a Monthly Totals report, I'm just starting this as a support thread for any questions / suggestions for improvements.

This report shows the total numbers of orders and total value of those orders for each month since installation. These totals include all postage, taxes etc that may have been applied to the order.

It also includes a daily breakdown by month showing total number of orders and total value of orders placed.

Mat

6 Mar 2010, 11:49 PM
#2
sensory avatar

sensory

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Re: Monthly Totals [support]

How do I make it show US money $
Thanks

19 Mar 2010, 8:28 AM
#3
fozzyo avatar

fozzyo

New Zenner

Join Date:
Mar 2006
Location:
Wolverhampton, UK
Posts:
31
Plugin Contributions:
0

Re: Monthly Totals [support]

This is my first mod I've made public, so slowly getting to grips with the localisation and standards for ZC development. If you look in the file stats_monthy_totals.php line 132 should be:

<td class="dataTableContent" align="right">**£**<?php echo number_format($results->fields['total'], 2); ?></td>

Change the £ symbol here for a $ sign. The same for lines 160 and 201.

The next revision will use local settings to show the correct currency symbol.

Thanks
Mat

31 Mar 2010, 6:14 PM
#4
redheads avatar

redheads

Zen Follower

Join Date:
May 2006
Posts:
119
Plugin Contributions:
0

Re: Monthly Totals [support]

Hi there - thanks for the mod - it looks like just whatt he store owner is looking for when I can get it running... am hoping you can give me some insights on my install.
I just drug the files over, went to the store, and clicked 'monthly totals' per the readme file and get the following error:

Monthly Sales Totals

Month Total Orders
1054 Unknown column 'orders.date_purchased' in 'field list'
in:
[SELECT MONTHNAME(orders.date_purchased) AS month, YEAR(orders.date_purchased) AS year, sum(orders_total.value) AS total, COUNT(*) AS num_orders FROM tatzenorders LEFT JOIN tatzenorders_total ON orders.orders_id = orders_total.orders_id WHERE orders_total.title = 'Total:' GROUP BY YEAR(orders.date_purchased), MONTH(orders.date_purchased)]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

So did I miss something when installing??

It looks like a a possible sql table name error, but I saw that this version is not supposed to have that issue - what shall I check next?

:-)

31 Mar 2010, 10:20 PM
#5
fozzyo avatar

fozzyo

New Zenner

Join Date:
Mar 2006
Location:
Wolverhampton, UK
Posts:
31
Plugin Contributions:
0

Re: Monthly Totals [support]

Sorry to hear that, its late here and v tired. I'll come back to this tomorrow morning and see what I can work out for you. :)

Thanks
Mat

1 Apr 2010, 7:08 AM
#6
redheads avatar

redheads

Zen Follower

Join Date:
May 2006
Posts:
119
Plugin Contributions:
0

Re: Monthly Totals [support]

Thanks, not a huge rush - looking towards the end of the fiscal year in a few months and feeling glad I stated early - get some rest, and when you get back tell me what else you need from me to troubleshoot :-)

1 Apr 2010, 7:16 AM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Monthly Totals [support]

redheads:

Thanks, not a huge rush - looking towards the end of the fiscal year in a few months and feeling glad I stated early - get some rest, and when you get back tell me what else you need from me to troubleshoot :-)

You may care to try Sales Report Mod which is very comprehensive and allows for a lot of custom reporting off the purchase history.

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

5 Apr 2010, 3:28 PM
#8
jimlink avatar

jimlink

New Zenner

Join Date:
Feb 2009
Posts:
13
Plugin Contributions:
0

Re: Monthly Totals [support]

redheads:

Hi there - thanks for the mod - it looks like just whatt he store owner is looking for when I can get it running... am hoping you can give me some insights on my install.
I just drug the files over, went to the store, and clicked 'monthly totals' per the readme file and get the following error:

So did I miss something when installing??

It looks like a a possible sql table name error, but I saw that this version is not supposed to have that issue - what shall I check next?

:-)

Got the exact Same thing.... ??

12 Apr 2010, 10:10 AM
#9
fozzyo avatar

fozzyo

New Zenner

Join Date:
Mar 2006
Location:
Wolverhampton, UK
Posts:
31
Plugin Contributions:
0

Re: Monthly Totals [support]

I've just subitted version 1.3 of this mod. This should resolve the issues above with column names. Sorry, my bad!

I've also fixed the currency symbol too - this now uses the localisation settings to display the symbol.

Mat

17 Apr 2010, 9:51 PM
#10
redheads avatar

redheads

Zen Follower

Join Date:
May 2006
Posts:
119
Plugin Contributions:
0

Re: Monthly Totals [support]

You may care to try Sales Report Mod

I have that, was trying for a quick monthly-view for some comparison snapshots.

17 Apr 2010, 9:52 PM
#11
redheads avatar

redheads

Zen Follower

Join Date:
May 2006
Posts:
119
Plugin Contributions:
0

Re: Monthly Totals [support]

fozzyo:

I've just subitted version 1.3 of this mod. ...

Mat

Thanks, am off to try it out!

:-)

17 Apr 2010, 10:02 PM
#12
redheads avatar

redheads

Zen Follower

Join Date:
May 2006
Posts:
119
Plugin Contributions:
0

Re: Monthly Totals [support]

IT WORKS!!!

...am off to play with it and see what the possibilities are!

12 May 2010, 7:55 PM
#13
jamesh2k avatar

jamesh2k

New Zenner

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

Re: Monthly Totals [support]

Hi,

When using the creating orders mod. It does not add the amount into the monthly totals.

Any idea why?

Thanks
james

30 Dec 2010, 3:16 PM
#14
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Monthly Totals [support]

Fantastic mod, thank you.

Have one question though.

My shop has 2 Currencies... Euro and Swissfrancs.

Is it possible to set up so it shows both currencies?