app/template/kaiino/Taste/view.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% extends 'default_frame.twig' %}
  9. {% set body_class = 'product_list' %}
  10. {% block stylesheet %}
  11. {% endblock %}
  12. {% block main %}
  13.   <!-- パンくず設定 -->
  14.   {% set breadcrumb = [] %}
  15.   {% set breadcrumb = breadcrumb|merge([{'name': 'カリーノツーシントップ','path': url('blog_index')}]) %}
  16.   {{ include('Block/breadcrumb.twig') }}
  17.   <!-- /パンくず設定 -->
  18.   
  19.   <div class="ec-pageHeader">
  20.     <h2>{{ Taste.name }}</h2>
  21.   </div>
  22.   
  23.   <div class="brand_detail">
  24.     <div class="box1">
  25.       <div class="img">
  26.         <img src="{{ Taste.image }}" alt="{{ Taste.name }}" width="100%">
  27.        </div>
  28.     </div>
  29.     <div class="box2">
  30.       <div class="ec-pageHeader">
  31.         <h2>{{ Taste.name }}</h2>
  32.       </div>
  33.       <div class="description">
  34.         {{ Taste.description }}
  35.       </div>
  36.     </div>
  37.   </div>
  38.     
  39.   <div class="ec-pageHeader">
  40.     <h2>商品一覧</h2>
  41.   </div>
  42.   <div class="brand_products product_list">
  43.     <ul class="ec-shelfGrid">
  44.     {% set Products = repository('Eccube\\Entity\\Product').getTasteProducts({'Taste': Taste}) %}
  45.     {% for Product in Products %}
  46.     {{ include('Product/list_single_item.twig') }}
  47.     {% endfor %}
  48.     </ul>
  49.   </div>
  50. {% endblock %}