WebSite X5Help Center

 
Aleksander P.
Aleksander P.
User

I Do To Change The Number Of Orders  en

Autor: Aleksander P.
Visitado 2234, Seguidores 1, Compartilhado 28  

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

Publicado em
5 RESPOSTAS - 1 CORRIGIR
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

Ler mais
Publicado em de Riccardo P.
Aleksander P.
Aleksander P.
User
Autor

Thank you very much

Ler mais
Publicado em de Aleksander P.
Aleksander P.
Aleksander P.
User
Autor

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?

Ler mais
Publicado em de Aleksander P.
Incomedia
Riccardo P.
Incomedia

Hi Aleksander,

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

Ler mais
Publicado em de Riccardo P.
Aleksander P.
Aleksander P.
User
Autor

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.

Ler mais
Publicado em de Aleksander P.