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

#   Main order number jumps from 3401 to 3404

##

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile") Topic Author
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

9 years 11 months ago [\#257375](#257375) by [river](/forum/user/9591-river "View river's Profile")  *[Main order number jumps from 3401 to 3404](/forum/23-market-how-to/887888-main-order-number-jumps-from-3401-to-3404#257375 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 7  Use same order number for sub-orders is set to: YES  This is just an example: When a customer creates an order (consisting of items from example 2 Vendors) Then. i.e the main order get &quot;order number 3401&quot;  ...then the next customer creates and order, and his main order gets &quot;order number 3404&quot;  Why is this the case ? Why doesn't the last order get order number 3402 (So it follows normal order) ?")* was created by *[river](/forum/user/9591-river "View river's Profile")*

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.4
-- PHP version -- : 7

Use same order number for sub-orders is set to: YES

This is just an example:
When a customer creates an order (consisting of items from example 2 Vendors)
Then. i.e the main order get "order number 3401"

...then the next customer creates and order, and his main order gets "order number 3404"

Why is this the case ?
Why doesn't the last order get order number 3402 (So it follows normal order) ?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#257381](#257381) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Main order number jumps from 3401 to 3404](/forum/23-market-how-to/887888-main-order-number-jumps-from-3401-to-3404#257381 "-- HikaShop version -- : 2.6.4 -- HikaMarket version -- : 1.7.2 -- Joomla version -- : 3.6.4 -- PHP version -- : 7  Use same order number for sub-orders is set to: YES  This is just an example: When a customer creates an order (consisting of items from example 2 Vendors) Then. i.e the main order get &quot;order number 3401&quot;  ...then the next customer creates and order, and his main order gets &quot;order number 3404&quot;  Why is this the case ? Why doesn't the last order get order number 3402 (So it follows normal order) ?")*

Hi,

You will find plenty of thread already talking about that.

CF : [ www.hikashop.com/support/documentation/1...or-presentation.html](https://www.hikashop.com/support/documentation/142-multivendor-presentation.html)
Each time an order is created, some sub orders are also created.
And because the "order_id" is generated automatically by the database, each time a sub order is added, the "order_id" counter is incremented.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODg3ODg4LW1haW4tb3JkZXItbnVtYmVyLWp1bXBzLWZyb20tMzQwMS10by0zNDA0P3RtcGw9bWFya2Rvd24=) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.052 seconds

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