Unic order ID

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Alex K
Posts: 9
Joined: 14 May 2018, 06:22

Unic order ID

Post by Alex K » 01 Jun 2018, 10:41

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!

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Unic order ID

Post by aimeos » 01 Jun 2018, 20:54

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Alex K
Posts: 9
Joined: 14 May 2018, 06:22

Re: Unic order ID

Post by Alex K » 02 Jun 2018, 14:12

OK, i see. To add prefix to email i need to change email template or theris any config for this?

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: Unic order ID

Post by aimeos » 02 Jun 2018, 20:29

Yes, copy the e-mail template to your own extension and modify the line where it outputs the order ID
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply