Stopping Cancelled orders from showing in list

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Stopping Cancelled orders from showing in list

Post by Brewhaus » Wed Dec 17, 2008 11:09 am

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.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot

Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Re: Stopping Cancelled orders from showing in list

Post by Brewhaus » Fri Feb 06, 2009 6:31 pm

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?
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Stopping Cancelled orders from showing in list

Post by AbleMods » Sun Feb 08, 2009 7:15 am

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.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

Brewhaus
Vice Admiral (VADM)
Vice Admiral (VADM)
Posts: 878
Joined: Sat Jan 19, 2008 4:30 pm

Re: Stopping Cancelled orders from showing in list

Post by Brewhaus » Sun Feb 08, 2009 11:57 am

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.
Rick Morris
Brewhaus (America) Inc.
Hot Sauce Depot

Post Reply