Reorder the same

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!

10 Replies to “Reorder the same”

  1. Hi Gary

    very useful addition! *thumbs up*

    Personally there’s quite a few things I’d like to add to order history as I find the default one quite bare, for example “contact seller about this order”, “write a review”, “return an item”.
    Just my thoughts. 🙂

  2. Hi Isa – that would certainly be possible, but I think would be better as a page within the admin section (maybe a recode of account_history.php) ?

  3. Gary,

    I’d be interested if you could make a completely separate page out of this allowing the customer to reorder any previously ordered product and also specify the number of items.

    feel free to get in touch

    Carine

  4. I would be interested in a page that has the entire order history and items can be selected 1 by 1 like in the video does this exist?

    Thanks

  5. It does exist and is available to purchase. Price depends on what version of osCommerce you are using. Feel free to email me.

Leave a Reply

Your email address will not be published. Required fields are marked *