Merge branch 'ticket-9260' into develop

This commit is contained in:
Marion Muszynski 2016-08-31 15:35:29 +02:00
commit c9bdecd1d4
2 changed files with 9 additions and 2 deletions

View File

@ -209,7 +209,7 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}';
<div class="content">
<div class="logo_vente">
{if $is_thumb_vp}
<img src="{$base_dir_ssl}img/c/{$sale->id_category}_thumb_vp.jpg" height="80px"/>
<img src="{$base_dir_ssl}img/c/{$id_category_thumb}_thumb_vp.jpg" height="80px"/>
{else}
<img src="{$base_dir_ssl}modules/privatesales/img/{$sale->id}/thumb_{$cookie->id_lang}.jpg" height="80px"/>
{/if}

View File

@ -533,7 +533,14 @@ var oneQuantityAvailableSentence = '{l s='Warning: 1 item in stock!' js=1}';
{if $sale}
<div class="sale_img">
<a class="cat_link" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}"><img src="{$base_dir_ssl}modules/privatesales/img/{$sale->id}/thumb_{$cookie->id_lang}.jpg" alt="{$sale->title[$cookie->id_lang]}" /></a>
{if $is_thumb_vp}
<a class="cat_link" href="{$link->getCategoryLink($id_category_thumb, null, $cookie->id_lang)|escape:'htmlall':'UTF-8'}">
<img src="{$base_dir_ssl}img/c/{$id_category_thumb}_thumb_vp.jpg" alt="{$sale->title[$cookie->id_lang]}" />
{else}
<a class="cat_link" href="{$link->getCategoryLink($sale->id_category, $sale->alias[$cookie->id_lang])|escape:'htmlall':'UTF-8'}">
<img src="{$base_dir_ssl}modules/privatesales/img/{$sale->id}/thumb_{$cookie->id_lang}.jpg" alt="{$sale->title[$cookie->id_lang]}" />
{/if}
</a>
</div>
{/if}