Skip to content

Commit

Permalink
// fix for commit 3cbd844
Browse files Browse the repository at this point in the history
  • Loading branch information
rGaillard committed Apr 12, 2013
1 parent 08c53d7 commit a632965
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions themes/default/js/product.js
Expand Up @@ -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)
Expand Down

0 comments on commit a632965

Please sign in to comment.