How to insert link to JavaScript?

Not thinking in JavaScript e, please help us.
a8f33d9c3f5c425abc2c015af177dd36.png
Here on this site, the breadcrumbs at the top category of my online store. The first link is a page on the main, it's called "Yamaha".

I need to make so that instead of referring to the main (Yamaha), I put his arbitrary link, which will lead to another page of the store. Can you please tell where to insert and what code.

Here is the code:
<!-- internal navigation breadcrumbs -->
 {if !empty($breadcrumbs)}
 <nav class="breadcrumbs" itemprop="breadcrumb">
 {if !$wa->globals('isMyAccount')}
 <a href="{$wa_app_url}">{$wa->shop->settings('name')}</a> <span class="rarr">→</span>
{else}
 {* within My Account we exclude from navigation first node because the links are on the page already *}
 {$breadcrumbs[0] = null}
{/if}
 {foreach $breadcrumbs as $breadcrumb}
 {if $breadcrumb}
 <a href="{$breadcrumb.url}">{$breadcrumb.name|escape}</a> <span class="rarr">→</span>
{/if}
{/foreach}
</nav>
 {/if}
June 27th 19 at 15:30
2 answers
June 27th 19 at 15:32
Solution
<a href="{$wa_app_url}">{$wa->shop->settings('name')}</a> <span class="rarr">→</span>

Replace your link. And it's not JavaScript, and SMARTY - template engine for PHP.
Thank you! - nikita.Stracke commented on June 27th 19 at 15:35
Under the answer is press a button to "Mark solution" if not difficult) - Rosanna96 commented on June 27th 19 at 15:38
June 27th 19 at 15:34
All understood, all thanks!

Find more questions by tags JavaScript