From 833a5296895fe2d9c2a486958f655e01441a6697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Mon, 4 Mar 2013 11:12:51 +0100 Subject: [PATCH] [-] FO: Fix #PSCFV-8083 display of initial price with quantity discount and cart refreshment --- themes/default/js/cart-summary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/default/js/cart-summary.js b/themes/default/js/cart-summary.js index fc23b431a..3fb110b21 100644 --- a/themes/default/js/cart-summary.js +++ b/themes/default/js/cart-summary.js @@ -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 = ''+initial_price+'
'; }