Browse Source

OrderShopBuilder : setOrderShop() dans addOrderProduct()

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

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

): bool { ): bool {
$return = false; $return = false;


$orderProductAdd->setOrderShop($orderShop);

if ($this->orderShopSolver->isOrderProductAvailableAddCart($orderProductAdd, $orderShop)) { if ($this->orderShopSolver->isOrderProductAvailableAddCart($orderProductAdd, $orderShop)) {
if ($orderProductAdd->getQuantityOrder() > 0) { if ($orderProductAdd->getQuantityOrder() > 0) {
$updated = false; $updated = false;

Loading…
Cancel
Save