Skip to content

Commit 517ef26

Browse files
issue #18349 for 2.3-develop
1 parent 5f976fa commit 517ef26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Quote/Model/Quote/Item/ToOrderItem.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ public function convert($item, $data = [])
6363
'to_order_item',
6464
$item
6565
);
66+
if ($item instanceof \Magento\Quote\Model\Quote\Address\Item) {
67+
$orderItemData['quote_item_id'] = $item->getQuoteItemId();
68+
}
6669
if (!$item->getNoDiscount()) {
6770
$data = array_merge(
6871
$data,

0 commit comments

Comments
 (0)