Skip to content

Commit 6e5ec81

Browse files
Keerthana81187glo71317
authored andcommitted
MC-42853::Fixed currency conversion in email confirmation of bundle products
1 parent f9270e8 commit 6e5ec81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/code/Magento/Bundle/Block/Adminhtml/Sales/Order/View/Items/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function getValueHtml($item)
211211
if (!$this->isChildCalculated($item)) {
212212
$attributes = $this->getSelectionAttributes($item);
213213
if ($attributes) {
214-
$result .= " " . $this->getItem()->getOrder()->formatPrice($attributes['price']);
214+
$result .= " " . $this->getItem()->getOrder()->formatBasePrice($attributes['price']);
215215
}
216216
}
217217
return $result;

app/code/Magento/Bundle/Block/Sales/Order/Items/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function getValueHtml($item)
141141
{
142142
if ($attributes = $this->getSelectionAttributes($item)) {
143143
return sprintf('%d', $attributes['qty']) . ' x ' . $this->escapeHtml($item->getName()) . " "
144-
. $this->getOrder()->formatPrice($attributes['price']);
144+
. $this->getOrder()->formatBasePrice($attributes['price']);
145145
}
146146
return $this->escapeHtml($item->getName());
147147
}

0 commit comments

Comments
 (0)