{strip} {$wa->globals("globalHeader", $category.name|escape)} {$wa->globals("isCategory", $category)}
{* @event frontend_category.%plugin_id% *} {foreach $frontend_category as $_}{$_}{/foreach} {if !empty($category.description) && $theme_settings.category_description_place === "content_top"}
{$category.description}
{/if} {if !empty($products)} {include file="./products.html" show_sorting=!empty($category.params.enable_sorting) inline} {else} {$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}

{/if} {if !empty($category.description) && $theme_settings.category_description_place === "content_bottom"}
{$category.description}
{/if}
{/strip}