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

Open in your IDE?
  1. <!-- シリーズ(4カラム) -->
  2. {% if goodsSeriesList is defined %}
  3.   {% if goodsSeriesList[4] is defined %}
  4.     {% for goodsSeries in goodsSeriesList[4] %}
  5.       <div class="goods-series col4">
  6.         {% if goodsSeries['gs_title'] is defined or goodsSeries['gs_sub_title'] is defined %}
  7.           <header>
  8.             <div class="itempage-line">
  9.               <p>
  10.               {% if goodsSeries['gs_title'] is defined %}
  11.               <span class="heading heading-large">{{ goodsSeries['gs_title'] | display_text }}</span>
  12.               {% endif %}
  13.               {% if goodsSeries['gs_sub_title'] is defined %}
  14.               <span class="heading heading-small ja">{{ goodsSeries['gs_sub_title'] | display_text }}</span>
  15.               {% endif %}
  16.               </p>
  17.             </div>
  18.           </header>
  19.         {% endif %}
  20.         <article>
  21.           {% for goods in goodsSeries['goods_list'] %}
  22.             {% set itemName = goods['goods_name'] %}
  23.             {% if goods['goods_new_name'] is defined %}
  24.               {% set itemName = goods['goods_new_name'] %}
  25.             {% endif %}
  26.             {% set itemId = goods['goods_id'] %}
  27.             {% if goods['goods_canonical_hinban'] is defined %}
  28.               {% set itemId = goods['goods_canonical_hinban'] %}
  29.             {% endif %}
  30.             <div class="goods-box-wrapper{% if data.goods_id == goods['goods_id'] %} nolink {% endif %}">
  31.               <a class="goods-box" href="/item/{{ itemId }}.html">
  32.                 <div class="goods-body">
  33.                   <div class="img-box">
  34.                     {% if data.goods_id == goods['goods_id'] %}
  35.                       <div class="overlay">
  36.                         <div class="overlay-text">
  37.                           この商品の<br>
  38.                           ページを<br>
  39.                           見ています
  40.                         </div>
  41.                       </div>
  42.                     {% endif %}
  43.                     <img src="{{ goods['goods_image'] }}">
  44.                   </div>
  45.                   <div class="color-box">
  46.                     <div class="color-tip-list">
  47.                       {% for color in goods['color_list'] %}
  48.                         <div class="color-tip" style="background-color:#{{ color['color_rgb'] | display_text }}"></div>
  49.                       {% endfor %}
  50.                     </div>
  51.                   </div>
  52.                           <div class="caption-box">{{ itemName | display_text }}</div>
  53.                   <div class="price-box">
  54.                       {{('<span class="get-price-ajax formed" data-item-id="' ~ goods['goods_id'] ~ '"></span><span
  55.                       class="yen">円</span><span class="zei">(税込)</span>') | raw}}
  56.                   </div>
  57.                 </div>
  58.               </a>
  59.             </div>
  60.           {% endfor %}
  61.         </article>
  62.       </div>
  63.     {% endfor %}
  64.   {% endif %}
  65. {% endif %}
  66. <!-- シリーズ(4カラム) -->