Multishop advanced configuration

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
krzysiekp
Posts: 85
Joined: 05 Nov 2021, 16:19

Multishop advanced configuration

Post by krzysiekp » 10 May 2022, 10:13

For example, we have two domains:
- domain1.com,
- domain2.com.
There are different markets within these domains, e.g.
- Poland => domain1.com/pl, domain2.com/pl,
- Slovakia => domain1.com/sk, domain2.com/sk,
- Czech Republic => domain1.com/cz, domain2.com/cz.

There will be different products on each market, different forms of payment, different forms of delivery.
Is such a configuration possible on one database and code? Is it better to split it into two separate databases and codes?

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

Re: Multishop advanced configuration

Post by aimeos » 11 May 2022, 06:30

Yes, you can use one database and use the country code as value for the {site} parameter to switch between the shops for the different countries.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

krzysiekp
Posts: 85
Joined: 05 Nov 2021, 16:19

Re: Multishop advanced configuration

Post by krzysiekp » 11 May 2022, 06:35

But note that the country codes repeat within these two domains. As far as I know, the page code must be unique.

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

Re: Multishop advanced configuration

Post by aimeos » 11 May 2022, 06:37

As long as domain2.com is only an alias for domain1.com and share the same code and data, this will work without problem.
If code and data should be different for domain2.com, than you need to separate domain1.com and domain2.com into different installations.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply