From a38fe5ddd3eb54b5bb4373782bbe032146896975 Mon Sep 17 00:00:00 2001 From: Jerome Nadaud Date: Fri, 9 Aug 2013 14:10:38 +0200 Subject: [PATCH] // W3C validation error --- modules/blockcart/blockcart.tpl | 2 ++ themes/default/modules/blockcart/blockcart.tpl | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/blockcart/blockcart.tpl b/modules/blockcart/blockcart.tpl index 0e30c8fe6..ce6c317a2 100644 --- a/modules/blockcart/blockcart.tpl +++ b/modules/blockcart/blockcart.tpl @@ -117,6 +117,7 @@ var generated_date = {$smarty.now|intval}; {/if}

{l s='No products' mod='blockcart'}

+ {if $discounts|@count > 0} {foreach from=$discounts item=discount} {if $discount.value_real > 0} @@ -133,6 +134,7 @@ var generated_date = {$smarty.now|intval}; {/if} {/foreach} + {/if}

{$shipping_cost} {l s='Shipping' mod='blockcart'} diff --git a/themes/default/modules/blockcart/blockcart.tpl b/themes/default/modules/blockcart/blockcart.tpl index 940892195..53e3a7c23 100644 --- a/themes/default/modules/blockcart/blockcart.tpl +++ b/themes/default/modules/blockcart/blockcart.tpl @@ -117,6 +117,7 @@ var generated_date = {$smarty.now|intval}; {/if}

{l s='No products' mod='blockcart'}

+ {if $discounts|@count > 0} {foreach from=$discounts item=discount} {if $discount.value_real > 0} @@ -132,7 +133,8 @@ var generated_date = {$smarty.now|intval}; {/if} {/foreach} - + + {/if}

{$shipping_cost} {l s='Shipping' mod='blockcart'}