Changing defaults
Changing defaults
I know that there is a simple answer to this, but it evades me. How can we change the default settings for the Orders screen? For example, a default setting for the Date Range is 'This Week'. How can we change this to be 'All Dates'?
Have to modify the code in ~/Admin/Orders/Default.aspx.cs. AC7 saves the state of those filters so they are the same whenever you come back to the page.
I can tell you how to make it do one of these two behaviors:
1. Every single time you open the page, it defaults to All Dates. If you change it, select an order, and then return to the Orders list it will reset to "All Dates".
-or-
2. The first time you open the page in a new browser session it will default to "All Dates". As long as that browser session remains open, it'll remember it's setting and stay to whatever the last value you set, until you close the browser.
Let me know and I'll post the code changes necessary for your choice.
I can tell you how to make it do one of these two behaviors:
1. Every single time you open the page, it defaults to All Dates. If you change it, select an order, and then return to the Orders list it will reset to "All Dates".
-or-
2. The first time you open the page in a new browser session it will default to "All Dates". As long as that browser session remains open, it'll remember it's setting and stay to whatever the last value you set, until you close the browser.
Let me know and I'll post the code changes necessary for your choice.
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
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
What I wish to do is change the defaults so that every time we go to the Orders screen it is our selections by default. I figured that it was in the /Admin/Orders/Default.aspx or aspx.cs file, but I could not figure out how to change it (although I did spend a half hour or so trying).
We want to see All Dates, and all Unshipped orders (the others can remain on their current defaults). I would have liked to see cancelled orders not show up at all, but unfortunately I do not see that as an option.
We want to see All Dates, and all Unshipped orders (the others can remain on their current defaults). I would have liked to see cancelled orders not show up at all, but unfortunately I do not see that as an option.

The dashboard gives you a *really* fast way to browse all the orders for a specific order status.
Those order counts to the right of each status are clickable - automatically brings up the orders list and filters for the given status.
I'll see if I can find the code changes you need - might take me a day or two, orders picked up heavily this weekend.
Those order counts to the right of each status are clickable - automatically brings up the orders list and filters for the given status.
I'll see if I can find the code changes you need - might take me a day or two, orders picked up heavily this weekend.
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
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
Because there are a few people using the software, it would be far better to simply set the defaults to automatically bring up the order preferences that we want.
Incidentally, is there any way to have cancelled orders simply not show in the order list? Once an order is cancelled, there is not likely any need to show it in the list. If we, for some unknown reason, really needed to access the order, then we can get at it using the order number itself.
Incidentally, is there any way to have cancelled orders simply not show in the order list? Once an order is cancelled, there is not likely any need to show it in the list. If we, for some unknown reason, really needed to access the order, then we can get at it using the order number itself.
I couldn't figure out an easy way to filter cancelled orders or a reason to keep them around. I wrote a delete feature to get of them.
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
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