This commit is contained in:
Roman Pyrih
2024-11-21 15:57:25 +01:00
parent d6060a1695
commit 92c7691d79
13 changed files with 7663 additions and 7040 deletions

View File

@@ -43,7 +43,11 @@
{hook h="displayHeaderCategory"}
<section id="products">
{* Start - Custom *}
{hook h="displayLeftColumn"}
{* End - Custom *}
<section id="products" class="t1">
{if $listing.products|count}
{block name='product_list_top'}
@@ -57,7 +61,7 @@
{/block}
{block name='product_list'}
{include file='catalog/_partials/products.tpl' listing=$listing productClass="col-xs-12 col-sm-6 col-xl-4"}
{include file='catalog/_partials/products.tpl' listing=$listing productClass="col-xs-12 col-sm-6 col-lg-4 col-xl-3"}
{/block}
{block name='product_list_bottom'}
@@ -80,23 +84,25 @@
{/if}
</section>
<div id="js-product-list-header">
{if $listing.pagination.items_shown_from == 1}
<div class="block-category card card-block">
<h1 class="h1">{$category.name}</h1>
<div class="block-category-inner">
{if $category.description}
<div id="category-description" class="text-muted">{$category.description nofilter}</div>
{/if}
{if !empty($category.image.large.url)}
<div class="category-cover">
<img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}" loading="lazy" width="141" height="180">
</div>
{/if}
</div>
</div>
{/if}
</div>
{if $category.description}
<div id="js-product-list-header">
{if $listing.pagination.items_shown_from == 1}
<div class="block-category card card-block">
<h1 class="h1">{$category.name}</h1>
<div class="block-category-inner">
{if $category.description}
<div id="category-description" class="text-muted">{$category.description nofilter}</div>
{/if}
{if !empty($category.image.large.url)}
<div class="category-cover">
<img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}" loading="lazy" width="141" height="180">
</div>
{/if}
</div>
</div>
{/if}
</div>
{/if}
{hook h="displayFooterCategory"}