{$category.name|escape}

{* @event frontend_category.%plugin_id% *} {foreach $frontend_category as $_}{$_}{/foreach} {if !empty($filters)} {if waRequest::isXMLHttpRequest() && waRequest::get('page', 1) == 1} {/if}
[`Show Filters`]
{foreach $filters as $fid => $filter}
{if $fid == 'price'} {$c = $wa->shop->currency(true)}
[`Price`]
[`from`] get('price_min')}value="{(int)$wa->get('price_min')}"{/if} placeholder="{floor($filter.min)}"> [`to`] get('price_max')}value="{(int)$wa->get('price_max')}"{/if} placeholder="{ceil($filter.max)}"> {$c.sign}
{else}
{$filter.name|escape}
{if $filter.type == 'boolean'} {elseif $filter.type == "range.date"}
[`from`]
[`to`]
{elseif isset($filter.min)} {$_v = $wa->get($filter.code)}
[`from`] [`to`] {if !empty($filter.unit)} {$filter.unit.title} {if $filter.unit.value != $filter.base_unit.value}{/if} {/if}
{else} {foreach $filter.values as $v_id => $v} {/foreach} {/if} {/if}
{/foreach} {if $wa->get('sort')}{/if} {if $wa->get('order')}{/if}
{/if} {if $category.description}

{$category.description}

{/if} {if $category.subcategories} {/if}
{if !$products} {$page = waRequest::get('page', 1, 'int')} {$_message = _w("This category does not contain any products.")} {if $page > 1} {$_message = sprintf( _w('No products on this page. Continue viewing products of this category.'), $wa->getUrl('shop/category', ['category_url' => $category.full_url]) )} {elseif !empty($filters)} {$_message = _w("No products were found.")} {/if} {$_message} {else} {include file='list-thumbs.html' sorting=!empty($category.params.enable_sorting)} {* or use the line below to change product list view {include file='list-table.html' sorting=!empty($category.params.enable_sorting)} *} {/if}