From 4c28d494875314404143e9a53aa5d212f7bb9884 Mon Sep 17 00:00:00 2001 From: Damien Metzger Date: Wed, 26 Jun 2013 16:51:45 +0200 Subject: [PATCH] [-] FO : fixed remove button for free product in the cart block #PSCFV-8465 --- 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 a974bdbe4..18d84db16 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -446,7 +446,7 @@ var ajaxCart = { var name = (this.name.length > 12 ? this.name.substring(0, 10) + '...' : this.name); content += '' + name + ''; - if (parseFloat(this.price_float) > 0) + if (this.is_gift != undefined && this.is_gift == 1) content += ' '; else content += '';