Skip to content

Commit ec9d0cd

Browse files
committed
MC-30797: Order API response GiftCard Code not coming in API response
1 parent 6b8f542 commit ec9d0cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Sales/Model/Order/ProductOption.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function add(OrderItemInterface $orderItem): void
5959
{
6060
/** @var DataObject $request */
6161
$request = $orderItem->getBuyRequest();
62+
$request->setProductOptions($orderItem->getProductOptions());
6263

6364
$productType = $orderItem->getProductType();
6465
if (isset($this->processorPool[$productType])

0 commit comments

Comments
 (0)