[-] 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:
1 parent
21e32ce611
commit
8ef26dfbf6
1 file changed
+1
-1
@@ -351,7 +351,7 @@ var ajaxCart = {
|
|||||||
var removeLinks = $('#cart_block_product_' + domIdProduct).find('a.ajax_cart_block_remove_link');
|
var removeLinks = $('#cart_block_product_' + domIdProduct).find('a.ajax_cart_block_remove_link');
|
||||||
if (!product.hasCustomizedDatas && !removeLinks.length)
|
if (!product.hasCustomizedDatas && !removeLinks.length)
|
||||||
$('#' + domIdProduct + ' span.remove_link').html('<a class="ajax_cart_block_remove_link" rel="nofollow" href="' + baseUri + '?controller=cart&delete&id_product=' + product['id'] + '&ipa=' + product['idCombination'] + '&token=' + static_token + '"> </a>');
|
$('#' + domIdProduct + ' span.remove_link').html('<a class="ajax_cart_block_remove_link" rel="nofollow" href="' + baseUri + '?controller=cart&delete&id_product=' + product['id'] + '&ipa=' + product['idCombination'] + '&token=' + static_token + '"> </a>');
|
||||||
if (parseInt(product.price_float) <= 0)
|
if (parseFloat(product.price_float) <= 0)
|
||||||
$('#' + domIdProduct + ' span.remove_link').html('');
|
$('#' + domIdProduct + ' span.remove_link').html('');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user