Page 1 of 1

Unic order ID

Posted: 01 Jun 2018, 10:41
by Alex K
Hi! I have two shops on aimeos and i have situation, when i got same orders ID on my email. So how can change order ID like this: FR1-FRNNN. I just want to add Letters to begining of Order ID.
Thank you!

Re: Unic order ID

Posted: 01 Jun 2018, 20:54
by aimeos
The order IDs are auto_incement values from MySQL so you can only add prefixes when e.g. the e-mail is sent to you.

Re: Unic order ID

Posted: 02 Jun 2018, 14:12
by Alex K
OK, i see. To add prefix to email i need to change email template or theris any config for this?

Re: Unic order ID

Posted: 02 Jun 2018, 20:29
by aimeos
Yes, copy the e-mail template to your own extension and modify the line where it outputs the order ID