livefooduk Posted February 23, 2003 Share Posted February 23, 2003 When we receive orders we manually process the credit cards, print the invoice and then update the order staus to despatched. Now to do this: (1) We first have to select the orders with the status "orders received" (no problem). (2) Then we have to click the first order to highlight it. (3) Then we have to click "edit" to bring up the details for that order. (4) Then process the credit card, print the invoice, update the order status to despatched. (no problem) (5) Then we have to click the "back" button (6) Then we have to click the next order to highlight it. (7) Then we have to click edit to bring up the details for that order. Now we have maybe 100+ orders per day (all low value) and this takes just too long. Couldn't we have a "next" button to click after the order status has been updated to go straight to the edit screen of the next (with the status "orders received") order? I have spent 3 hours searching the forums and can't find anything on this :cry: Best wishes Steve Link to comment Share on other sites More sharing options...
emiliano Posted February 24, 2003 Share Posted February 24, 2003 nice thing to work on it.. i'll keep you update patagonia, argentina Link to comment Share on other sites More sharing options...
burt Posted February 24, 2003 Share Posted February 24, 2003 It would be fairly simple to write a custom hack that: 1st button: Pulls out all orders received [today] in a _blank browser, using .css for page breaks between invoices. Press print and leave it for 5 minutes printing the whole lot. 2nd button: Hit the button and it updates all the "orders received" to a new status in one hit. 3rd button: Gets customer name, cc details and amount, all onto one page so that you can process them all in one go. Why don't you give it a go ? Link to comment Share on other sites More sharing options...
rthrash Posted February 24, 2003 Share Posted February 24, 2003 Quick thought for another option for part of the problem: Add a checkbox inline with each order. At the bottom the order list, have a dropdown box with a list of statuses next to an "update" button. When the user checks multiple boxes, selects a status and clicks the update button, all checked orders are updated in one fell swoop to the desired order status. This, possibly combined with a batch-print of invoices/picking lists/shipping labels as mentioned in the post above, could be a convenient way to process the orders efficiently. Ryan Thrash Link to comment Share on other sites More sharing options...
livefooduk Posted February 24, 2003 Author Share Posted February 24, 2003 2nd button: Hit the button and it updates all the "orders received" to a new status in one hit.3rd button: Gets customer name, cc details and amount, all onto one page so that you can process them all in one go. Why don't you give it a go ? That would not work for us We have a lot of different status's (Partial order despatched, out of stock, credit card not authorised, Waiting for check/money order etc. etc.) Nice thought though :D Best wishes Steve Link to comment Share on other sites More sharing options...
livefooduk Posted February 24, 2003 Author Share Posted February 24, 2003 I've got it! I am well pleased with my self I knew nothing at all about PHP before I discoved OSC What I have done is added this: <tr> <td class="pageHeading" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . tep_db_input(($oID)+1) . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a>'; ?> </td> </tr> So I start with the oldest order (lowest oID number) print the invoice then when I click that button I get the next order ready to edit. :D Best wishes Steve Link to comment Share on other sites More sharing options...
singspiel Posted March 2, 2003 Share Posted March 2, 2003 where did you enter this? Link to comment Share on other sites More sharing options...
livefooduk Posted March 2, 2003 Author Share Posted March 2, 2003 I added that to admin/orders.php You can put it where ever you like but I put it (around line 141) just after this: <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', 1, HEADING_IMAGE_HEIGHT); ?></td> <td class="pageHeading" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> because after you udate the order status the page reloads and then the button (I added) to get he next order is at the top of the page. Best wishes Steve Link to comment Share on other sites More sharing options...
singspiel Posted March 2, 2003 Share Posted March 2, 2003 Thanks Steve, great help. Still would like contrib to go one step futher like i mentioned here:- http://www.oscommerce.com/forums/viewtopic.php?t=36125 any help from anyone greatly appreciated. Nev Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.