WebSite X5Help Center

 
Dmitrij K.
Dmitrij K.
User

Change the naming of the order  en

Author: Dmitrij K.
Visited 648, Followers 1, Shared 0  

Hi,

In Evolution 9 I used the script to modify the name of the order to have it without letters.

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

After transition to Evolution 10 it seems that it is not possible to change the name.

I use the same script but the program generates standard names like 130624-LB54. With letters.

I need to have the name of order without letters, so the customers can indicate the order number in a payment order as a reference number. This reference number cannot obtain letters.

Please advise.

Posted on the
2 ANSWERS - 1 USEFUL - 1 CORRECT
Incomedia
Claudio D.
Incomedia

Hello Dzmitry,

Unfortunately we cannot help with custom code but you need to change the settings directly in the files generated by the program and you can find the cart file in your project under /cart/x5cart.js

Many thanks!

Read more
Posted on the from Claudio D.
Dmitrij K.
Dmitrij K.
User
Author

Hi Claudio,

Ok, I changed it and it works as I wish. Thanx for your advice.

Read more
Posted on the from Dmitrij K.