From f30749449f7e52a8b739a056b53639a6be480f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Fri, 12 Apr 2013 10:49:30 +0200 Subject: [PATCH] // fix for commit 3cbd8444d69eff328b378b858855de149ea4a2bd --- themes/default/js/product.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/default/js/product.js b/themes/default/js/product.js index 92b68d8c8..4c71eaef4 100644 --- a/themes/default/js/product.js +++ b/themes/default/js/product.js @@ -295,11 +295,12 @@ function updateDisplay() var priceTaxExclWithoutGroupReduction = ''; // retrieve price without group_reduction in order to compute the group reduction after - // the specific price discount (done in the JS in order to keep backward compatibility) priceTaxExclWithoutGroupReduction = ps_round(productPriceTaxExcluded, 6) * (1 / group_reduction); + // the specific price discount (done in the JS in order to keep backward compatibility) + priceTaxExclWithoutGroupReduction = ps_round(productPriceTaxExcluded, 6) * (1 / group_reduction); var tax = (taxRate / 100) + 1; var taxExclPrice = priceTaxExclWithoutGroupReduction + (selectedCombination['price'] * currencyRate); - + if (selectedCombination.specific_price && selectedCombination.specific_price['id_product_attribute']) { if (selectedCombination.specific_price['price'] && selectedCombination.specific_price['price'] >=0)