Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Managing Customers and Orders / Orders ID - can I reset?

Orders ID - can I reset?

Started by futurist71 on 27 Jul 2012, 7:39 PM · Views: 1,466

Results 1 to 5 of 5
27 Jul 2012, 7:39 PM
#1
futurist71 avatar

futurist71

New Zenner

Join Date:
Jul 2011
Posts:
24
Plugin Contributions:
0

Orders ID - can I reset?

Hi,

I have configured ZenCart v1.5. I have imported orders from version 1.3.9h, now I have orders from 1 to 47, but don't know why they jumped from 47 to 52, 53, 54, I need these 3 new orders continuing after 47... how can I fix that? Which tables I should touch to make it work.

Regards,

27 Jul 2012, 11:18 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,898
Plugin Contributions:
22

Re: Orders ID - can I reset?

You may have to learn to live with this. The order id is interlaced throughout the database in many tables. Once an id has been assigned, it cannot be used again. The missing numbers could have been test orders that were deleted or any other cause. You can set the order number to a number higher than the current id and try going on from there, but it will happen again.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 Dec 2013, 8:49 PM
#3
trademagic avatar

trademagic

New Zenner

Join Date:
Jul 2013
Location:
Lakewood, California, United States
Posts:
66
Plugin Contributions:
0

Re: Orders ID - can I reset?

I would like to set a higher order number so it does not appear to the customer that they are the first hundred or so orders. How can we change the current order number?

19 Dec 2013, 8:02 AM
#5
trademagic avatar

trademagic

New Zenner

Join Date:
Jul 2013
Location:
Lakewood, California, United States
Posts:
66
Plugin Contributions:
0

Re: Orders ID - can I reset?

Perfect, and thank you.