Skip to content

Commit 6da1231

Browse files
committed
ACP2E-2620: In admin, the "Shopping Cart" on left side doesn't get updated when selecting the items and "Move to Shopping Cart" from the right side
- Fixed the static test failure.
1 parent 5f38cb6 commit 6da1231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/Model/AdminOrder/Create.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,8 +906,8 @@ public function moveQuoteItem($item, $moveTo, $qty)
906906
}
907907
$canBeRestored = $this->restoreTransferredItem('cart', $cartItemsToRestore);
908908

909+
$cartItem = $cart->addProduct($product, $info);
909910
if (!$canBeRestored) {
910-
$cartItem = $cart->addProduct($product, $info);
911911
if (is_string($cartItem)) {
912912
throw new \Magento\Framework\Exception\LocalizedException(__($cartItem));
913913
}

0 commit comments

Comments
 (0)