Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Mar 2006
    Location
    Wolverhampton, UK
    Posts
    31
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    May 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Monthly Totals

    How do I make it show US money $
    Thanks

  3. #3
    Join Date
    Mar 2006
    Location
    Wolverhampton, UK
    Posts
    31
    Plugin Contributions
    0

    Default Re: Monthly Totals

    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

  4. #4
    Join Date
    May 2006
    Posts
    119
    Plugin Contributions
    0

    Default Re: Monthly Totals

    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?

    :-)

  5. #5
    Join Date
    Mar 2006
    Location
    Wolverhampton, UK
    Posts
    31
    Plugin Contributions
    0

    Default Re: Monthly Totals

    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

  6. #6
    Join Date
    May 2006
    Posts
    119
    Plugin Contributions
    0

    Default Re: Monthly Totals

    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 :-)

  7. #7
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Monthly Totals

    Quote Originally Posted by redheads View Post
    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?ma...products_id=83
    20 years a Zencart User

  8. #8
    Join Date
    Feb 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: Monthly Totals

    Quote Originally Posted by redheads View Post
    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.... ??

  9. #9
    Join Date
    Mar 2006
    Location
    Wolverhampton, UK
    Posts
    31
    Plugin Contributions
    0

    Default Re: Monthly Totals

    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

  10. #10
    Join Date
    May 2006
    Posts
    119
    Plugin Contributions
    0

    Default 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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139b Monthly Totals Report not working
    By irishshopper in forum Basic Configuration
    Replies: 1
    Last Post: 3 Jan 2013, 02:05 AM
  2. Shopping Cart Totals in Header Support
    By georgiepants in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 8 Feb 2010, 04:23 PM
  3. Monthly Order Totals
    By CheapStairParts in forum General Questions
    Replies: 1
    Last Post: 17 Jan 2008, 11:40 PM
  4. No monthly fee gateway support multilanguages
    By icemanchai in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 21 Sep 2006, 06:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg