diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js index 4bae73e82..40d5f9480 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -353,7 +353,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 (parseFloat(product.price_float) <= 0) + if (product.is_gift) $('#' + domIdProduct + ' span.remove_link').html(''); }, @@ -453,7 +453,7 @@ var ajaxCart = { else content += ''; if (typeof(freeShippingTranslation) != 'undefined') - content += '' + (parseFloat(this.price_float) > 0 ? this.priceByLine : freeProductTranslation) + ''; + content += '' + (parseFloat(this.price_float) > 0 ? this.priceByLine : freeShippingTranslation) + ''; content += ''; if (this.hasAttributes) content += '