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

#   how to set Order number by Random number

##

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

Less More

- Posts: 29
- Thank you received: 1
-
-

7 years 2 months ago [\#310423](#310423) by [albertluo0988](/forum/user/49749-albertluo0988 "View albertluo0988's Profile")  *[how to set Order number by Random number](/forum/35-orders-management/898202-how-to-set-order-number-by-random-number#310423 "-- url of the page with the problem -- : htt://www.sawady-art.com -- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7 -- Browser(s) name and version -- : safari -- Error-message(debug-mod must be tuned on) -- : how to set Order number by Random number  how to set Order number by Random number")* was created by *[albertluo0988](/forum/user/49749-albertluo0988 "View albertluo0988's Profile")*

-- url of the page with the problem -- : htt://www.sawady-art.com
-- HikaShop version -- : 4.1.0
-- Joomla version -- : 3.9.12
-- PHP version -- : 7
-- Browser(s) name and version -- : safari
-- Error-message(debug-mod must be tuned on) -- : how to set Order number by Random number

how to set Order number by Random number

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODIwMi1ob3ctdG8tc2V0LW9yZGVyLW51bWJlci1ieS1yYW5kb20tbnVtYmVyP3RtcGw9bWFya2Rvd24=) 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 2 months ago [\#310443](#310443) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[how to set Order number by Random number](/forum/35-orders-management/898202-how-to-set-order-number-by-random-number#310443 "-- url of the page with the problem -- : htt://www.sawady-art.com -- HikaShop version -- : 4.1.0 -- Joomla version -- : 3.9.12 -- PHP version -- : 7 -- Browser(s) name and version -- : safari -- Error-message(debug-mod must be tuned on) -- : how to set Order number by Random number  how to set Order number by Random number")*

Hi,

There is no option to have a random number.
However, you could use the tag {order_created}
That will display the creation date as a unix timestamp, and you can use the "size" attribute to limit the number of digits. That might be able to help you.

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

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