bebeboutik/modules/privatesales/featured_brand.tpl
Srv Bebeboutik 6c0978166c add modules
2016-01-04 12:49:26 +01:00

33 lines
1.1 KiB
Smarty
Executable File

{capture name=path}
<a href="{$base_dir_ssl}{if $rewriting}{$base_url}{else}modules/privatesales/featured.php{/if}">{l s='Featured brands' mod='privatesales'}</a>
<span class="navigation-pipe">{$navigationPipe}</span>{$brand->name}
{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}
<h1>{$brand->name}</h1>
<div class="description">
{$brand->description}
</div>
{if isset($m_products)}
<h2>{l s='Best products sales for this brand:' mod='privatesales'}</h2>
{if $m_products}
<ul id="product_list">
{foreach $m_products as $p name='products'}
<li class="ajax_block_product{if $smarty.foreach.products.index % 2 == 0} first_item first{/if} clearfix">
<div class="center_block">
<h3><a>{$p->name[$cookie->id_lang]}</a></h3>
<a class="product_img_link"><img src="{$link->getImageLink($p->link_rewrite[$cookie->id_lang], $p->getCoverWs(), 'home')}" alt="" /></a>
</div>
</li>
{/foreach}
</ul>
{else}
<p class="warning">{l s='No product for this brand at the moment.' mod='privatesales'}</p>
{/if}
{else}
<p class="warning">{l s='No product for this brand at the moment.' mod='privatesales'}</p>
{/if}