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 423e257 commit 97248d8Copy full SHA for 97248d8
app/code/Magento/SalesGraphQl/Model/Resolver/BundleOptions.php
@@ -135,7 +135,12 @@ private function formatBundleOptionItems(
135
'product_name' => $childrenOrderItem->getName(),
136
'product_sku' => $childrenOrderItem->getSku(),
137
'quantity' => $bundleChildAttributes['qty'],
138
- 'price' => $item['product_sale_price'],
+ 'price' => [
139
+ //use options price, not child price
140
+ 'value' => $bundleChildAttributes['price'],
141
+ //use currency from order
142
+ 'currency' => $item['product_sale_price']['currency'] ?? null,
143
+ ]
144
];
145
}
146
0 commit comments