if ($this->container->
get('config'
)->
get('useShortDescriptionInListing'
)) { foreach ($products as &
$product) { if (\
strlen($product['description'
]) > 5
) { $product['description_long'
] =
$product['description'
];
} } unset($product);
} return $this->container->
get(ListingLinkRewriteServiceInterface::
class)->
rewriteLinks( $result->
getCriteria(),
$products,
$result->
getContext(),
$categoryId );
} private function loadThemeConfig(): void
{ $shop =
$this->container->
get('shop'
);
if (!
$shop instanceof Shop
) {