app/template/default/Block/header_insp.twig line 18

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE, Overwrite by INSPIRATION
  3. #}
  4. {% set totalQuantity = get_carts_total_quantity() %}
  5. <header class="common-header">
  6.         <div class="head">
  7.             {# ペイジェント導入後復活 5,000円以上<span class="text-danger">代引手数料無料! #}</span>8,000円以上<span class="text-danger">送料無料!</span>
  8.         </div>
  9.         <div class="body">
  10.             <div class="d-flex align-items-center">
  11.                 <!-- ロゴ -->
  12.                 <div class="me-0 me-lg-3">
  13.                     <a href="{{ url('homepage') }}"><img src="{{ asset('assets/img/common/logo.png') }}" width="184" height="45" alt="ゴルフボールの名入れ・印刷はゴルフプリント" class="img-fluid"></a>
  14.                 </div>
  15.                 <!-- ▽ サイト検索(PC) -->
  16.                 <div class="d-none d-lg-block">
  17. {{ render(path('block_search_product')) }}
  18.                 </div>
  19.                 <!-- ユーティリティ -->
  20.                 <div class="utility-navi flex-grow-1 mx-1 mx-sm-3">
  21.                     <a href="{{ url('help_guide') }}" class="items -guide">ガイド</a>
  22.                     <a href="{{ url('contact') }}" class="items -contact">お問合せ</a>
  23.                     <a href="{{ asset('assets/img/common/fax.pdf') }}" target="_blank" class="items -fax">FAX</a>
  24.     {% if is_granted('ROLE_USER') %}
  25. {#
  26.                     <a href="{{ url('logout') }}" class="items -login">ログアウト</a>
  27. #}
  28.                     <a href="{{ url('mypage_login') }}" class="items -login">マイページ</a>
  29.     {% else %}
  30.                     <a href="{{ url('mypage_login') }}" class="items -login">ログイン</a>
  31.     {% endif %}
  32.                     <a href="{{ url('cart') }}" class="items -cart position-relative">
  33.                         カート
  34.     {% if totalQuantity > 0 %}
  35.                         <span class="badge bg-danger text-white rounded-pill _fs-1" style="position: absolute; top: -4px; right: -4px;">{{ totalQuantity }}</span>
  36.     {% endif %}
  37.                     </a>
  38.                 </div>
  39.             </div>
  40.             <!-- 電話 -->
  41.             <div class="free-call -header">
  42.                 <div class="dial"><i class="icon-phone-outline"></i>0120-669-121</div>
  43.                 <div class="reception">受付/ 9:30~18:00(土・日・祝を除く)</div>
  44.             </div>
  45.         </div>
  46.         <!-- ▽ サイト検索(SP) -->
  47.         <div class="d-block d-lg-none">
  48.             <div class="container mb-3">
  49. {{ render(path('block_search_product')) }}
  50.             </div>
  51.         </div>
  52.         <div class="foot">
  53.             <div class="category-navi">
  54.                 <a href="{{ url('product_list') }}?category_id=7" class="items">ボールを<br class="d-block d-sm-none">選ぶ</a>
  55.                 <a href="{{ url('product_list') }}?category_id=8" class="items">マーカーを<br class="d-block d-sm-none">選ぶ</a>
  56.                 <a href="{{ url('product_list') }}?category_id=9" class="items">デザインを<br class="d-block d-sm-none">選ぶ</a>
  57.                 <a href="{{ url('product_list') }}?category_id=10" class="items">ラッピング</a>
  58.             </div>
  59.         </div>
  60.     </header>