second shop with new admin

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!
cmpengineers
Posts: 3
Joined: 18 Sep 2019, 16:37

second shop with new admin

Post by cmpengineers » 11 Jan 2020, 13:55

Hello

I have created a new site for new admin , but how do i see this second shop ?

php artisan aimeos:setup myshop2 default

php artisan aimeos:account --admin cmp2@cmp2.com myshop2

after adding a product from the dashbaord where you will see the product ?

Best regards

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

Re: second shop with new admin

Post by aimeos » 12 Jan 2020, 17:50

You have to adapt the routes for multi-site:
https://aimeos.org/docs/Laravel/Configu ... iple_shops
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cmpengineers
Posts: 3
Joined: 18 Sep 2019, 16:37

Re: second shop with new admin

Post by cmpengineers » 14 Jan 2020, 10:49

Hello

Thanks


so each vendor will have their own routes

'jsonapi' => ['prefix' => '{site}/jsonapi', 'middleware' => ['web', 'api']],
'account' => ['prefix' => '{site}/profile', 'middleware' => ['web', 'auth']],
'default' => ['prefix' => '{site}/shop', 'middleware' => ['web']]



so it will like this aimeos.test/cmp2/shop , correct ?

and if i created a new shop name cmp3 will the same thing aimeos.test/cmp3/shop ?

Best regards

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

Re: second shop with new admin

Post by aimeos » 14 Jan 2020, 14:13

Correct
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply