app/template/kaiino/Brand/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="brand_detail">
  20.     <div class="box1">
  21.       <div class="img">
  22.         <img src="{{ Brand.image }}" alt="{{ Brand.name }}" width="100%">
  23.        </div>
  24.     </div>
  25.     <div class="box2">
  26.       <div class="ec-pageHeader">
  27.         <h2>{{ Brand.name }}<span class="kana">{{ Brand.kana }}</span></h2>
  28.       </div>
  29.       <div class="description">
  30.         {{ Brand.description }}
  31.       </div>
  32.     </div>
  33.   </div>
  34.     
  35.   <div class="ec-pageHeader">
  36.     <h2>商品一覧</h2>
  37.   </div>
  38.   <div class="brand_products product_list">
  39.     <ul class="ec-shelfGrid">
  40.     {% set Products = repository('Eccube\\Entity\\Product').getBrandProducts({'Brand': Brand}) %}
  41.     {% for Product in Products %}
  42.     {{ include('Product/list_single_item.twig') }}
  43.     {% endfor %}
  44.     </ul>
  45.   </div>
  46. {% endblock %}