[-] FO: Fix #PSCFV-8083 display of initial price with quantity discount and cart refreshment

This commit is contained in:
Rémi Gaillard
2013-03-04 11:12:51 +01:00
parent 389f99308c
commit 833a529689
+1 -1
View File
@@ -588,7 +588,7 @@ function updateCartSummary(json)
current_price = formatCurrency(product_list[i].price_wt, currencyFormat, currencySign, currencyBlank);
if (reduction && typeof(initial_price) !== 'undefined')
{
if (initial_price !== '' && initial_price > current_price)
if (initial_price !== '' && product_list[i].price_without_quantity_discount > product_list[i].price)
initial_price_text = '<span style="text-decoration:line-through;">'+initial_price+'</span><br />';
}