diff --git a/modules/blockcart/blockcart.tpl b/modules/blockcart/blockcart.tpl
index 005bef587..81a08943e 100644
--- a/modules/blockcart/blockcart.tpl
+++ b/modules/blockcart/blockcart.tpl
@@ -118,22 +118,20 @@ var generated_date = {$smarty.now|intval};
{/if}
{l s='No products' mod='blockcart'}
-
- {foreach from=$discounts item=discount}
- {if $discount.value_real > 0}
-
- | 1x |
- {$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'} |
- -{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if} |
-
- {if strlen($discount.code)}
-
- {/if}
- |
-
+ {foreach from=$discounts item=discount}
+ {if $discount.value_real > 0}
+
+ | 1x |
+ {$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'} |
+ -{if $priceDisplay == 1}{convertPrice price=$discount.value_tax_exc}{else}{convertPrice price=$discount.value_real}{/if} |
+
+ {if strlen($discount.code)}
+
{/if}
- {/foreach}
- |
+
+
+ {/if}
+ {/foreach}
{$shipping_cost}
diff --git a/modules/blocktopmenu/blocktopmenu.php b/modules/blocktopmenu/blocktopmenu.php
index 9cfd78b2d..eeecaf4d4 100644
--- a/modules/blocktopmenu/blocktopmenu.php
+++ b/modules/blocktopmenu/blocktopmenu.php
@@ -642,7 +642,7 @@ class Blocktopmenu extends Module
if (!empty($is_intersected))
{
$this->_menu .= '
';
- $this->_menu .= ''.$category->name.'';
+ $this->_menu .= ''.$category->name.'';
if (count($children))
{
diff --git a/themes/default/modules/blockcart/blockcart.tpl b/themes/default/modules/blockcart/blockcart.tpl
index 9a6c574d3..0e0594955 100644
--- a/themes/default/modules/blockcart/blockcart.tpl
+++ b/themes/default/modules/blockcart/blockcart.tpl
@@ -118,9 +118,8 @@ var generated_date = {$smarty.now|intval};
{/if}
{l s='No products' mod='blockcart'}
-
-{foreach from=$discounts item=discount}
-{if $discount.value_real > 0}
+ {foreach from=$discounts item=discount}
+ {if $discount.value_real > 0}
| 1x |
{$discount.name|cat:' : '|cat:$discount.description|truncate:18:'...'|escape:'htmlall':'UTF-8'} |
@@ -131,9 +130,8 @@ var generated_date = {$smarty.now|intval};
{/if}
-{/if}
-{/foreach}
-
+ {/if}
+ {/foreach}
{$shipping_cost}