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?
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?
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!
that is a little over my head you mind explaining a little more please. thank you![]()
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!
/orders_status.php?page=1&oID=3
is the one for delivered
Last edited by Ajeh; 31 Dec 2010 at 06:24 PM.
About line 155, you can change the code to:
What that will do is show all Orders with the orders_status of: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");
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!
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?
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!