From ba9f4b8efba1c14c2d64e618228f1da91259395b Mon Sep 17 00:00:00 2001 From: "Yushkin, Dmytro" Date: Wed, 20 Apr 2016 16:10:37 +0300 Subject: [PATCH] MAGETWO-50198: [GITHUB] Options for Configurable product are merged in one product if Reorder #3654 --- app/code/Magento/Checkout/Model/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Checkout/Model/Cart.php b/app/code/Magento/Checkout/Model/Cart.php index 80cdf61499197..bc61352984659 100644 --- a/app/code/Magento/Checkout/Model/Cart.php +++ b/app/code/Magento/Checkout/Model/Cart.php @@ -257,7 +257,7 @@ public function addOrderItem($orderItem, $qtyFlag = null) if ($orderItem->getParentItem() === null) { $storeId = $this->_storeManager->getStore()->getId(); try { - $product = $this->productRepository->getById($orderItem->getProductId(), false, $storeId); + $product = $this->productRepository->getById($orderItem->getProductId(), false, $storeId, true); } catch (NoSuchEntityException $e) { return $this; }