Order number limits

  • Posts: 27
  • Thank you received: 2
1 week 6 days ago #365338

-- HikaShop version -- : 5.1.2
-- Joomla version -- : 5.1.4
-- PHP version -- : 8.2.27
-- Browser(s) name and version -- : EDGE 132.0.2957.115

I have a question about the order numbers.

I have set my order number size to 4, but i am curious what will happen when the limit of 9999 will be reached. What will happen next? Will the numbers start over and will the old orders be overwritten or will there be inserted an extra number? As we are halfway there i wanted to know this in advance so that precautions can be taken.

Sincerely,


Best regards,
Attachments:
Last edit: 1 week 6 days ago by alexnovo.

Please Log in or Create an account to join the conversation.

  • Posts: 83182
  • Thank you received: 13438
  • MODERATOR
1 week 5 days ago #365339

Hi,

The size is only for padding zeros.
So it will add zeros if necessary to match the number of digits you set in the attribute.
If the id already has enough digits, then it won't do anything. So no worries.

In fact, if you're worried, since your order ids are already with 4 digits, you can remove the size attribute and it will produce the same result.

The following user(s) said Thank You: alexnovo

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum