Hi. We are running a Shopware installation v6.2.3. There is a Search feature on the site with Suggested results shown in dropdown. The dropdown currently holds 10 results but we would like to increase this, there is no where in the documentation to show where this limit of 10 is set. Firstly is it possible to increase this limit. Also, we would like to filter on the search result list to prevent a specific set of products from showing and possibly have the results in some order. We are using the SuggestPageLoader from SW Core - Is it possible to add a filter and sorting to the suggest page loader (overriding the class with our own custom class). The core code is this:
public function load(Request $request, SalesChannelContext $salesChannelContext): SuggestPage
{
$page = $this->genericLoader->load($request, $salesChannelContext);
I also want to add that I have looked at the Admin dashboard settings page and we have no „Search“ settings option - which i have seen being used on some YouTube videos on the subject. Is there something missing in our installation?
Hey there, i know this post is a bit old but do you happen to have the solution laying around? I’m struggling with adding filters for the product suggestion and would appreciate if you’d share your solution.
I made a custom product listing loader (not exactly 100% sure if it’s the correct way).
I had to duplicate basically the whole loading function because of private functions.