Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Location
    Wagener, SC
    Posts
    27
    Plugin Contributions
    0

    Idea or Suggestion "New Orders" box in Admin Home view: Need mod please!

    Hi.

    When I login to my admin panel, or click admin home and go to the summery page, I see the "new orders" box on the right hand side.

    What I would like to see happen is when an order has been updated to "shipped" (delivered) in customers->orders, I want the order to no longer show in the new orders box in the admin home view.

    This will give me a quick view of outstanding orders.

    Has this been done? Can it be done?

    Thanks!

    Kevin

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: "New Orders" box in Admin Home view: Need mod please!

    There's not a mod to do this, but you can do it yourself as follows. In the admin/index.php file replace the following (at about line 165)
    PHP Code:
      <?php  $orders $db->Execute("select o.orders_id as orders_id, o.customers_name as customers_name, o.customers_id, o.date_purchased as date_purchased, o.currency, o.currency_value, ot.class, ot.text as order_total from " TABLE_ORDERS " o left join " TABLE_ORDERS_TOTAL " ot on (o.orders_id = ot.orders_id) where class = 'ot_total' order by orders_id DESC limit 5");
    with this
    PHP Code:
      <?php  $orders $db->Execute("select o.orders_id as orders_id, o.customers_name as customers_name, o.customers_id, o.date_purchased as date_purchased, o.currency, o.currency_value, o.orders_status, ot.class, ot.text as order_total from " TABLE_ORDERS " o left join " TABLE_ORDERS_TOTAL " ot on (o.orders_id = ot.orders_id) where class = 'ot_total' and orders_status != 3 order by orders_id DESC limit 5");
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2007
    Location
    Wagener, SC
    Posts
    27
    Plugin Contributions
    0

    Default Re: "New Orders" box in Admin Home view: Need mod please!

    Perfect! Works like a charm.



    Thanks for your help,
    Kevin

 

 

Similar Threads

  1. Quantity Discount box and "add to cart" button does not show up in "Category" view
    By petro in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Nov 2013, 09:48 PM
  2. can i have products of types "Purchase" and "View only"...need both
    By aniketanyee in forum Customization from the Admin
    Replies: 2
    Last Post: 24 Nov 2012, 11:06 AM
  3. v139h Filtering "New Orders" on admin home
    By alin in forum Basic Configuration
    Replies: 1
    Last Post: 10 Jan 2012, 07:48 PM
  4. Count of "Processing" orders incorrect on admin home page
    By Danielle in forum General Questions
    Replies: 1
    Last Post: 2 Oct 2010, 04:56 AM
  5. Moving "New Products" center box higher on home page
    By CPJ in forum Basic Configuration
    Replies: 9
    Last Post: 6 Jan 2009, 03:43 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