浏览代码

Correctif mineur

packProduct
Fabien Normand 3 年前
父节点
当前提交
4b725aa2b8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      Builder/Order/OrderShopBuilder.php

+ 2
- 0
Builder/Order/OrderShopBuilder.php 查看文件

@@ -339,6 +339,8 @@ class OrderShopBuilder
OrderShopInterface $orderShop2,
$persist = true
): OrderShopInterface {
$this->entityManager->refresh($orderShop1);
$this->entityManager->refresh($orderShop2);
if ($orderShop1 && $orderShop2) {
foreach ($orderShop2->getOrderProducts() as $orderProduct) {
$orderProductAlreadyInCart = $this->orderShopSolver->hasOrderProductAlreadyInCart($orderShop1, $orderProduct);

正在加载...
取消
保存