WebSite X5Help Center

 
Dmitrij K.
Dmitrij K.
User

Change the naming of the order  en

Autor: Dmitrij K.
Visited 761, Followers 1, Udostępniony 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 ODPOWIEDZI - 1 POMOCNY - 1 PRAWIDłOWA ODPOWIEDź
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!

Czytaj więcej
Posted on the from Claudio D.
Dmitrij K.
Dmitrij K.
User
Autor

Hi Claudio,

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

Czytaj więcej
Posted on the from Dmitrij K.