Second Site: Order IDs

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!
cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

Second Site: Order IDs

Post by cnoelker » 12 Jun 2020, 11:22

Hi again,

another question raising up when configuring a second site:
Both orders are stored in the mshop_order table and they are both using the same ID for creating a unique order ID.
E.g.
Order ID 12001 -> Site 1
Order ID 12002 -> Site 2
Order ID 12003 -> Site 1

Is there a way to prevent this and to provide separate counting schemas for the sites?
E.g.
Order ID 12001 -> Site 1
Order ID 50001 -> Site 2
Order ID 12002 -> Site 1

Claudia

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

Re: Second Site: Order IDs

Post by aimeos » 13 Jun 2020, 12:09

No way if you use a shared database for both sites because it's an AUTO_INCREMENT column
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cnoelker
Advanced
Posts: 140
Joined: 20 Feb 2016, 18:21

Re: Second Site: Order IDs

Post by cnoelker » 13 Jun 2020, 12:14

I suspected this, too. Just wanted to be sure that I didn't overlook something.

Post Reply