Skip to content

Commit ce5e870

Browse files
ENGCOM-2572: [Backport] Credit memo email template file: fixing incorrect object type error #17224
- Merge Pull Request #17224 from gelanivishal/magento2:2.1-develop-PR-port-16438 - Merged commits: 1. 9c4dfbd
2 parents f06f52c + 9c4dfbd commit ce5e870

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)