From 4dfeb31b0f6b1cef79f7427263c3bf244f3c3c7b Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 15 May 2012 08:32:25 +0000 Subject: [PATCH] // Don't display remove link in blockcart when product price is null --- modules/blockcart/blockcart.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blockcart/blockcart.tpl b/modules/blockcart/blockcart.tpl index 392d2769c..7990dbaf4 100644 --- a/modules/blockcart/blockcart.tpl +++ b/modules/blockcart/blockcart.tpl @@ -68,7 +68,7 @@ var img_dir = '{$img_dir}'; {$product.cart_quantity}x {$product.name|truncate:13:'...'|escape:html:'UTF-8'} - {if !isset($customizedDatas.$productId.$productAttributeId)} {/if} + {if !isset($customizedDatas.$productId.$productAttributeId) && ($product.total > 0)} {/if} {if $product.total > 0} {if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice p="`$product.total`"}{else}{displayWtPrice p="`$product.total_wt`"}{/if}