// strike price + group reduction

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15428 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fBrignoli committed 2012-05-19 11:56:10 +00:00
1 parent cd1073e68e
commit 6e673b6075
1 file changed
-2
-2
View File
@@ -375,10 +375,8 @@ function updateDisplay()
reduction = ps_round(reduction / tax, 6); reduction = ps_round(reduction / tax, 6);
} }
if (!display_specific_price)
productPriceWithoutReduction = productPrice * group_reduction; productPriceWithoutReduction = productPrice * group_reduction;
productPrice -= reduction; productPrice -= reduction;
var tmp = productPrice * group_reduction; var tmp = productPrice * group_reduction;
productPrice = ps_round(productPrice * group_reduction, 2); productPrice = ps_round(productPrice * group_reduction, 2);