From 8ef26dfbf6f3253599e7c335ee0a4d387be44a02 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16992 b9a71923-0436-4b27-9f14-aed3839534dd --- 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(''); },