I Do To Change The Number Of Orders
Autor: Aleksander P.
Visited 2206,
Followers 1,
Udostępniony 28
As I do to change the number of orders generated by the e-commerce?
Posted on the
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
Autor
Thank you very much
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?
Hi Aleksander,
if you want have letters you can set "[yy][mm][dd]-[A-Z][A-Z]".
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.