neil_srfc Posted February 2, 2004 Share Posted February 2, 2004 My first post! So if this is the wrong place to post this, please be gentle with me.... Don't know if anyone has picked up on this, but here goes:- Admin -> Customers -> Orders -> Change the pull down Order Status to (let's say) 'Pending' -> then back to 'All Orders' I don't get any orders listed. I think I've sorted it with } elseif (isset($HTTP_GET_VARS['status']) && tep_not_null($HTTP_GET_VARS['status']) ) { in admin/orders.php (around 411) .... but can anyone else confirm that this is a problem? If this has already been posted and sorted - I'm sorry - I've had quick look through the forums but can't find anything similar. I'm using OS2.2 MS 2 Link to comment Share on other sites More sharing options...
bmdennst Posted February 4, 2004 Share Posted February 4, 2004 Yes I've just encountered the same problem. But I'm not sure I understand how you fixed it. Link to comment Share on other sites More sharing options...
neil_srfc Posted February 5, 2004 Author Share Posted February 5, 2004 Phew! I thought it was just me! :D The think the reason why we have been getting zero results for the 'All orders' screen is because the URL is something like admin/orders.php?status= Taking the status parameter as 'nothing' when to show 'All orders' it should be admin/orders.php So I just added the extra condition (tep_not_null.... section ) where the 'status' parameter is checked for. } elseif (isset($HTTP_GET_VARS['status']) && tep_not_null($HTTP_GET_VARS['status']) ) { Does it work for anyone else? Has anyone else got another solution? Link to comment Share on other sites More sharing options...
Guest Posted May 26, 2004 Share Posted May 26, 2004 worked like a charm (once I figured out where to put it)! I'll post this to "Tips and Tricks", but in catalog/admin/orders.php, search for the line: } elseif (isset($HTTP_GET_VARS['status'])) { and replace it with: } elseif (isset($HTTP_GET_VARS['status']) && tep_not_null($HTTP_GET_VARS['status']) ) { as mentioned above. "All orders" now works! -jared Link to comment Share on other sites More sharing options...
paq1200 Posted December 9, 2005 Share Posted December 9, 2005 I get the all orders but the old orders are not red and not sorted. Thanks Link to comment Share on other sites More sharing options...
Guest Posted December 10, 2005 Share Posted December 10, 2005 Mike - - read the readme in the "highlight old orders" contrib in my signature. -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.