diff --git a/app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml b/app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml index ef6b1cd15c7c9..7b44b2d4d5a66 100644 --- a/app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml +++ b/app/code/Magento/Catalog/view/base/templates/product/price/amount/default.phtml @@ -22,15 +22,11 @@ class="price-wrapper getPriceWrapperCss(); ?>"> formatCurrency($block->getDisplayValue(), (bool)$block->getIncludeContainer()) ?> - getSchema()): ?> - - getDisplayValue() ?> - - hasAdjustmentsHtml()): ?> getAdjustmentsHtml() ?> getSchema()): ?> + diff --git a/app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml b/app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml index 0f7d60fe3a9f2..1b52a958e3bfb 100644 --- a/app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml +++ b/app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml @@ -17,13 +17,19 @@ $minProduct = $block->getSaleableItem() ->getMinProduct(); if ($minProduct) { + $finalPrice = $minProduct->getPriceInfo()->getPrice('final_price'); + $finalPriceValue = $finalPrice->getAmount(); $amountRender = $block->getRendererPool() ->createAmountRender( - $minProduct->getPriceInfo()->getPrice('final_price')->getAmount(), + $finalPriceValue, $minProduct, - $minProduct->getPriceInfo()->getPrice('final_price'), + $finalPrice, ['include_container' => true] ); + $currencyCode = $amountRender->getDisplayCurrencyCode(); +} else { + $finalPriceValue = 0; + $currencyCode = ''; } ?>