In osCommerce there is native functionality that allows the person to reorder on a product by product basis – it’s the bm_order_history infobox. It pretty much lists the last few products ordered and has a clickable link which either adds the product to the shopping_cart, or goes to the product_information page to allow to select the product options.
I’ve had a plan to write a “let me re-order the exact same again” script, and after having chatted with Matt last night I set out to make it a reality. And so I present to you my effort at a re-ordering script.
Step 1. Add a new button at the account_history page.
Step 2. Make some new code in the shopping cart to grab the orders products, and insert them into the shopping cart.
Notice that the inserted product(s) include the options/attributes if applicable. Now the buyer is ready to continue shopping or checkout.
Video in Action
If you need something similar, please feel free to get in touch by email.
How about something similar, yet completely off the wall ?
Take for example a regular client who decides she really loves a few products she bought from you, but does not want to re-order the whole same order? In this case, why not present all the products purchased from previous orders the client made. Then allow the customer to tick the products to re-order?
And of course, work the re-ordering mechanism into the bm_order_history box to replace the “1 by 1” functionality!