WebSite X5Help Center

 
Aleksander P.
Aleksander P.
User

I Do To Change The Number Of Orders  en

Author: Aleksander P.
Visited 1928, Followers 1, Shared 28  

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

Posted on the
5 ANSWERS - 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

Read more
Posted on the from Riccardo P.
Aleksander P.
Aleksander P.
User
Author

Thank you very much

Read more
Posted on the from Aleksander P.
Aleksander P.
Aleksander P.
User
Author

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?

Read more
Posted on the from Aleksander P.
Incomedia
Riccardo P.
Incomedia

Hi Aleksander,

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

Read more
Posted on the from Riccardo P.
Aleksander P.
Aleksander P.
User
Author

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.

Read more
Posted on the from Aleksander P.