Page 1 of 1

Stopping Cancelled orders from showing in list

Posted: Wed Dec 17, 2008 11:09 am
by Brewhaus
Is there a way to avoid having cancelled orders show in the orders list? In order to best see what orders are pending, we need to set Order Status to 'all', Payment Status to 'all', and Shipment Status to 'Unshipped'. Unfortunately, cancelled orders show as 'unshipped', and therefore show up in our list.

Is there a simple way to change the shipment status on cancelled orders to non-shippable, or to create a new shipment status such as 'order cancelled' and apply this status to cancelled orders? This would stop them from showing in our order list. Currently we have to cancel the order, and then go into the DB and physically delete the order. The problem with this, aside from the hassle, is that it does not maintain the order for a customer to refer back to.

Re: Stopping Cancelled orders from showing in list

Posted: Fri Feb 06, 2009 6:31 pm
by Brewhaus
I realized that this could be achieved by changing the shipping status when the order status and payment status get updated (when marking the order as cancelled). Does anyone know how we can add a shipping status (such as 'cancelled') and have the shipping status updated at the same time the order and payment status get updated?

Re: Stopping Cancelled orders from showing in list

Posted: Sun Feb 08, 2009 7:15 am
by AbleMods
Shipping and Payment status(es) are hard-coded - you can only change them if you have the full source code.

I just delete the orders. There's a thread in the Helpful Topics forum that details how to add an easy delete function to the admin side. At least that way you're not digging into the db every 20 minutes.

The problem is the order status of "Cancelled" isn't really any different than any other order status. So in your system, OrderStatusId 5 could be Cancelled, but in mine it could be OrderStatusId 14.

What would be really nice would be an "Exclude Cancelled" checkbox on the order summary list - that way you could turn it on or off as needed.

Re: Stopping Cancelled orders from showing in list

Posted: Sun Feb 08, 2009 11:57 am
by Brewhaus
I was hoping that it would be as simple as adding a ship status, just like adding an order status. The idea is exactly as you have said- to exclude cancelled orders from the order list, but it would be nice to still have them in the db so that if a customer asks about the order you are still able to pull it up and see what the problem was that led to be being cancelled. Because the ship status stays at 'unshipped' when the order is deleted, it stays in the list of unshipped orders.