$contextService =
$this->
get(ContextServiceInterface::
class);
$context =
$contextService->
createShopContext( $shop->
getId(),
$shop->
getCurrency()->
getId(),
ContextService::FALLBACK_CUSTOMER_GROUP
);
$service =
$this->
get(AdditionalTextServiceInterface::
class);
return $service->
buildAdditionalTextLists($products,
$context);
} /**
* @return ListProduct[]
*/
private function buildListProducts(array
$result) { $products =
[];
foreach ($result as $item) { $number =
$item['number'
];