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

#   Order Number

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 9 months ago [\#84917](#84917) by [Arthas](/forum/user/12785-arthas "View Arthas's Profile")  *[Order Number](/forum/4-how-to/77350-order-number#84917 "Hello,  I need to change the order's number for each new order on the store. Like this:  order&#95;id + date(Year)  Is it sufficient change the way how hikashop save it from the order's class?  thanks in advance")* was created by *[Arthas](/forum/user/12785-arthas "View Arthas's Profile")*

Hello,

I need to change the order's number for each new order on the store. Like this:

order_id + date(Year)

Is it sufficient change the way how hikashop save it from the order's class?

thanks in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3MzUwLW9yZGVyLW51bWJlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 9 months ago [\#84958](#84958) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Order Number](/forum/4-how-to/77350-order-number#84958 "Hello,  I need to change the order's number for each new order on the store. Like this:  order&#95;id + date(Year)  Is it sufficient change the way how hikashop save it from the order's class?  thanks in advance")*

Hi,

It's an existing option in HikaShop
[ www.hikashop.com/en/support/documentatio...hop-config.html#main](http://www.hikashop.com/en/support/documentation/integrated-documentation/54-hikashop-config.html#main)

> Order number format : This option enables you to set the format of order numbers. It is only available in commercial versions of HikaShop. By default, the order number uses letters and numbers interleaved together. this is represented here with the tag {automatic\_code}. If you want to use the order number directly, you can use the tag {id}. In the tag id, you can specify the number of numbers with the size attribute. For example, {id size="5"} will result in 00123 for the order with the id 123. You can also use the date tag in order to insert date information. For example, {date format="m/Y"} will result in 02/11 for an order made in February 2011. You can combine them to generate pretty advanced order numbers like the format RE-{id size="5"}/{date format="m/Y"} used for German accounting which will result in RE-00123/02/11 for the order 123 made on February 2011.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3MzUwLW9yZGVyLW51bWJlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 2
- Thank you received: 0
-
-

13 years 9 months ago [\#85081](#85081) by [Arthas](/forum/user/12785-arthas "View Arthas's Profile")  Replied by *[Arthas](/forum/user/12785-arthas "View Arthas's Profile")* on topic *[Order Number](/forum/4-how-to/77350-order-number#85081 "Hello,  I need to change the order's number for each new order on the store. Like this:  order&#95;id + date(Year)  Is it sufficient change the way how hikashop save it from the order's class?  thanks in advance")*

Oh, I didn't see it. Thanks a lot.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc3MzUwLW9yZGVyLW51bWJlcj90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.100 seconds

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