From 60d66282d5c0bfcd04cd2110b378357b7e3dab98 Mon Sep 17 00:00:00 2001 From: Michiel Gerritsen Date: Sun, 8 Oct 2017 13:51:15 +0200 Subject: [PATCH] Fix for issue #5105 - Error While send Invoice with Grouped Products Pass the orderItem to getItemPrice instead of the invoiceItem. --- .../view/frontend/templates/email/items/invoice/default.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Sales/view/frontend/templates/email/items/invoice/default.phtml b/app/code/Magento/Sales/view/frontend/templates/email/items/invoice/default.phtml index 20c2c1869fedb..1fca65932b0b0 100644 --- a/app/code/Magento/Sales/view/frontend/templates/email/items/invoice/default.phtml +++ b/app/code/Magento/Sales/view/frontend/templates/email/items/invoice/default.phtml @@ -31,6 +31,6 @@ getQty() * 1 ?> - getItemPrice($_item) ?> + getItemPrice($_item->getOrderItem()) ?>