Page 1 of 1

second shop with new admin

Posted: 11 Jan 2020, 13:55
by cmpengineers
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

Re: second shop with new admin

Posted: 12 Jan 2020, 17:50
by aimeos
You have to adapt the routes for multi-site:
https://aimeos.org/docs/Laravel/Configu ... iple_shops

Re: second shop with new admin

Posted: 14 Jan 2020, 10:49
by cmpengineers
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

Re: second shop with new admin

Posted: 14 Jan 2020, 14:13
by aimeos
Correct