import hiltes
This commit is contained in:
parent
3df8c01c8a
commit
0dc7cdc398
@ -56,14 +56,18 @@ class Shopware
|
||||
|
||||
//Beziehungen zu Produkten holen
|
||||
$criteria->addAssociation('lineItems');
|
||||
$orders = false;
|
||||
|
||||
|
||||
try {
|
||||
$orders = $orderRepository->search($criteria, $context);
|
||||
return $orders->getEntities();
|
||||
|
||||
//$value->setData((array)$orders->getEntities());
|
||||
} catch (\Exception $e) {
|
||||
$this->logger->error($e->getMessage());
|
||||
}
|
||||
|
||||
return $orders->getEntities();
|
||||
}
|
||||
|
||||
public function setProduct(Products $product){
|
||||
|
Loading…
Reference in New Issue
Block a user