Multi-Shop Search not working

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Manaf
Posts: 4
Joined: 23 Oct 2018, 08:17

Multi-Shop Search not working

Post by Manaf » 26 Nov 2018, 12:24

In Aimeos laravel, I created multi-shop using the command
./artisan aimeos:setup myshop2 default
./artisan aimeos:account --admin me@example.com myshop2


Then i added following lines in config/shop.php, the listing is working fine. but in search listing and search suggest dropdown not listing myshop2 products (only listing default site products) , i'm on stuck please help me with a solution. thanks a lot

'frontend' => array(
'mshop' => array(
'common' => array(
'manager' => array(
'sitecheck' => 0
),
),
),
)

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

Re: Multi-Shop Search not working

Post by aimeos » 27 Nov 2018, 17:06

Does it work if you execute

Code: Select all

php artisan aimeos:jobs index/rebuild myshop2
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Manaf
Posts: 4
Joined: 23 Oct 2018, 08:17

Re: Multi-Shop Search not working

Post by Manaf » 28 Nov 2018, 01:22

Thanks the reply, i executed the command index/rebuilt, but myshop2 products are not showing in serach-list and suggest-list pages, i dig the code path: \vendor\aimeos\aimeos-core\lib\mwlib\src\MW\Criteria\Expression\Compare\SQL.php, assume only site_id =1 is including in the :cond, may be my mistake, can you please suggest me a solution.

Post Reply