[Skip to main content](#vessel-content)

#   Make order number start at chosen number

##

- **[Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")**
- [![Foxworks's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7379.png)](/forum/user/7379-foxworks "View Foxworks's Profile") Topic Author
- [ Offline](/forum/user/7379-foxworks)

Less More

- Posts: 93
- Thank you received: 5
-
-
-

13 years 4 months ago [\#111760](#111760) by [Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")  *[Make order number start at chosen number](/forum/4-how-to/84441-make-order-number-start-at-chosen-number#111760 "I am quite sure that I've done this before, but I can't remember how to do it. I want the orders in my new shop to continue numbering from where the old shop was stopped. The old shop received 800 orders, so I want my new orders to start numbering from 801. My order number date format is: KO-{id size=&quot;5&quot;}-{date format=&quot;dmY&quot;} So the id should start numbering from 800 onwards. Is this something I need to edit in my DB?  Kind regards, Chris")* was created by *[Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")*

I am quite sure that I've done this before, but I can't remember how to do it.
I want the orders in my new shop to continue numbering from where the old shop was stopped.
The old shop received 800 orders, so I want my new orders to start numbering from 801.
My order number date format is: KO-{id size="5"}-{date format="dmY"}
So the id should start numbering from 800 onwards. Is this something I need to edit in my DB?

Kind regards,
Chris

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg0NDQxLW1ha2Utb3JkZXItbnVtYmVyLXN0YXJ0LWF0LWNob3Nlbi1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 4 months ago [\#111767](#111767) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Make order number start at chosen number](/forum/4-how-to/84441-make-order-number-start-at-chosen-number#111767 "I am quite sure that I've done this before, but I can't remember how to do it. I want the orders in my new shop to continue numbering from where the old shop was stopped. The old shop received 800 orders, so I want my new orders to start numbering from 801. My order number date format is: KO-{id size=&quot;5&quot;}-{date format=&quot;dmY&quot;} So the id should start numbering from 800 onwards. Is this something I need to edit in my DB?  Kind regards, Chris")*

I there,

Just execute this query in your database: Code:

ALTER TABLE yourkey_hikashop_order AUTO_INCREMENT = 800

it should do the job ![:)](/media/kunena/emoticons/3.png ":)")

The following user(s) said Thank You: [Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg0NDQxLW1ha2Utb3JkZXItbnVtYmVyLXN0YXJ0LWF0LWNob3Nlbi1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")**
- [![Foxworks's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar7379.png)](/forum/user/7379-foxworks "View Foxworks's Profile") Topic Author
- [ Offline](/forum/user/7379-foxworks)

Less More

- Posts: 93
- Thank you received: 5
-
-
-

13 years 4 months ago [\#111773](#111773) by [Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")  Replied by *[Foxworks](/forum/user/7379-foxworks "View Foxworks's Profile")* on topic *[Make order number start at chosen number](/forum/4-how-to/84441-make-order-number-start-at-chosen-number#111773 "I am quite sure that I've done this before, but I can't remember how to do it. I want the orders in my new shop to continue numbering from where the old shop was stopped. The old shop received 800 orders, so I want my new orders to start numbering from 801. My order number date format is: KO-{id size=&quot;5&quot;}-{date format=&quot;dmY&quot;} So the id should start numbering from 800 onwards. Is this something I need to edit in my DB?  Kind regards, Chris")*

Thanks!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzg0NDQxLW1ha2Utb3JkZXItbnVtYmVyLXN0YXJ0LWF0LWNob3Nlbi1udW1iZXI/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
