Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 4 of 4

Thread: Outputing ORDERS as a CSV file

  1. #1
    Active Member
    Outputing ORDERS as a CSV file


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    486
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    70


    1 out of 1 members found this post helpful.

    Default Outputing ORDERS as a CSV file

    My book-keeper asked me if there was a way to export the orders to a CSV file so she could make sure we are missing anything and I found this solution.

    Thanks EJ!

    A few mods needed for 2.5.x

    3. Insert this line in admin/includes/languages/english.php (for 2.5.x look for english/core.php): before last ?>

    // EXPORT_ORDERS_CSV
    define('BOX_EXPORT_ORDERS_CSV', 'Orders CSV export');
    // End EXPORT_ORDERS_CSV

    4. In admin/includes/boxes/reports.php, add after
    tep_admin_files_boxes(FILENAME_STATS_MONTHLY_SALES , BOX_REPORTS_MONTHLY_SALES, TOP) .

    tep_admin_files_boxes(FILENAME_EXPORT_ORDERS_CSV, BOX_EXPORT_ORDERS_CSV, TOP) .

    (for oscmax 2.5.x add this)
    tep_admin_jqmenu(FILENAME_EXPORT_ORDERS_CSV, BOX_EXPORT_ORDERS_CSV, 'TOP') .

    Still needs a tweak as the top menu Customers/Products/Orders is not displayed correctly, but it works otherwise.

    John :-#)#

  2. #2
    osCMax Development Team

    Outputing ORDERS as a CSV file

    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    4,137
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    ridexbuilder     $ 15.00
    Rep Power
    96


    Default Re: Outputing ORDERS as a CSV file

    Wow, that was a blast from the past!
    Many many thanks for the donation, which really cheered up my Sat. night. Very much appreciated.

    Developers resource at bitbucket
    *** *** ***
    oscmax.co.uk / ejsolutions.co.uk
    Hosting plans with installation, configuration, contributions, support and maintenance.
    *** FREE osCmax hosting available ***
    oscmaxtemplates.com

  3. #3
    Active Member
    Outputing ORDERS as a CSV file


    Join Date
    Sep 2009
    Location
    Vancouver, BC, Canada
    Posts
    486
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    JRR     $ 180.00
    Rep Power
    70


    Default Re: Outputing ORDERS as a CSV file

    Have a beer or two on me! I appreciate all the help over the years...

  4. #4
    Lurker
    Join Date
    Jun 2019
    Posts
    4
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    Sulforman9     $ 0.00
    Rep Power
    0


    Default Re: Outputing ORDERS as a CSV file

    Great tip!
    Thank you.

Similar Threads

  1. Customer Orders Tab in Admin Orders (hook)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-05-2017, 06:59 PM
  2. Customer Orders Tab in Admin Orders (hook)
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 10-08-2016, 01:39 AM
  3. Replies: 0
    Last Post: 09-06-2012, 10:07 AM
  4. Replies: 5
    Last Post: 04-24-2009, 08:02 PM
  5. Admin: Orders module only lists three orders
    By icecold in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 11-09-2008, 07:00 PM

Tags for this Thread

Bookmarks

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
  •