From ca46d9befc23db02c7dbf95f15544a4ed9d24c65 Mon Sep 17 00:00:00 2001 From: Liam Wiltshire Date: Mon, 28 Dec 2015 17:33:42 +0000 Subject: [PATCH] Update final_price.phtml Remove unused dec of $productId --- .../Bundle/view/base/templates/product/price/final_price.phtml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/code/Magento/Bundle/view/base/templates/product/price/final_price.phtml b/app/code/Magento/Bundle/view/base/templates/product/price/final_price.phtml index 406ca0cd37c52..c90253e23d81e 100644 --- a/app/code/Magento/Bundle/view/base/templates/product/price/final_price.phtml +++ b/app/code/Magento/Bundle/view/base/templates/product/price/final_price.phtml @@ -11,7 +11,8 @@ getIdSuffix() ? $block->getIdSuffix() : ''; /** @var \Magento\Bundle\Pricing\Render\FinalPriceBox $block */ -$productId = $block->getSaleableItem()->getId(); + + /** @var \Magento\Bundle\Pricing\Price\FinalPrice $finalPriceModel */ $finalPriceModel = $block->getPrice(); $minimalPrice = $finalPriceModel->getMinimalPrice();