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

Open in your IDE?
  1. {% include 'Common/ItemBanners.twig' %}
  2. {% if useNewItemDescription is defined and useNewItemDescription %}
  3.     <div id="new-item-description">
  4.         <p class="new-item-description-title"><span class="new-item-description-title-en">DESCRIPTION</span><span class="new-item-description-title-ja">商品説明</span></p>
  5.         {% if data.goods_new_description is defined and data.goods_new_description|trim is not empty %}
  6.             <p class="new-item-description-contents">{{ data.goods_new_description | raw }}</p>
  7.         {% endif %}
  8.         <table>
  9.             {% if data.goods_new_name is defined and data.goods_new_name|trim is not empty %}
  10.             <tr>
  11.                 <th>商品名</th>
  12.                 <td>{{ data.goods_new_name }}</td>
  13.             </tr>
  14.             {% endif %}
  15.             <tr>
  16.                 <th>商品番号</th>
  17.                 <td>{{ hinbanStr | display_text }}</td>
  18.             </tr>
  19.             {% if data.goods_new_maker is defined and data.goods_new_maker %}
  20.             <tr>
  21.                 <th>メーカー</th>
  22.                 <td>{{ data.goods_new_maker }}</td>
  23.             </tr>
  24.             {% endif %}
  25.             {% if newDescriptionColors is defined and newDescriptionColors %}
  26.             <tr>
  27.                 <th>カラー</th>
  28.                 <td>
  29.                     {{ newDescriptionColors }}
  30.                 </td>
  31.             </tr>
  32.             {% endif %}
  33.             {% if data.goods_new_material is defined and data.goods_new_material %}
  34.             <tr>
  35.                 <th>素材</th>
  36.                 <td>{{ data.goods_new_material | raw }}</td>
  37.             </tr>
  38.             {% endif %}
  39.             {% if data.goods_new_spec is defined and data.goods_new_spec %}
  40.             <tr>
  41.                 <th>仕様</th>
  42.                 <td>{{ data.goods_new_spec | raw }}</td>
  43.             </tr>
  44.             {% endif %}
  45.         </table>
  46.         {% if data.goods_new_annotation is defined and data.goods_new_annotation %}
  47.             <p class="annotation">{{ data.goods_new_annotation | raw }}</p>
  48.         {% endif %}
  49.         {% if data.goods_sample_rental is defined and data.goods_sample_rental != '1' %}
  50.             <p class='has-no-sample'>※この商品はサンプルの貸し出しができません</p>
  51.         {% endif %}
  52.     </div>
  53. {% else %}
  54.     <div>
  55.         {% if isShowLeftmenu is defined and isShowLeftmenu %}
  56.             <img src="https://img0.land-mark.biz/ut_img/public_images/image_dt/ttl_hitokoto.jpg" alt="ひとこと" class="lttl">
  57.         {% else %}
  58.             <img src="https://img0.land-mark.biz/ut_img/public_images/image_dt/ttl_hitokoto.gif" alt="ひとこと" class="lttl">
  59.         {% endif %}
  60.         {% if data.goods_breadcrumb_category_name is defined and data.goods_breadcrumb_category_name and data.goods_breadcrumb_category_link == 1 %}
  61.         <div class="breadcrumb_category comment"><a href="{{ data.goods_breadcrumb_category_url | display_text }}">{{ data.goods_breadcrumb_category_name | display_text }}シリーズページへ</a></div>
  62.         {% endif %}
  63.         {% if data.goods_breadcrumb_category_name4 is defined and data.goods_breadcrumb_category_name4 and data.goods_breadcrumb_category_link4 == 1 %}
  64.         <div class="breadcrumb_category comment"><a href="{{ data.goods_breadcrumb_category_url4 | display_text }}">{{ data.goods_breadcrumb_category_name4 | display_text }}シリーズページへ</a></div>
  65.         {% endif %}
  66.         {% if koeCategoryId is defined and koeCategoryId != '' %}
  67.             <div class="users-voice-link">
  68.                 <a href="{{ url('message/index', { category: koeCategoryId}) }}">事例が見つかる!お客様の声【{{ koeCategoryName }}特集】はコチラ ≫≫</a>
  69.             </div>
  70.         {% endif %}
  71.         <div class="ltxt">
  72.             {{ (data.goods_detail | lm_sashikomi) | raw }}
  73.             {% if data.goods_size_url is defined and data.goods_size_url != '' %}
  74.                 <a href=" {{data.goods_size_url}}&height=300&width=400" title="size" class="thickbox"><img src="https://img0.land-mark.biz/ut_img/public_images/btn_size.gif" alt="サイズ表" width="140" height="24" /></a>
  75.             {% endif %}
  76.         </div>
  77.     </div>
  78.     <div>
  79.         {% if isShowLeftmenu is defined and isShowLeftmenu %}
  80.             <img src="https://img0.land-mark.biz/ut_img/public_images/image_dt/ttl_jyouhou.jpg" alt="商品情報" class="lttl">
  81.         {% else %}
  82.             <img src="https://img0.land-mark.biz/ut_img/public_images/image_dt/ttl_jyouhou.gif" alt="商品情報" class="lttl">
  83.         {% endif %}
  84.         <div class="ltxt">
  85.             {% if data.goods_material is defined and data.goods_material %}
  86.                 {{ data.goods_material | raw }}
  87.             {% endif %}
  88.             {% if data.goods_sample_rental is defined and data.goods_sample_rental != '1' %}
  89.                 <p class='border'>※この商品はサンプルの貸し出しができません</p><br/>
  90.             {% endif %}
  91.         </div>
  92.     </div>
  93. {% endif %}