Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.0
Component:
Order
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2011 at 13:23 UTC
Updated:
16 Jun 2016 at 19:55 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rszrama commentedIn phpMyAdmin under the Operations tab you need to reset the auto increment value to 1 for the commerce_order table.
Comment #2
amfis commentedThanks for the tip.
Just to add to others: before doing this it is needed to empty commerce_order table.
Comment #4
ron williams commentedSQL code option:
ALTER TABLE commerce_order AUTO_INCREMENT=1Comment #5
garethhallnz commentedJust contributed a module to help with this.
Commerce Reset
Comment #6
giorgosk#4 works great thanks
Comment #7
el_reverend commentedI've ran
ALTER TABLE `commerce_order` AUTO_INCREMENT = 1000;(as seen here: https://drupalcommerce.org/questions/3172/how-can-i-change-starting-orde...)and that worked great for all new customers. In a recent test I created a new order as the superuser and it turns out that it used the original ordering numbers!
Well thats odd. I was not aware that commerce uses numbers based on the user - and that seems weird. Does anyone have an idea to why or how to make it uniform accross all users?