WebSite X5Help Center

 
Aleksander P.
Aleksander P.
User

I Do To Change The Number Of Orders  en

Auteur : Aleksander P.
Visité 2277, Followers 1, Partagé 28  
Mots-clés :: change,number,orders

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

Posté le
5 RéPONSES - 1 CORRECT
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

Lire plus
Posté le de Riccardo P.
Aleksander P.
Aleksander P.
User
Auteur

Thank you very much

Lire plus
Posté le de Aleksander P.
Aleksander P.
Aleksander P.
User
Auteur

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?

Lire plus
Posté le de Aleksander P.
Incomedia
Riccardo P.
Incomedia

Hi Aleksander,

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

Lire plus
Posté le de Riccardo P.
Aleksander P.
Aleksander P.
User
Auteur

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.

Lire plus
Posté le de Aleksander P.