Results 1 to 10 of 245

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Cymru
    Posts
    124
    Plugin Contributions
    0

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    I've just installed this plugin. Thanks to all who have worked on it. What I would like to do is see sales via country. From what I read, this plugin should do that, but in the list (view image) what I get is towns / counties / states etc and not countries. Is it possible to view sales via country with this plugin?

    Name:  plugin.png
Views: 271
Size:  37.5 KB

  2. #2
    Join Date
    Apr 2012
    Location
    Los Angeles, CA
    Posts
    185
    Plugin Contributions
    2

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    Quote Originally Posted by bonheddwr View Post
    I've just installed this plugin. Thanks to all who have worked on it. What I would like to do is see sales via country. From what I read, this plugin should do that, but in the list (view image) what I get is towns / counties / states etc and not countries. Is it possible to view sales via country with this plugin?

    Name:  plugin.png
Views: 271
Size:  37.5 KB
    It actually only shows places; towns, cities, countries, ect. from which you have had sales in the past.

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    I understand the consensus against bumps BUT, I have PMed Melanie requesting any possible solution to the problem initiated in post #140.

    I did not request a personal answer but hoped for something in this thread.

    Apparently, the signature is law and no answer provided for a PM even if referencing the thread.

    Perhaps a glimmer of hope can be provided with this bump.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    Just hire her. I'm sure she'll be glad to take your paid professional engagement. Easy peasy!
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    Okay, I'm going to bring this here as I've worn out the trifocals looking at this thing. I've attached the whole file but, I'll address two areas of YOUR_ADMIN/stats_monthly_sales.php here for brevity.

    As previously stated and verified, the code at lines 126 thru 138 incorrectly identify o.delivery_state in that this causes the code to look in the wrong table when accessing mysql.
    Code:
        //Zone Only SQL appendage    $zone_only_sql = '';
        $zone_selected = false;
        if ($_POST['zone_only'] != '' && !in_array('all', $_POST['zone_only'])) {
            $get_zone_only = $_POST['zone_only'];
            $zone_selected = true;
            $zoned_sql = '';
            foreach ($get_zone_only as $selectedZone) {
                $zoned_sql .= "o.delivery_state LIKE '" . $selectedZone . "' OR ";
            }
            $zoned_sql = rtrim($zoned_sql, "OR ");
            $zone_only_sql = " AND (" . $zoned_sql . ") ";
        }
    The $zone_only_sql is used on lines 164, 292, 476, 560, 572, 583, 593, 605, and 617 to formulate different presentations.
    Apparently, most of those occurrences work just fine. It's only when selecting a particular state, city, or country that the unfound delivery_state breaks the operation.

    I know what information I need (delivery_state) and I know which table it needs to come from (orders) but I can't figure out how to change "o.delivery_state LIKE '" to get the info from the correct table.

    Here's an opportunity to teach me to fish beyond just baiting the hook and throwing it in the water.

    THANX for any assistance.

    PS for anyone wanting to go the extra mile, it would be nice to sort by country as well
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  6. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    Quote Originally Posted by dbltoe View Post
    I understand the consensus against bumps BUT, I have PMed Melanie requesting any possible solution to the problem initiated in post #140.

    I did not request a personal answer but hoped for something in this thread.

    Apparently, the signature is law and no answer provided for a PM even if referencing the thread.

    Perhaps a glimmer of hope can be provided with this bump.
    I do not answer PMs for module issues, I really can't manage them. I used to, but no more. It's not my module, I've updated it a few times =) I did research your issue a bit since I stumbled on to this as you called me out.... What version of PHP? Zen Cart 1.5.4 correct? I do not have any logging error on Zen Cart 1.5.4 & PHP 5.6.40 & MySQL 5.5.5-10.1.41-MariaDB.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,701
    Plugin Contributions
    11

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    I should apologize for the bump and call out. As I look back through I find that, although you updated the mod twice since 2014, you have never made a post in the support thread. Therefore, my assumption (I know) that you had to be subscribed and receiving notices was totally incorrect.

    The information mentioned in post #178 is the main problem. It is doing the same in 1.5.5f with PHP 5.6 and MySQL 5.7 as it did in 1.5.4. Naturally, I have not loaded it on 1.5.6#.

    If you don't have a problem with your version, did you see drbyte's comment in 143
    There's no 'delivery_state' field in the orders_status table in any version of Zen Cart, so this isn't a v1.5.4 issue.
    Looks more like a failed/not-completed SQL schema change during installation of the related addon.
    I cannot find any instance of this field in previous or later versions of Zen Cart. Therefore, I thought you might have had some mod connected with it that needed an extra field. Was just grasping at straws as this would be perfect for our site if...

    Again, as stated in #178, I know what we need. Just not how to get it into the mix.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  8. #8
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: Monthly Sales and Tax Summary Report [support thread]

    I don't have a SQL 5.7 environment to solve this right now
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

 

 

Similar Threads

  1. Local Sales Tax Mod - Support Thread
    By LadyHLG in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 658
    Last Post: 22 Dec 2025, 05:29 PM
  2. v151 codeTrio Sales Summary Graph v1.0 [Support Thread]
    By imranulh in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 25 Jul 2020, 04:00 AM
  3. v151 Sales Report with Graphs support thread
    By JacobBushnell in forum Addon Admin Tools
    Replies: 17
    Last Post: 25 Jul 2019, 02:27 PM
  4. Monthly Sales Report
    By Bruce1952 in forum General Questions
    Replies: 3
    Last Post: 10 Aug 2010, 01:06 PM
  5. Sales Tax Summary Report
    By fred_artemis in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 25 Mar 2008, 02:54 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