Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2010
    Posts
    202
    Plugin Contributions
    0

    Default completed orders

    is there a way to only show new orders, in the new orders section when u log in? even after i mark an order as delivered it still shows as a new order. also is there a way to add or change a status like SHIPPED or COMPLETED?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: completed orders

    You could customize the file:
    /your_admin_dir/index.php

    and add conditions to the SELECT to only pull Orders that are set to Pending ... or when the orders_status is < XX where XX is the Order Status for your Shipped ... not sure if you have just renamed the Delivered which is orders_status 3 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Aug 2010
    Posts
    202
    Plugin Contributions
    0

    Default Re: completed orders

    that is a little over my head you mind explaining a little more please. thank you

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: completed orders

    If you go to the Localization ... Order Status ... there is a list of your possible order statuses ...

    If you click on the one for your Shipped ... when you look at the URL, what is the:
    oID=
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Aug 2010
    Posts
    202
    Plugin Contributions
    0

    Default Re: completed orders

    /orders_status.php?page=1&oID=3

    is the one for delivered
    Last edited by Ajeh; 31 Dec 2010 at 06:24 PM.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: completed orders

    About line 155, you can change the code to:
    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 and class = 'ot_total') WHERE o.orders_status < 3 order by orders_id DESC limit 5");
    What that will do is show all Orders with the orders_status of:
    Pending orders_status 1
    Processing orders_status 2
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Aug 2010
    Posts
    202
    Plugin Contributions
    0

    Default Re: completed orders

    and that would make it so that on my front page of my admin where it says new orders, only the "TRUE" new unprocessed orders will show up?

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: completed orders

    That would make is so any orders set to Pending (orders_status 1) or Processing (orders_status 2) would show up ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Add addition Status updates on completed orders?
    By clint6998 in forum Managing Customers and Orders
    Replies: 5
    Last Post: 29 Aug 2012, 07:06 PM
  2. Orders Not Being Completed
    By Raquel in forum General Questions
    Replies: 21
    Last Post: 28 Aug 2007, 10:10 PM
  3. completed orders are not showing up under "orders" options
    By james739 in forum Managing Customers and Orders
    Replies: 11
    Last Post: 15 Aug 2007, 04:29 AM
  4. Adding attributes to completed orders mod approach
    By Gerk in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 26 Jan 2007, 09:03 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