Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 60d6628

Browse files
Fix for issue #5105 - Error While send Invoice with Grouped Products
Pass the orderItem to getItemPrice instead of the invoiceItem.
1 parent 921d5f6 commit 60d6628

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/frontend/templates/email/items/invoice/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)