diff --git a/themes/default/js/product.js b/themes/default/js/product.js index 5a4b4e8c8..7f3959df2 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -312,7 +312,7 @@ function updateDisplay() var taxExclPrice = (specific_currency ? product_specific_price.price : product_specific_price.price * currencyRate) + (selectedCombination['price'] * currencyRate); if (!displayPrice && !noTaxForThisProduct) - productPriceDisplay = taxExclPrice * tax; // Need to be global => no var + productPriceDisplay = ps_round(taxExclPrice * tax, 2); // Need to be global => no var else productPriceDisplay = ps_round(taxExclPrice, 2); // Need to be global => no var @@ -372,7 +372,6 @@ function updateDisplay() $('#not_impacted_by_discount').hide(); productPriceDisplay -= reduction; - var tmp = productPriceDisplay * group_reduction; productPriceDisplay = ps_round(productPriceDisplay * group_reduction, 2); var ecotaxAmount = !displayPrice ? ps_round(selectedCombination['ecotax'] * (1 + ecotaxTax_rate / 100), 2) : selectedCombination['ecotax'];