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 b3a1cc6 commit 7c6ecc3Copy full SHA for 7c6ecc3
app/code/Magento/Sales/Model/Order/ItemRepository.php
@@ -168,7 +168,9 @@ public function save(OrderItemInterface $entity)
168
{
169
if ($entity->getProductOption()) {
170
$request = $this->getBuyRequest($entity);
171
- $entity->setProductOptions(['info_buyRequest' => $request->toArray()]);
+ $productOptions = $entity->getProductOptions();
172
+ $productOptions['info_buyRequest'] = $request->toArray();
173
+ $entity->setProductOptions($productOptions);
174
}
175
176
$this->metadata->getMapper()->save($entity);
0 commit comments