$criteria->
addFilter( new ProductAvailableFilter($context->
getSalesChannel()->
getId(), ProductVisibilityDefinition::VISIBILITY_SEARCH
) );
$this->searchBuilder->
build($request,
$criteria,
$context);
$result =
$this->productListingLoader->
load($criteria,
$context);
$result = ProductListingResult::
createFrom($result);
return new ProductSearchRouteResponse($result);
}}