2

With set of products in my shopping cart When I login and start an order I get assigned an orderID.

If I then sit on my order, or logout and come back again, my cart products is still there and the order ID I was given (potentailly days ago) is still there. In the mean time the there are 100's of orders placed after me. And now am placing my oder means my oder id is before 100 old ID's. These all are good and goes well.

But In the backend, our fulfilment people will have batched well beyond the current ID and my old order ID will get lost in a void(because if i am ordering after one year or so my ID could be 1000 id's Back).

SO, is it possible and easy and safe to force Magento to re-issue a new ORDER ID upon step one of the checkout? If not, can we prevent Magento from remembering your cart state after you logout) or perhaps each time you re-login, whichever is easier?

Thanks for your support.

1 Answer 1

3

If you go to System>Config>Checkout>Shopping Cart and change the value for Quote Lifetime (days), you will be able to reduce the length of time that the cart is stays alive.

Alternatively, I would recommend that you change the fulfilment order selection criteria to work on the order date, not order ID.

3
  • 2
    The latter is the real fix here. Order ID is a handy string, but it is for human consumption. Use the date if you want to catch everything.
    – Joe Mastey
    Dec 16, 2010 at 4:58
  • but when we chnage the "Quote Lifetime" then my cart products will be lost for the customers? Let me try it out. Thanks for your answer.
    – Elamurugan
    Dec 16, 2010 at 10:05
  • 1
    Yes, they will be lost. That's why I (and Joseph) suggest that you change the fulfillment order selection criteria instead. Dec 16, 2010 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.