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

} }
foreach ($orderShop->getOrderProducts() as $orderProduct) { foreach ($orderShop->getOrderProducts() as $orderProduct) {
if ($this->orderProductSolver->compare($orderProduct, $orderProductAdd)) { if ($this->orderProductSolver->compare($orderProduct, $orderProductAdd)) {

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

Loading…
Cancel
Save