[-] FO : fixed undeletable products in cart (when price < 1¤) #PSCFV-3707

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16992 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-24 11:27:13 +00:00
parent 21e32ce611
commit 8ef26dfbf6
+1 -1
View File
@@ -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('<a class="ajax_cart_block_remove_link" rel="nofollow" href="' + baseUri + '?controller=cart&amp;delete&amp;id_product=' + product['id'] + '&amp;ipa=' + product['idCombination'] + '&amp;token=' + static_token + '"> </a>');
if (parseInt(product.price_float) <= 0)
if (parseFloat(product.price_float) <= 0)
$('#' + domIdProduct + ' span.remove_link').html('');
},