WebSite X5Help Center

 
Dmitrij K.
Dmitrij K.
User

Change the naming of the order  en

Автор: Dmitrij K.
Просмотрено 760, Подписчики 1, Размещенный 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.

Размещено
2 Ответы - 1 Полезно - 1 Корректно
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!

Читать больше
Размещено От Claudio D.
Dmitrij K.
Dmitrij K.
User
Автор

Hi Claudio,

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

Читать больше
Размещено От Dmitrij K.