From fc6160b518761cdf334f30cd86853bc1ed408088 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Fri, 24 Aug 2012 11:27:13 +0000 Subject: [PATCH] =?UTF-8?q?[-]=20FO=20:=20fixed=20undeletable=20products?= =?UTF-8?q?=20in=20cart=20(when=20price=20<=201=C2=A4)=20#PSCFV-3707?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/blockcart/ajax-cart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js index 2abe553a7..3fff98695 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -351,7 +351,7 @@ var ajaxCart = { var removeLinks = $('#cart_block_product_' + domIdProduct).find('a.ajax_cart_block_remove_link'); if (!product.hasCustomizedDatas && !removeLinks.length) $('#' + domIdProduct + ' span.remove_link').html(' '); - if (parseInt(product.price_float) <= 0) + if (parseFloat(product.price_float) <= 0) $('#' + domIdProduct + ' span.remove_link').html(''); },