Skip to content

Commit b020f43

Browse files
ENGCOM-2148: Credit memo email template file: fixing incorrect object type error #16438
2 parents 7a1d124 + 19aa390 commit b020f43

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/view/frontend/templates/email/items/creditmemo

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/frontend/templates/email/items/creditmemo/default.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
</td>
3232
<td class="item-qty"><?= /* @escapeNotVerified */ $_item->getQty() * 1 ?></td>
3333
<td class="item-price">
34-
<?= /* @escapeNotVerified */ $block->getItemPrice($_item) ?>
34+
<?= /* @escapeNotVerified */ $block->getItemPrice($_item->getOrderItem()) ?>
3535
</td>
3636
</tr>

0 commit comments

Comments
 (0)