Save
This commit is contained in:
@@ -22,8 +22,9 @@
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{block name='product_miniature_item'}
|
||||
<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}">
|
||||
{block name='product_miniature_item'}
|
||||
<article class="product-miniature js-product-miniature" data-id-product="{$product.id_product}"
|
||||
data-id-product-attribute="{$product.id_product_attribute}">
|
||||
<div class="thumbnail-container">
|
||||
<div class="product-image">
|
||||
{block name='product_thumbnail'}
|
||||
@@ -32,26 +33,21 @@
|
||||
{/if}
|
||||
{if $product.cover}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
{hook h='displayProductListStickers' pro=$product}
|
||||
<img
|
||||
class="img-fluid"
|
||||
src = "{$product.cover.bySize.home_default.url}"
|
||||
alt = "{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
|
||||
data-full-size-image-url = "{$product.cover.large.url}"
|
||||
>
|
||||
{hook h='displayProductListStickers' pro=$product}
|
||||
<img class="img-fluid" src="{$product.cover.bySize.home_default.url}"
|
||||
alt="{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if}"
|
||||
data-full-size-image-url="{$product.cover.large.url}">
|
||||
{if isset($cfg_product_one_img) && $cfg_product_one_img}
|
||||
<span class="product-additional" data-idproduct="{$product.id_product}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
{else}
|
||||
<a href="{$product.url}" class="thumbnail product-thumbnail">
|
||||
<img
|
||||
src = "{$urls.no_picture_image.bySize.home_default.url}"
|
||||
>
|
||||
{if isset($cfg_product_one_img) && $cfg_product_one_img}
|
||||
<span class="product-additional" data-idproduct="{$product.id_product}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
<img src="{$urls.no_picture_image.bySize.home_default.url}">
|
||||
{if isset($cfg_product_one_img) && $cfg_product_one_img}
|
||||
<span class="product-additional" data-idproduct="{$product.id_product}"></span>
|
||||
{/if}
|
||||
</a>
|
||||
{/if}
|
||||
{/block}
|
||||
{block name='product_flags'}
|
||||
@@ -61,26 +57,26 @@
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/block}
|
||||
<div class="functional-buttons clearfix">
|
||||
|
||||
<div class="functional-buttons clearfix 111">
|
||||
{block name='quick_view'}
|
||||
<div class="quickview{if !$product.main_variants} no-variants{/if} hidden-sm-down">
|
||||
<a
|
||||
href="#"
|
||||
class="quick-view btn-product btn btn-primary"
|
||||
data-link-action="quickview"
|
||||
data-source=".thumb-gallery-{$product.id}-{$product.id_product_attribute}"
|
||||
title="{l s='Quick view' d='Shop.Theme.Actions'}"
|
||||
>
|
||||
{* <div class="quickview {if !$product.main_variants} no-variants {/if} hidden-sm-down">
|
||||
<a href="#" class="quick-view btn-product btn btn-primary" data-link-action="quickview"
|
||||
data-source=".thumb-gallery-{$product.id}-{$product.id_product_attribute}" title="
|
||||
|
||||
{l s='Quick view' d='Shop.Theme.Actions'}">
|
||||
<span class="leo-quickview-bt-loading cssload-speeding-wheel"></span>
|
||||
<span class="leo-quickview-bt-content">
|
||||
<i class="icon-btn-product icon-quick-view material-icons"></i>
|
||||
<span class="name-btn-product">{l s='Quick view' d='Shop.Theme.Actions'}</span>
|
||||
<span class="name-btn-product">
|
||||
|
||||
{l s='Quick view' d='Shop.Theme.Actions'}</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div> *}
|
||||
{/block}
|
||||
{hook h='displayLeoCompareButton' product=$product}
|
||||
{hook h='displayLeoWishlistButton' product=$product}
|
||||
{* {hook h='displayLeoCompareButton' product=$product} *}
|
||||
{* {hook h='displayLeoWishlistButton' product=$product} *}
|
||||
{hook h='displayLeoCartButton' product=$product}
|
||||
</div>
|
||||
</div>
|
||||
@@ -88,11 +84,11 @@
|
||||
<div class="product-description">
|
||||
|
||||
{block name='product_name'}
|
||||
{if $page.page_name == 'index'}
|
||||
<h3 class="h3 product-title"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h3>
|
||||
{else}
|
||||
<h2 class="h3 product-title"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h2>
|
||||
{/if}
|
||||
{if $page.page_name == 'index'}
|
||||
<h3 class="h3 product-title"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h3>
|
||||
{else}
|
||||
<h2 class="h3 product-title"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h2>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{hook h='displayLeoProductListReview' product=$product}
|
||||
@@ -128,17 +124,18 @@
|
||||
|
||||
<div class="button_container">
|
||||
<a href="{$product.url}">
|
||||
{if $product.id_manufacturer != 20}
|
||||
<span>Zobacz</span>
|
||||
{else}
|
||||
{if $product.id_manufacturer != 20}
|
||||
<span>Zobacz</span>
|
||||
{else}
|
||||
<span style="font-size:12px">Zapytaj i zamów przez czat</span>
|
||||
{/if}
|
||||
{/if}
|
||||
</a>
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name='product_description_short'}
|
||||
<div class="product-description-short">{$product.description_short|strip_tags:true|truncate:150:'...' nofilter}</div>
|
||||
<div class="product-description-short">{$product.description_short|strip_tags:true|truncate:150:'...' nofilter}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
</div>
|
||||
@@ -154,4 +151,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{/block}
|
||||
{/block}
|
||||
Reference in New Issue
Block a user