app/template/default/Block/above_footer.twig line 1

Open in your IDE?
  1. <div class="l-footerRole__wrap">
  2.     <div class="l-blockRole">
  3.         <div class="u-cts l-footerRole-howto">
  4.             <div class="u-cts__inner">
  5.                 <ul class="l-footerRole-howto__list">
  6.                     <li>
  7.                         <p class="image"><img src="{{ asset('assets/img/icon_creditcard.svg') }}" alt=""></p>
  8.                         <p class="title">お支払い方法</p>
  9.                         <div class="button"><a href="{{ url('help_guide') }}#payment" target="_blank" class="c-button--b">詳しく見る</a></div>
  10.                     </li>
  11.                     <li>
  12.                         <p class="image"><img src="{{ asset('assets/img/icon_calendar.svg') }}" alt=""></p>
  13.                         <p class="title">納期</p>
  14.                         <div class="button"><a href="{{ url('help_guide') }}#date" target="_blank" class="c-button--b">詳しく見る</a></div>
  15.                     </li>
  16.                     <li>
  17.                         <p class="image"><img src="{{ asset('assets/img/icon_cardboard.svg') }}" alt=""></p>
  18.                         <p class="title">返品交換</p>
  19.                         <div class="button"><a href="{{ url('help_guide') }}#exchange" target="_blank" class="c-button--b">詳しく見る</a></div>
  20.                     </li>
  21.                     <li>
  22.                         <p class="image"><img src="{{ asset('assets/img/icon_truck.svg') }}" alt=""></p>
  23.                         <p class="title">配送方法・送料</p>
  24.                         <div class="button"><a href="{{ url('help_guide') }}#delivery" target="_blank" class="c-button--b">詳しく見る</a></div>
  25.                     </li>
  26.                 </ul>
  27.             </div>
  28.         </div>
  29.     <!-- / --></div>
  30.     <div class="l-blockRole">
  31.         <div class="u-cts p-breadcrumbs">
  32.             <div class="u-cts__inner">
  33.                 <ul class="p-breadcrumbs__list">
  34.                     <li><a href="{{ url('homepage') }}">TOP</a></li>
  35. {% if Page.url == 'product_detail' %}
  36.  {% set hasSelectcupboard = false %}
  37.  {% for ProductCategory in Product.ProductCategories %}
  38.       {% if ProductCategory.Category.id == 49 %}
  39.          {% set hasSelectcupboard = true %}
  40.       {% endif %}
  41.  {% endfor %}
  42.  {% if hasSelectcupboard %}
  43.     <li><a href="{{ url('product_list') }}?category_id=2">セレクト家具</a></li>
  44.     <li><a href="{{ url('product_list') }}?category_id=49">組み合わせが選べるカップボード</a></li>
  45.  {% else %}
  46.     {% for ProductCategory in Product.ProductCategories %}
  47.     <li><a href="/products/list?category_id={{ ProductCategory.Category.id }}">{{ ProductCategory.Category.name }}</a></li>
  48.     {% endfor %}
  49.  {% endif %}
  50. {% endif %}
  51. {% if Page.url == 'product_list' %}
  52. {%   if Category is not null and (Category.id == 3) %}
  53.                     <li>オーダー家具</li>
  54. {%   elseif Category is not null and Category.Parent is not null and (Category.Parent.id == 3) %}
  55.                     <li><a href="{{ url('product_list') }}?category_id=3">オーダー家具</a></li>
  56.                     <li>{{ Category.name }}</li>
  57. {%   elseif Category is not null and (Category.id == 2) %}
  58.                     <li>セレクト家具</li>
  59. {%   elseif Category is not null and (Category.id == 48) %}
  60.                     <li>パーツ・部品販売</li>
  61. {%   else %}
  62.                     <li><a href="{{ url('product_list') }}?category_id=2">セレクト家具</a></li>
  63.                     <li>{{ Category.name }}</li>
  64. {%   endif %}
  65.     {% elseif Page.url != 'homepage' %}
  66.         {% if subtitle is defined and subtitle is not empty %}
  67.                                 <li class="a1">{{ subtitle }}</li>
  68.             {% elseif title is defined and title is not empty %}
  69.                                 <li class="a2">{{ title }}</li>
  70.     {% endif %}
  71. {% endif %}
  72. {#
  73.                     <li><a href="●●●●●">第2階層</a></li>
  74.                     <li><a href="●●●●●">第3階層</a></li>
  75.                     <li>現在位置</li>
  76. #}
  77.                 </ul>
  78.             </div>
  79.         </div>
  80.     <!-- / --></div>
  81. </div>