{#This file is part of EC-CUBECopyright(c) EC-CUBE CO.,LTD. All Rights Reserved.http://www.ec-cube.co.jp/For the full copyright and license information, please view the LICENSEfile that was distributed with this source code.#}{% set totalQuantity = get_carts_total_quantity() %}{% set EnUser = app.request.cookies.get('en_user') == 'Y' %}{% if EnUser == false %} <div class="ec-header-navi-sp pc-none"> <div class="ec-header-navi-sp__logo"> {% if ChainStore == false %} <a href="{{ url('homepage') }}"> <img src="{{ asset('assets/img/common/logo_sp.png') }}" width="80"> </a> {% else %} <a href="{{ url('mypage_menu') }}"> <img src="{{ asset('assets/img/common/logo_sp.png') }}" width="80"> </a> {% endif %} </div> <div class="ec-header-navi-sp__login"> {% if is_granted('ROLE_USER') %} <a href="{{ url('logout') }}"> <img src="{{ asset('assets/img/common/lock-alt-solid.svg') }}" width="25"> <span>ログアウト</span> </a> {% else %} <a href="{{ url('mypage_login') }}"> <img src="{{ asset('assets/img/common/lock-alt-solid.svg') }}" width="25"> <span>ログイン</span> </a> {% endif %} </div> <div class="ec-header-navi-sp__cart"> <div class="ec-headerRole__cart"> {{ include('Block/cart.twig') }} </div> </div> <div class="ec-header-navi-sp__store"> {% if ChainStore == false %} <a href="{{ url('product_list') }}"> <p><span class="small">ONNLINE</span><span class="large">SHOP</span></p> <img src="{{ asset('assets/img/common/icon_online_store.png') }}" width="32"> </a> {% else %} <a href="{{ url('mypage') }}"> <p class="chain-store-icon2">マイ<br>ページ</p> </a> <a href="{{ url('product_list') }}"> <p class="chain-store-icon">商品<br>発注</p> </a> {% endif %} </div> <div class="ec-header-navi-sp__btn"> {{ include('Block/nav_sp.twig') }} </div> {% if ChainStore == false %} {% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %} <div class="ec-header-navi-sp__lang-link"> <a href="{{ url('en_user') }}"> <span>English Page</span> </a> </div> {% endif %} {% endif %} </div> <div class="ec-header-top sp-none"> {% if ChainStore == false %} {% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %} <div class="ec-header-top__lang-link"> <a href="{{ url('en_user') }}">English Page</a> </div> {% endif %} {% endif %} {{ render(path('block_' ~ 'search_product')) }} <div class="ec-header-top__login"> {{ include('Block/login.twig') }} </div> </div> <div class="ec-header-bottom sp-none"> {% if ChainStore == false %} <div class="ec-header-bottom__logo"> <p class="ec-header-bottom__img"> <h1> <a href="{{ url('homepage') }}"> <img src="{{ asset('assets/img/common/logo_header.png') }}" alt="ダシーズファクトリー公式サイト オンラインショップ"> </a> </h1> </p> </div> <div class="ec-header-bottom__center"> <div class="ec-header-bottom__gnav"> <ul class="p-global-navi"> <li class="p-global-navi__item"> <a href="/shop/news/">NEWS</a> <a href="/shop/news/" class="p-global-navi__jp">お知らせ</a> </li> <li class="p-global-navi__item has-child"> <a href="/shop/story/">STORY</a> <a href="/shop/story/" class="p-global-navi__jp">製品の誕生物語</a> <ul class="p-global-navi-child"> <li class="p-global-navi-child__item"> <a href="/shop/story/story-ice-cream">- ICE</a> </li> <li class="p-global-navi-child__item"> <a href="/shop/story/story-coffee">- COFFEE</a> </li> </ul> </li> <li class="p-global-navi__item has-child"> <a href="/shop/concept/">CONCEPT</a> <a href="/shop/concept/" class="p-global-navi__jp">製品のこだわり</a> <ul class="p-global-navi-child"> <li class="p-global-navi-child__item"> <a href="/shop/concept/concept-ice-cream/">- ICE</a> </li> <li class="p-global-navi-child__item"> <a href="/shop/concept/concept-coffee/">- COFFEE</a> </li> </ul> </li> <li class="p-global-navi__item"> <a href="/shop/products-list/">PRODUCTS</a> <a href="/shop/products-list/" class="p-global-navi__jp">商品ラインアップ</a> </li> <li class="p-global-navi__item"> <a href="{{ url('company') }}">ABOUT US</a> <a href="{{ url('company') }}" class="p-global-navi__jp">会社概要</a> </li> <li class="p-global-navi__item"> <a href="/shop/stores/">STORES</a> <a href="/shop/stores/" class="p-global-navi__jp">実店舗のご紹介</a> </li> <li class="p-global-navi__item"> <a href="/shop/entry/">販売店募集</a> </li> <li class="p-global-navi__item"> <a href="/shop/vending/">自販機取扱</a> </li> </ul> </div> </div> {% else %} <div class="ec-header-bottom__logo"> <p class="ec-header-bottom__img"> <a href="{{ url('mypage_menu') }}"> <img src="{{ asset('assets/img/common/logo_header.png') }}" alt=""> </a> </p> </div> <div class="ec-header-bottom__center"> <div class="ec-header-bottom-title"> <h1>ダシーズ契約店専用サイト</h1> </div> </div> {% endif %} <div class="ec-header-bottom__right"> <ul class="ec-header-bottom__store-link"> <li class="ec-header-bottom__store-link-item"> <a href="{{ url('cart') }}"> <span class="ec-cartNavi-badge">{{ totalQuantity|number_format }}</span> <img src="{{ asset('assets/img/common/icon_store.png') }}" alt="" width="34"> </a> </li> {% if ChainStore == false %} <li class="ec-header-bottom__store-link-item"> <a href="{{ url('product_list') }}"> <span>ONLINE SHOP</span> </a> <a href="/products/list/" class="store-link-jp">オンラインショップ</a> </li> <li class="ec-header-bottom__store-link-item"> <a href="/shop/guide/"> <span class="store-link-small">GUIDE</span> </a> <a href="/shop/guide/" class="store-link-jp">お買い物ガイド</a> </li> {% endif %} </ul> </div> </div>{% else %} <div class="ec-header-navi-sp pc-none"> <div class="ec-header-navi-sp__logo"> {% if EnUser %} <a href="{{ url('product_list') }}"> {% else %} <a href="{{ url('homepage') }}"> {% endif %} <img src="{{ asset('assets/img/common/logo_sp.png') }}" width="80"> </a> </div> {# <div class="ec-header-navi-sp__login"> {% if is_granted('ROLE_USER') %} <a href="{{ url('logout') }}"> <img src="{{ asset('assets/img/common/lock-alt-solid.svg') }}" width="25"> <span>ログアウト</span> </a> {% else %} <a href="{{ url('mypage_login') }}"> <img src="{{ asset('assets/img/common/lock-alt-solid.svg') }}" width="25"> <span>ログイン</span> </a> {% endif %} </div> #} <div class="ec-header-navi-sp__cart"> <div class="ec-headerRole__cart"> {{ include('Block/cart.twig') }} </div> </div> <div class="ec-header-navi-sp__store"> <a href="{{ url('product_list') }}"> <p><span class="small">ONLINE</span><span class="large">SHOP</span></p> <img src="{{ asset('assets/img/common/icon_online_store.png') }}" width="32"> </a> </div> <div class="ec-header-navi-sp__btn"> {{ include('Block/nav_sp.twig') }} </div> {% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %} <div class="ec-header-navi-sp__lang-link"> <a href="{{ url('product_list') }}?empty_cookie=1"> <span>Japanese Page</span> </a> </div> {% endif %} </div> {% if app.request.attributes.get('_route') == 'homepage' or app.request.attributes.get('_route') == 'product_list' %} <div class="ec-header-top sp-none"> <div class="ec-header-top__lang-link"> <a href="{{ url('product_list') }}?empty_cookie=1">Japanese Page</a> </div> </div> {% endif %} <div class="ec-header-bottom ec-header-bottom--en sp-none"> <div class="ec-header-bottom__logo"> <p class="ec-header-bottom__img"> <h1> {% if EnUser %} <a href="{{ url('product_list') }}"> {% else %} <a href="{{ url('homepage') }}"> {% endif %} <img src="{{ asset('assets/img/common/logo_header.png') }}" alt="ダシーズファクトリー公式サイト オンラインショップ"> </a> </h1> </p> </div> <div class="ec-header-bottom__right"> <ul class="ec-header-bottom__store-link"> <li class="ec-header-bottom__store-link-item"> <a href="{{ url('cart') }}"> <span class="ec-cartNavi-badge">{{ totalQuantity|number_format }}</span> <img src="{{ asset('assets/img/common/icon_store.png') }}" alt="" width="34"> </a> </li> {% if ChainStore == false %} <li class="ec-header-bottom__store-link-item"> <a href="{{ url('product_list') }}"> <span>ONLINE SHOP</span> </a> </li> <li class="ec-header-bottom__store-link-item"> <a href="/shop/en/guide/"> <span class="store-link-small">GUIDE</span> </a> </li> {% endif %} </ul> </div> </div>{% endif %}{% if ChainStore %} <div class="ec-header-bottom-list sp-none"> <ul class="ec-header-bottom-list__list"> <li class="ec-header-bottom-list__item"> <a href="{{ url('mypage_menu') }}">トップ</a> </li> <li class="ec-header-bottom-list__item"> <a href="{{ url('mypage_news') }}">新着情報</a> </li> <li class="ec-header-bottom-list__item"> <a href="{{ url('product_list') }}">商品発注</a> </li> <li class="ec-header-bottom-list__item"> <a href="{{ url('product_list') }}?category_id=8">販促品発注</a> </li> <li class="ec-header-bottom-list__item"> <a href="/shop/manual/">マニュアル</a> </li> <li class="ec-header-bottom-list__item"> <a href="/shop/notifi/">各種申請</a> </li> <li class="ec-header-bottom-list__item"> <a href="/shop/promotion/">プロモーション</a> </li> <li class="ec-header-bottom-list__item ec-header-bottom-list__item--colored"> <a href="{{ url('mypage') }}">マイページ</a> </li> </ul> </div>{% endif %}