{extends_parent}

{block mobilemenuScript append}
   <script>
      wpj.mobilemenu.config.additionalMenu = "menu_header";
      {if $ctrl.active_language == 'cs'}
      wpj.mobilemenu.config.activecs = true;
      wpj.mobilemenu.translations.sellers = "{t}Prodejní síť{/t}";
      {else}
      wpj.mobilemenu.config.activecs = null;
      wpj.mobilemenu.translations.sellers = null;
      {/if}

      wpj.mobilemenu.translations.allInSection = "{t}Zobrazit kategorii{/t}";
      {if $ctrl.active_language == 'cs'}
      wpj.mobilemenu.translations.activeCurrency = "{$ctrl.active_currency|replace:"Kč":"CZK"}";
      {/if}

      wpj.mobilemenu.config.headerLogo = "/templates/images/logo.svg";
      wpj.mobilemenu.config.headerLogoLink = "{url s=index}";
      {if $ctrl.active_language == 'cs'}
      wpj.mobilemenu.config.sellersUrl = "{path('shop_seller_seller_map')}";
      {else}
      wpj.mobilemenu.config.sellersUrl = null;
      {/if}
   </script>
{/block}
