WebSite X5Help Center

 
Dmitrij K.
Dmitrij K.
User

Change the naming of the order  en

Autor: Dmitrij K.
Visitado 654, Followers 1, Compartido 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.

Publicado en
2 RESPUESTAS - 1 ÚTIL - 1 CORRECTO
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!

Leer más
Publicado en de Claudio D.
Dmitrij K.
Dmitrij K.
User
Autor

Hi Claudio,

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

Leer más
Publicado en de Dmitrij K.