108 lines
5.7 KiB
Smarty
108 lines
5.7 KiB
Smarty
{* extends file="parent:widgets/checkout/info.tpl" *}
|
|
|
|
{* Cart entry *}
|
|
{block name="frontend_index_checkout_actions_cart"}
|
|
<li class="navigation--entry entry--cart" role="menuitem">
|
|
{s namespace="frontend/index/checkout_actions" name="IndexLinkCart" assign="snippetIndexLinkCart"}{/s}
|
|
<a class="btn is--icon-left cart--link" href="{url controller='checkout' action='cart'}" title="{$snippetIndexLinkCart|escape}" aria-label="{$snippetIndexLinkCart|escape}">
|
|
<span class="cart--display">
|
|
{if $sUserLoggedIn}
|
|
{s name='IndexLinkCheckout' namespace='frontend/index/checkout_actions'}{/s}
|
|
{else}
|
|
{s namespace='frontend/index/checkout_actions' name='IndexLinkCart'}{/s}
|
|
{/if}
|
|
</span>
|
|
|
|
<span class="badge is--primary is--minimal cart--quantity{if $sBasketQuantity < 1} is--hidden{/if}">{$sBasketQuantity}</span>
|
|
|
|
<span class="wbn-icon-set wbn-icon-basket"></span>
|
|
<span class="cart--amount">
|
|
{$sBasketAmount|currency} {s name="Star" namespace="frontend/listing/box_article"}{/s}
|
|
</span>
|
|
</a>
|
|
<div class="ajax-loader"> </div>
|
|
</li>
|
|
{/block}
|
|
|
|
{* My account entry *}
|
|
{block name="frontend_index_checkout_actions_my_options"}
|
|
<li class="navigation--entry entry--account{if {config name=useSltCookie} || $sOneTimeAccount} with-slt{/if}"
|
|
role="menuitem"
|
|
data-offcanvas="true"
|
|
data-offCanvasSelector=".account--dropdown-navigation">
|
|
{block name="frontend_index_checkout_actions_account"}
|
|
<a href="{url controller='account'}"
|
|
title="{"{if $userInfo}{s name="AccountGreetingBefore" namespace="frontend/account/sidebar"}{/s}{$userInfo['firstname']}{s name="AccountGreetingAfter" namespace="frontend/account/sidebar"}{/s} - {/if}{s namespace='frontend/index/checkout_actions' name='IndexLinkAccount'}{/s}"|escape}"
|
|
aria-label="{"{if $userInfo}{s name="AccountGreetingBefore" namespace="frontend/account/sidebar"}{/s}{$userInfo['firstname']}{s name="AccountGreetingAfter" namespace="frontend/account/sidebar"}{/s} - {/if}{s namespace='frontend/index/checkout_actions' name='IndexLinkAccount'}{/s}"|escape}"
|
|
class="btn is--icon-left entry--link account--link{if $userInfo} account--user-loggedin{/if}">
|
|
<span class="wbn-icon-set wbn-icon-account"></span>
|
|
{if $userInfo}
|
|
<span class="account--display navigation--personalized">
|
|
<span class="account--display-greeting">
|
|
{s name="AccountGreetingBefore" namespace="frontend/account/sidebar"}{/s}
|
|
{$userInfo['firstname']}
|
|
{s name="AccountGreetingAfter" namespace="frontend/account/sidebar"}{/s}
|
|
</span>
|
|
{s namespace='frontend/index/checkout_actions' name='IndexLinkAccount'}{/s}
|
|
</span>
|
|
{else}
|
|
<span class="account--display">
|
|
{s namespace='frontend/index/checkout_actions' name='IndexLinkAccount'}{/s}
|
|
</span>
|
|
{/if}
|
|
</a>
|
|
{/block}
|
|
|
|
{if {config name=useSltCookie} || $sOneTimeAccount}
|
|
{block name="frontend_index_checkout_actions_account_navigation"}
|
|
<div class="account--dropdown-navigation">
|
|
|
|
{block name="frontend_index_checkout_actions_account_navigation_smartphone"}
|
|
<div class="navigation--smartphone">
|
|
<div class="entry--close-off-canvas">
|
|
<a href="#close-account-menu"
|
|
class="account--close-off-canvas"
|
|
title="{s namespace='frontend/index/menu_left' name="IndexActionCloseMenu"}{/s}"
|
|
aria-label="{s namespace='frontend/index/menu_left' name="IndexActionCloseMenu"}{/s}">
|
|
{s namespace='frontend/index/menu_left' name="IndexActionCloseMenu"}{/s} <i class="icon--arrow-right"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{/block}
|
|
|
|
{block name="frontend_index_checkout_actions_account_menu"}
|
|
{include file="frontend/account/sidebar.tpl" showSidebar=true inHeader=true}
|
|
{/block}
|
|
</div>
|
|
{/block}
|
|
{/if}
|
|
</li>
|
|
{/block}
|
|
|
|
{* Notepad entry *}
|
|
{block name="frontend_index_checkout_actions_notepad"}
|
|
<li class="navigation--entry entry--support">
|
|
<span class="cds--info-block">
|
|
<span class="sw-icon-set icon--phone"></span>
|
|
<span class="info--support">
|
|
<a href="tel:{s name="PhoneNumberSupportLink" namespace="widgets/checkout/info"}{/s}"
|
|
title="{s name="SupportLinkTitle" namespace="widgets/checkout/info"}{/s}">
|
|
{s name="PhoneNumberSupport" namespace="widgets/checkout/info"}{/s}
|
|
</a>
|
|
</span>
|
|
</span>
|
|
</li>
|
|
<li class="navigation--entry entry--delivery">
|
|
<span class="cds--info-block">
|
|
<span class="sw-icon-set icon--truck"></span>
|
|
<span class="info--delivery">
|
|
<span class="cds--upper cds--bold cds--block cds--justify">{s name="DeliveryGermanyHead" namespace="widgets/checkout/info"}{/s}</span>
|
|
<span class="cds--block cds--justify">{s name="DeliveryGermanyHead2" namespace="widgets/checkout/info"}{/s}</span>
|
|
</span>
|
|
</span>
|
|
</li>
|
|
{/block}
|
|
|
|
|
|
{block name="frontend_index_checkout_actions_inner"}{/block}
|