WebSite X5Help Center

 
Aleksander P.
Aleksander P.
User

I Do To Change The Number Of Orders  en

Автор: Aleksander P.
Просмотрено 2205, Подписчики 1, Размещенный 28  
Тэги: change,number,orders

As I do to change the number of orders generated by the e-commerce?

Размещено
5 Ответы - 1 Корректно
Incomedia
Riccardo P.
Incomedia

Hi Aleksander,

the order number is structuredas follows:[yy][mm][dd]-[A-Z][A-Z][0-9][0-9]

For modify the number of oders you can inset a script in the header of the site (step1,general setting,Expert,) in the head you can insert the script:

<script>
x5engine.imCart.settings.order_no_format = "[yy][mm][dd]-[A-Z][A-Z][0-9][0-9]"
</script>

you can modify the [ ]:

[dd] day set with 2 different amounts
[mm] month set with 2 different amounts
[yy] year set with 2 different amounts
[yyyy] year set with 4 different amounts
[A-Z] capital letter
[a-z] lower case letter
[0-9] number

Читать больше
Размещено От Riccardo P.
Aleksander P.
Aleksander P.
User
Автор

Thank you very much

Читать больше
Размещено От Aleksander P.
Aleksander P.
Aleksander P.
User
Автор

I have one more question related to numbering orders. I changed the way of numbering as you suggested in this way:

<script>
x5engine.imCart.settings.order_no_format = "[yy][mm][dd]-[0-9][0-9]"
</script>

I would like to get rid of the letters from order number.

After your recommended change order numbers made in one day looked like these:
111113-00
111113-11
111113-22
111113-33
111113-44
111113-55
111113-66
111113-77
111113-88
111113-99
And then they repeat.

So with this method I can have only 10 unique order numbers in one day. Is it possible to increase range of order numbers to receive more unique order numbers but without letters?

Читать больше
Размещено От Aleksander P.
Incomedia
Riccardo P.
Incomedia

Hi Aleksander,

if you want have letters you can set "[yy][mm][dd]-[A-Z][A-Z]".

Читать больше
Размещено От Riccardo P.
Aleksander P.
Aleksander P.
User
Автор

Hi,

but the issue is, that I need order numbers WITHOUT letters and more than 10 unique order numbers in one day. With your script I have order numbers without letters, but only max. 10 per one day.

Читать больше
Размещено От Aleksander P.