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

#   {automatic\_code} with a min. of 6 positions

##

- **[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")**
- [![n00bster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56367-n00bster "View n00bster's Profile") Topic Author
- [ Offline](/forum/user/56367-n00bster)

Less More

- Posts: 103
- Thank you received: 5
-
-

7 years 6 months ago [\#306378](#306378) by [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")  *[{automatic\_code} with a min. of 6 positions](/forum/35-orders-management/897430-automatic-code-with-a-min-of-6-positions#306378 "-- HikaShop version -- : 4.0.3  how did you manage the orders like on the image below?  when i use the {automatic&#95;code} i get only a order id with 3 positions, like this: T17 But i want to generate a min. of 6 positions. how did you manage this on your hika installation?")* was created by *[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")*

-- HikaShop version -- : 4.0.3

how did you manage the orders like on the image below?
[ ![2019-05-09&#95;18-57-02.jpg](/forum/attachment/46772) ](/forum/attachment/46772 "...9&#95;18-57-02.jpg")

when i use the {automatic_code} i get only a order id with 3 positions, like this: T17
But i want to generate a min. of 6 positions.
how did you manage this on your hika installation?

- [ ![2019-05-09&#95;18-57-02.jpg](/forum/attachment/46772) ](/forum/attachment/46772 "...9&#95;18-57-02.jpg") [ ](/forum/attachment/46772?download=1 "...9&#95;18-57-02.jpg")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 6 months ago [\#306383](#306383) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[{automatic\_code} with a min. of 6 positions](/forum/35-orders-management/897430-automatic-code-with-a-min-of-6-positions#306383 "-- HikaShop version -- : 4.0.3  how did you manage the orders like on the image below?  when i use the {automatic&#95;code} i get only a order id with 3 positions, like this: T17 But i want to generate a min. of 6 positions. how did you manage this on your hika installation?")*

Hi,

We use the automatic_code tag, but with a bigger order_id.

The following user(s) said Thank You: [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")

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

- **[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")**
- [![n00bster's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/56367-n00bster "View n00bster's Profile") Topic Author
- [ Offline](/forum/user/56367-n00bster)

Less More

- Posts: 103
- Thank you received: 5
-
-

7 years 6 months ago [\#306389](#306389) by [n00bster](/forum/user/56367-n00bster "View n00bster's Profile")  Replied by *[n00bster](/forum/user/56367-n00bster "View n00bster's Profile")* on topic *[{automatic\_code} with a min. of 6 positions](/forum/35-orders-management/897430-automatic-code-with-a-min-of-6-positions#306389 "-- HikaShop version -- : 4.0.3  how did you manage the orders like on the image below?  when i use the {automatic&#95;code} i get only a order id with 3 positions, like this: T17 But i want to generate a min. of 6 positions. how did you manage this on your hika installation?")*

how can i enlarge the order_id?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

7 years 6 months ago [\#306393](#306393) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[{automatic\_code} with a min. of 6 positions](/forum/35-orders-management/897430-automatic-code-with-a-min-of-6-positions#306393 "-- HikaShop version -- : 4.0.3  how did you manage the orders like on the image below?  when i use the {automatic&#95;code} i get only a order id with 3 positions, like this: T17 But i want to generate a min. of 6 positions. how did you manage this on your hika installation?")*

Hi,

For the order number, you need a bigger order_id. Thi can be increased in the auto increment setting of your phpmyadmin in the hikashop_order table:
[ www.hikashop.com/forum/install-update/88...r-order-numbers.html](https://www.hikashop.com/forum/install-update/884502-how-to-change-starting-point-for-order-numbers.html)
For the invoice number, the automatic_code bases itself on the order_invoice_id and it depends on the last order's order_invoice_id. So you would have to edit the value of that column in hikashop_order for the last confirmed order and increase the value that. That will be taken into account for the next confirmed order.

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

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