Jump to content

Wrong display Special Block


Recommended Posts

There is a bug in the file blockspecials-home.tpl.

But correction is pretty easy, just put following instead of original content of the file:

 

{if isset($specials) && $specials}
{counter name=active_ul assign=active_ul}
{include file="$tpl_dir./product-list.tpl" products=$specials class='blockspecials tab-pane' active=$active_ul id='blockspecials'}
{else}
<ul id="blockspecials" class="blockspecials tab-pane">
<li class="alert alert-info">{l s='No special products at this time.' mod='blockspecials'}</li>
</ul>

{/if} 

 

Don´t forget to clean cache through back-office.

Please let me now if it works. For me it works perfect, so should you too  :rolleyes:

  • Like 1
Link to comment
Share on other sites

There is a bug in the file blockspecials-home.tpl.

But correction is pretty easy, just put following instead of original content of the file:

 

{if isset($specials) && $specials}
{counter name=active_ul assign=active_ul}
{include file="$tpl_dir./product-list.tpl" products=$specials class='blockspecials tab-pane' active=$active_ul id='blockspecials'}
{else}
<ul id="blockspecials" class="blockspecials tab-pane">
<li class="alert alert-info">{l s='No special products at this time.' mod='blockspecials'}</li>
</ul>

{/if} 

 

Don´t forget to clean cache through back-office.

Please let me now if it works. For me it works perfect, so should you too  :rolleyes:

It worked. Tks so much  David Šimáček

Link to comment
Share on other sites

×
×
  • Create New...