Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2008
    Posts
    4
    Plugin Contributions
    0

    Default Sort orders by delivery date

    Hi everyone,

    Question about admin/orders.php

    How can I change the display of orders to sort by nearest delivery date first?

    NB.I've installed the desired delivery date mod.

    But now I want to change the default sort in the Admin>Customers>Orders
    and change it to display in order of next delivery date.

    I think the sort order is default to display either in ID or ordered date. I cant see the ascending/descending order you get in the customers section of admin (unless the delivery date mod knocked it out).

    Looking at the orders.php I think it might have something to do with $oID as in this line...
    PHP Code:
    $oID zen_db_prepare_input(trim($_GET['oID'])); 
    but it would impact a whole load of other parts on the file.

    or something to do with order by date_added which appears a few times (I tried changing this to order by delivery_date, but nothing )

    Any help appreciated its the first time I've been stuck on Zencart, and the shop is a florists so hence we need to sort the orders by when they will go out.

    Ta very much.
    Webthisway.co.uk | flowersbysuzyliu.co.uk
    Give a man a fish and he'll eat for a day. Teach a man to fish and he'll sit in a boat and drink rum all day...

  2. #2
    Join Date
    Sep 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Sort orders by delivery date

    did you find any solution to this?
    This is my Signature: w00t

 

 

Similar Threads

  1. order delivery date addon - date not showing in checkout
    By jagall in forum Addon Shipping Modules
    Replies: 4
    Last Post: 19 Oct 2017, 09:09 PM
  2. v139h Sort Orders by delivery date.
    By orochi_kyo in forum General Questions
    Replies: 0
    Last Post: 31 Jul 2012, 03:47 AM
  3. pickup date and delivery date
    By Nkin in forum Addon Shipping Modules
    Replies: 1
    Last Post: 13 Apr 2011, 01:30 PM
  4. Can I change admin list of orders to sort by date-purchased instead of by order num?
    By absoluteblock in forum Managing Customers and Orders
    Replies: 0
    Last Post: 17 Nov 2009, 11:32 PM
  5. Delivery date
    By McKaulick in forum Managing Customers and Orders
    Replies: 6
    Last Post: 3 Sep 2007, 03:17 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR