{strip} {$_is_home = $wa->globals("isShopHome")} {$_is_page = $wa->globals("isPage")} {$_product_data = $wa->globals("productPageData")} {$_tags = $wa->shop->tags()} {if empty($_is_personal_area)} {if !$_is_page && !$_is_home && !$_product_data} {* Show category navigation *} {$_catalogs = []} {if empty($category)} {$_catalogs = $wa->shop->categories(0, 0, false)} {elseif !empty($category.subcategories)} {$_catalogs = $category.subcategories} {elseif !empty($theme_settings.show_neighboring_categories)} {$_root_catalog = $wa->shop->category($category.parent_id)} {if !empty($_root_catalog.subcategories)} {$_catalogs = $_root_catalog.subcategories} {/if} {/if} {if !empty($_catalogs)} {$_limit = 20} {if !empty($theme_settings.menu_limit) && $theme_settings.menu_limit > 0} {$_limit = $theme_settings.menu_limit} {/if}

[`Categories`]

{/if} {/if} {* NEWS *} {if $_is_home && $wa->blog} {$_blog_id = null} {if !empty($theme_settings.news_blog_id)} {$_blog_id = $theme_settings.news_blog_id} {/if} {$_posts = $wa->blog->posts($_blog_id, 5)} {if !empty($_posts)}

[`News`]

{/if} {/if} {* PRODUCT PAGE *} {if !empty($_product_data)} {$_count = false} {if !empty($_product_data.reviews_count) && $_product_data.reviews_count > 0} {$_count = $_product_data.reviews_count} {/if} {$_is_review_page = false} {if !empty($_product_data.is_review_page)}{$_is_review_page = true}{/if} {$_product_pages = [ [ "name" => "[`Product page`]", "uri" => $wa->shop->productUrl($_product_data.product) ], [ "name" => "[`Product reviews`]", "count" => $_count, "uri" => $wa->shop->productUrl($_product_data.product, 'reviews'), "is_selected" => $_is_review_page ] ]} {foreach $_product_data.product.pages as $_page} {$is_selected = false} {if !empty($_product_data.page) && $_product_data.page.id == $_page.id} {$is_selected = true} {/if} {$_product_pages[] = [ "is_selected" => $is_selected, "name" => $_page.name, "uri" => $wa->shop->productUrl($_product_data.product, 'page', [ 'page_url' => $_page.url ]) ]} {/foreach}

{$_product_data.product.name|escape}

{/if} {$_pages = $wa->shop->pages()} {if !empty($_pages)}
{/if} {if $_is_home} {$_info_blocks = []} {$_info_blocks[] = [ "header" => $theme_settings.info_block_1_header, "content" => $theme_settings.info_block_1_content, "icon" => $theme_settings.info_block_1_icon, "uri" => $theme_settings.info_block_1_uri, "view" => $theme_settings.info_block_1_view ]} {$_info_blocks[] = [ "header" => $theme_settings.info_block_2_header, "content" => $theme_settings.info_block_2_content, "icon" => $theme_settings.info_block_2_icon, "uri" => $theme_settings.info_block_2_uri, "view" => $theme_settings.info_block_2_view ]} {$_info_blocks[] = [ "header" => $theme_settings.info_block_3_header, "content" => $theme_settings.info_block_3_content, "icon" => $theme_settings.info_block_3_icon, "uri" => $theme_settings.info_block_3_uri, "view" => $theme_settings.info_block_3_view ]} {$_info_blocks[] = [ "header" => $theme_settings.info_block_4_header, "content" => $theme_settings.info_block_4_content, "icon" => $theme_settings.info_block_4_icon, "uri" => $theme_settings.info_block_4_uri, "view" => $theme_settings.info_block_4_view ]} {$_info_blocks[] = [ "header" => $theme_settings.info_block_5_header, "content" => $theme_settings.info_block_5_content, "icon" => $theme_settings.info_block_5_icon, "uri" => $theme_settings.info_block_5_uri, "view" => $theme_settings.info_block_5_view ]} {foreach $_info_blocks as $_info_block} {if (!empty($_info_block.view) && $_info_block.view !== "checkout") && (!empty($_info_block.header) || !empty($_info_block.content))}
{if !empty($_info_block.header)}
{if !empty($_info_block.icon)} {/if} {$_info_block.header}
{/if} {if !empty($_info_block.content)}
{$_info_block.content}
{/if} {if !empty($_info_block.uri)} {/if}
{/if} {/foreach} {/if} {* Display category filters *} {if !empty($category) && !empty($filters)} {include file="./category.filters.html" inline} {/if} {* @event frontend_nav.%plugin_id% *} {foreach $frontend_nav as $_}
{$_}
{/foreach} {if !empty($category.description) && $theme_settings.category_description_place === "sidebar"}

{$category.name|escape}

{$category.description}
{/if} {if !empty($_tags)} {* TAGS *}

[`Tags`]

{foreach $_tags as $_tag}
  • {$_tag.name|escape}
  • {/foreach}
    {/if} {else} {$_is_my_order_page = $wa->globals("isMyOrderPage")} {if !empty($_is_my_order_page)} {/if} {/if} {/strip}