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

27 lines
1.0 KiB
Smarty

<div id="best-sellers_block_home" class="block products_block">
{if $best_sellers|@count > 0}
<div class="slider_sales">
<ul class="slides">
{foreach from=$best_sellers item=product name=myLoop}
<li>
<div class="img_sellers">
<a href="{$product.link}" title="{$product.name|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'medium')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" /></a>
</div>
<div class="info_sellers">
<a href="{$product.link}" title="{$product.name|escape:'htmlall':'UTF-8'}" class="product_link_sellers">{$product.name|strip_tags|truncate:40}</a>
<span class="reduction">
<a href="{$product.link}" title="{$product.name}">
<span class="price">{$product.price}</span>
<img src="{$img_dir}/fleche.jpg" alt="{l s='Voir le produit'}">
</a>
</span>
</div>
</li>
{/foreach}
</ul>
</div>
{else}
<p>{l s='No best sellers at this time' mod='blockbestsellers'}</p>
{/if}
</div>