Skip to content

Commit 55a1b1c

Browse files
author
Stanislav Idolov
authored
ENGCOM-2572: [Backport] Credit memo email template file: fixing incorrect object type error #17224
2 parents 228dfc6 + ce5e870 commit 55a1b1c

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)