Skip to content

Commit 7e81497

Browse files
MC-35123: An invoiced order of a product with a Customizable Option (file) can not be reordered
1 parent bcff319 commit 7e81497

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Sales/Model/Reorder/Reorder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ private function getOrderProducts(string $storeId, array $orderItemProductIds):
225225
->addStoreFilter()
226226
->addAttributeToSelect('*')
227227
->joinAttribute('status', 'catalog_product/status', 'entity_id', null, 'inner')
228-
->joinAttribute('visibility', 'catalog_product/visibility', 'entity_id', null, 'inner');
228+
->joinAttribute('visibility', 'catalog_product/visibility', 'entity_id', null, 'inner')
229+
->addOptionsToResult();
229230

230231
return $collection->getItems();
231232
}

0 commit comments

Comments
 (0)