WebSite X5Help Center

 
Dmitrij K.
Dmitrij K.
User

Change the naming of the order  en

Autore: Dmitrij K.
Visite 656, Followers 1, Condiviso 0  
Parole Chiave: cart,order_no_format,shopping

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.

Postato il
2 RISPOSTE - 1 UTILE - 1 CORRETTO
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!

Leggi di più
Postato il da Claudio D.
Dmitrij K.
Dmitrij K.
User
Autore

Hi Claudio,

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

Leggi di più
Postato il da Dmitrij K.