We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb41d0 commit 3115fe9Copy full SHA for 3115fe9
app/code/Magento/Sales/Model/Order/ItemRepository.php
@@ -185,7 +185,7 @@ private function getItemProductOptions(OrderItemInterface $entity): array
185
{
186
$request = $this->getBuyRequest($entity);
187
$productOptions = $entity->getProductOptions();
188
- $productOptions['info_buyRequest'] = $productOptions
+ $productOptions['info_buyRequest'] = $productOptions && !empty($productOptions['info_buyRequest'])
189
? array_merge($productOptions['info_buyRequest'], $request->toArray())
190
: $request->toArray();
191
0 commit comments