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