From 3db6006f55d0d26276202a90f5f1a0c2f152b0b4 Mon Sep 17 00:00:00 2001 From: Esa Karjalainen Date: Mon, 13 Nov 2017 17:00:15 +0200 Subject: [PATCH] Update Options.php You don't want currency symbols getting in Mage::helper('tax')->getPrice --- app/code/core/Mage/Catalog/Block/Product/View/Options.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/core/Mage/Catalog/Block/Product/View/Options.php b/app/code/core/Mage/Catalog/Block/Product/View/Options.php index 9d49d47f..45169ec5 100644 --- a/app/code/core/Mage/Catalog/Block/Product/View/Options.php +++ b/app/code/core/Mage/Catalog/Block/Product/View/Options.php @@ -148,8 +148,8 @@ protected function _getPriceConfiguration($option) $data['oldPrice'] = Mage::helper('core')->currency($option->getPrice(false), false, false); $data['priceValue'] = $option->getPrice(false); $data['type'] = $option->getPriceType(); - $data['excludeTax'] = $price = Mage::helper('tax')->getPrice($option->getProduct(), $data['price'], false); - $data['includeTax'] = $price = Mage::helper('tax')->getPrice($option->getProduct(), $data['price'], true); + $data['excludeTax'] = $price = Mage::helper('tax')->getPrice($option->getProduct(), $data['priceValue'], false); + $data['includeTax'] = $price = Mage::helper('tax')->getPrice($option->getProduct(), $data['priceValue'], true); return $data; }