Zen Follower
- Join Date:
- Sep 2010
- Posts:
- 270
- Plugin Contributions:
- 0
How to Reset the Order ID back to 1 ?
How to Reset the Order ID back to 1 ?
I have duplicated my web site and database, so on the new site I'm starting orders from scratch and ideally would like to reset the ID to 1. I have deleted all the old order data on the duplicated site, so there are no orders on the new site that are using order no 1, so far as I'm aware.
I've been reading many comments about not being able to set the order ID back to 1 and the reasons why, however in this situation I'm starting from scratch for this new duplicated then modified site, so on the surface at least, it makes sense to reset the order ID back to 1, as I have not had any orders on this new site yet.
When I did a first test order on this new duplicated then modified site, the order number was no 35, which was the last order number of my original site when I backed it up and copied it to the new duplicated then modified site. It just seems to make more sense to restart at order no 1 for this new site, which as mentioned, does not yet have any real orders to its name.
Thus if it is technically possible, whilst maintaining the integrity of the remaining data on this new site, I would like to reset the order number back to 1. Thus then the question becomes, how ? Can I simply edit the order table via PhPMyAdmin or something ? or other method ?
Otherwise if there's another reason why the order number can't be set back to no 1 on what effectively is a new site, I would be interested to know why.
Thanks,
007