forked from PrestaShop/hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct-list.tpl
More file actions
58 lines (42 loc) · 1.69 KB
/
product-list.tpl
File metadata and controls
58 lines (42 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{**
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*}
{extends file=$layout}
{block name='head_microdata_special'}
{include file='_partials/microdata/product-list-jsonld.tpl' listing=$listing}
{/block}
{block name='content'}
{block name='product_list_header'}
<h1 id="js-product-list-header" class="h2 mb-4">{$listing.label}</h1>
{/block}
{hook h="displayHeaderCategory"}
<section id="products">
{if $listing.products|count}
{block name='product_list_top'}
{include file='catalog/_partials/products-top.tpl' listing=$listing}
{/block}
{block name='product_list_active_filters'}
{$listing.rendered_active_filters nofilter}
{/block}
{block name='product_list'}
{include file='catalog/_partials/products.tpl' listing=$listing productClass="col-6 col-xl-4"}
{/block}
{block name='product_list_bottom'}
{include file='catalog/_partials/products-bottom.tpl' listing=$listing}
{/block}
{else}
<div id="js-product-list-top"></div>
<div id="js-product-list">
{capture assign="errorContent"}
<p class="h4">{l s='No products available yet' d='Shop.Theme.Catalog'}</p>
<p>{l s='Stay tuned! More products will be shown here as they are added.' d='Shop.Theme.Catalog'}</p>
{/capture}
{include file='errors/not-found.tpl' errorContent=$errorContent}
<div>
<div id="js-product-list-bottom"></div>
{/if}
</section>
{block name='product_list_footer'}{/block}
{hook h="displayFooterCategory"}
{/block}