Browse Source

Correctif OrderShopBuilder

develop
Guillaume 2 years ago
parent
commit
ba3756c316
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      Builder/Order/OrderShopBuilder.php

+ 1
- 0
Builder/Order/OrderShopBuilder.php View File

@@ -252,6 +252,7 @@ class OrderShopBuilder
}
foreach ($orderShop->getOrderProducts() as $orderProduct) {
if ($this->orderProductSolver->compare($orderProduct, $orderProductAdd)) {

$orderProduct->setQuantityOrder(
$orderProduct->getQuantityOrder() + $orderProductAdd->getQuantityOrder()
);

Loading…
Cancel
Save