Skip to content

Commit 9e08ca0

Browse files
Credit memo email template file: fixing incorrect object type error
1 parent 95626aa commit 9e08ca0

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)