Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2011
    Posts
    25
    Plugin Contributions
    0

    Default Sales Tax Reports?

    Is there a way to run a report that will show the total amount of sales tax collect over a specific time frame.

    I need to know how to do this for accounting purposes.

    Also is there a way to run a report for total sales (not just the list of sales that appears in the report section, but something that you can print or export out of the zen cart system)

    Any help is appreciated.

    Kristi

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,002
    Plugin Contributions
    6

    Default Re: Sales Tax Reports

    SELECT
    Sum(orders.order_tax)
    FROM
    orders
    WHERE
    orders.order_tax > 0 AND
    orders.date_purchased >= '2010-01-01 00:00:00' AND
    orders.date_purchased < '2011-01-01 00:00:00'


    NOTE: This assumes that you have no table prefixes. If you have a prefix like zen_, then all instances of orders.**** would become zen_orders.****

    Yes, the orders.order_tax > 0 is a little bit of overkill, but..........
    Last edited by dbltoe; 14 Apr 2011 at 11:29 PM.
    Did you read the posting tips?!?
    Things We've Done
    MOD: Scheduled Events

  3. #3
    Join Date
    Mar 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Sales Tax Reports?

    This may be a dumb question but is this script that I run against the site or is there some way to access this information through the admin?

    Sorry but I am more design orientied other than the scripting side of things.

    Thank You for your response.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    5,002
    Plugin Contributions
    6

    Default Re: Sales Tax Reports?

    This is a query that needs to be run against your database and it won't work in the admin. That's for other than queries.

    If you have phpMyAdmin (usually in the database section of cpanel), open it, click on your database, click on the Query tab, paste the query in the "SQL query on database #######" box, click on Submit Query in the bottom-right corner of that box.

    Your result will be in between the two Show buttons under "Sum(orders.order_tax)

    Again, be sure to check if you use a prefix.
    Did you read the posting tips?!?
    Things We've Done
    MOD: Scheduled Events

  5. #5
    Join Date
    Oct 2007
    Posts
    10
    Plugin Contributions
    0

    Default Re: Sales Tax Reports?

    Check out this add on
    Using Zen Cart 1.3.9h
    Many mods
    www.crosbysgifts.com

  6. #6
    Join Date
    Mar 2011
    Posts
    25
    Plugin Contributions
    0

    Default Re: Sales Tax Reports?

    Quote Originally Posted by alivewjesus View Post
    Check out this add on
    This is awesome! Exactly what I was in need of... it is nice to just click on monthly report and there it is.

    Do you know of any add-on that allows a daily export of orders to a CSV file?

 

 

Similar Threads

  1. Sales Reports
    By outlawcat in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Jul 2009, 08:37 PM
  2. Sales reports
    By radar in forum General Questions
    Replies: 1
    Last Post: 16 Jan 2009, 07:05 AM
  3. Sales Reports
    By eradio in forum General Questions
    Replies: 9
    Last Post: 22 Jun 2007, 02:59 PM
  4. Sales reports and GV
    By deado in forum Managing Customers and Orders
    Replies: 0
    Last Post: 8 Jun 2006, 12:49 AM

Bookmarks

Posting Permissions

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