Skip to content

Commit

Permalink
MAGETWO-50198: [GITHUB] Options for Configurable product are merged i…
Browse files Browse the repository at this point in the history
…n one product if Reorder #3654
  • Loading branch information
Yushkin, Dmytro committed Apr 20, 2016
1 parent c3199e7 commit ba9f4b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Checkout/Model/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ba9f4b8

Please sign in to comment.