{if $theme_settings.header_links == 'shop-pages'} {$shop_pages = []} {* pages were shown in the core layout index.html template already *} {else} {$shop_pages = $wa->shop->pages()} {/if} {if $shop_pages || $theme_settings.category_nav_mode != 'sidebar'} {if isset($category)}{$selected_category=$category.id}{else}{$selected_category=null}{/if} {$categories = $wa->shop->categories(0, null, true)} {$tagcloud = $wa->shop->tags()} {* @event frontend_nav.%plugin_id% *} {$_hook_frontend_sidebar_section = false} {foreach $frontend_nav as $plugin => $output} {if !empty($output)} {$_hook_frontend_sidebar_section = true} {/if} {/foreach} {/if}