Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Re-open an order?


vonbrocklin

Recommended Posts

Has anybody ever explored the idea of RESTORING an order back to an active state from the consumer side of the application? In other words, some capability for either the consumer or the admin to re-open an order to add/delete/modify products prior to processing the order?

Link to comment
Share on other sites

I have been looking into this further, and wonder if a team member or another expert can tell me if I am on the right track:

 

1. From the admin side, create a button on any "pending" order that says: RESTORE ORDER

 

2. If pressed, collect all order details and customer details and RESTORE the order back into the customers_basket and customers_basket_attributes tables

 

3. After safely back into the basket tables, DELETE the order completely

 

4. Allow the customer to logon in order to change her order around

 

5. Resubmit the order as usual

 

Are there any dangers to this approach to editing orders or obvious pitfalls I am overlooking? I would really like to provide some more advanced capabilities for editing orders. The existing contrib (Manual Order Update) works okay but does not allow changes to attributes and so on. I will provide a contrib if I get this working.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...