add picto in categoryscroll
This commit is contained in:
parent
2837aea4a5
commit
17633b00f8
@ -6,6 +6,11 @@
|
||||
<img src="{$img_dir}coup_de_coeur_{$cookie->id_lang}.png" alt="{l s='Coup de coeur'}">
|
||||
</div>
|
||||
{/if}
|
||||
{if $product.is_random}
|
||||
<div class="random">
|
||||
<img src="{$img_dir}random.png" alt="{l s='Random'}">
|
||||
</div>
|
||||
{/if}
|
||||
<h3>{if isset($product.new) && $product.new == 1}<span class="new">{l s='New' mod='categoryscroll'}</span>{/if}<a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:64:'...'|escape:'htmlall':'UTF-8'}</a></h3>
|
||||
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
|
||||
<div>
|
||||
@ -19,13 +24,13 @@
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{if isset($images[$product.id_product]) && count($images[$product.id_product]) > 1}
|
||||
<div class="flexslider">
|
||||
<ul class="slides">
|
||||
{foreach from=$images[$product.id_product] item=image}
|
||||
<li>
|
||||
<a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $image.id_image, 'home')}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if}/></a>
|
||||
<a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $image.id_image, 'home')}" {if isset($homeSize)} width="{$homeSize.width}" height="{$homeSize.height}"{/if}/></a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user