app/template/default/Item/main.twig line 1

Open in your IDE?
  1. <div id="cartin-button-guide"></div>
  2. <div class="product-detail" data-id="{{ goods.goodsMainKataban | display_text }}" data-name="{{ data.goods_name | display_text }}"
  3.      data-category="{% for i in breadCrumb %}{% if loop.index != 1 %} / {% endif %}{{ i.label }}{% endfor %}"
  4.      data-price="{{ size[0].gp_price | display_text }}">
  5.     <div id="col2-wrapper">
  6.         <!-- left contents -->
  7.         <div id="lcontents">
  8.             <table cellspacing="0" cellpadding="0">
  9.                 <tr>
  10.                     <td class="entry_pict">
  11.                         <img src="{{ mainUrl }}" alt="{{ comment }}" name="pict{{ goods.goodsId }}" id="pict{{ goods.goodsId }}"/>
  12.                     </td>
  13.                 </tr>
  14.             </table>
  15.             {% if thumbCount > 1 %}
  16.                 <div class="entry_pict_text">
  17.                     <script type="text/javascript">
  18.                         <!--
  19.                         if (document.all || document.getElementById) {
  20.                             document.write("<div id='linkinfolay'>{{ comment }}</div>");
  21.                         }
  22.                         //-->
  23.                     </script>
  24.                 </div>
  25.             {% endif %}
  26.         </div>
  27.         <!-- right contents -->
  28.         <div id="rcontents">
  29.             <div id="rcontent"></div>
  30.             <div class="goods-detail">
  31.                 {{ data.goods_detail | lm_sashikomi }}
  32.             </div>
  33.             {% if data.goods_status != 1 and not is_preview_mode %}
  34.                 <style> .hinban_box {
  35.                         background: none;
  36.                         background-color: #f0f0f0;
  37.                     } </style>
  38.             {% endif %}
  39.             <div id="{{ goods.goodsId }}" class="hinban_box">
  40.                 {% set hinban_length = goods.goodsMainKataban | length %}
  41.                 {% if hinban_length <= 10 %}
  42.                     {% set fontsize = '40px' %}
  43.                 {% elseif hinban_length <= 12 %}
  44.                     {% set fontsize = '35px' %}
  45.                 {% elseif hinban_length <= 14 %}
  46.                     {% set fontsize = '30px' %}
  47.                 {% elseif hinban_length <= 16 %}
  48.                     {% set fontsize = '25px' %}
  49.                 {% elseif hinban_length <= 18 %}
  50.                     {% set fontsize = '20px' %}
  51.                 {% elseif hinban_length <= 20 %}
  52.                     {% set fontsize = '15px' %}
  53.                 {% else %}
  54.                     {% set fontsize = '40px' %}
  55.                 {% endif %}
  56.                 <p class="gno" style="font-size:{{ fontsize }};">
  57.                     <span>商品番号 :</span>{{ goods.goodsMainKataban }}
  58.                 </p>
  59.             </div>
  60.             <div class="price_box">
  61.                 <p class="goods-sale-text">{{ data.goods_sale_text | display_text }}</p>
  62.                 {# スーパーセール #}
  63.                 {% include 'Product/Parts/super_sale.twig' with { goods: goods } only %}
  64.                 <p class="goods-merged-item-number-text">{{ data.goods_merged_item_number_text | display_text }}</p>
  65.                 <p class="gname">
  66.                     {% if goods_name_with_vending_status is defined and goods_name_with_vending_status %}
  67.                         {{ goods_name_with_vending_status | display_text }}
  68.                     {% else %}
  69.                         {{ data.goods_name | display_text }}
  70.                     {% endif %}
  71.                 </p>
  72.                 <p class="gname-sub">{{ data.goods_sub_name | display_text }}</p>
  73.                 {% if displayTeika.teika is defined and displayTeika.teika %}
  74.                     <p class="gteika">希望小売価格:{{ displayTeika.teika | raw }}</p>
  75.                 {% endif %}
  76.                 <p class="gprice">
  77.                     <span class="web_tokka">WEB特別価格:</span><span
  78.                         class="kakaku">{{ displayPrice.mi | number_format }}</span>
  79.                     <span class="gprice-txt">円{% if displayPrice2 != "" %}~{% endif %}(税抜価格<span
  80.                             class="fontsize26px">{{ displayPrice.gp_price | number_format }}</span>円{% if displayPrice2 != "" %}~{% endif %})</span>
  81.                     {% if displayTeika.off is defined %}
  82.                         <span class="goff">{{ displayTeika.off }}</span>
  83.                     {% endif %}
  84.                 </p>
  85.                 {% if displayPrice2 != "" %}
  86.                     <div class="sizeprice-box"><p class="sizeprice-box-txt"><span
  87.                                 class="line1">※サイズによって価格が変わります。</span><span
  88.                                 class="sizeprice-txt">{{ displayPrice2 }}</span></p></div>
  89.                 {% endif %}
  90.                 {% if recentviews[goods.goodsId].main_gp_price is defined and recentviews[goods.goodsId].main_gp_price >= BaseInfo.DeliveryFreeAmount %}
  91.                     <p class="gship"><b>送料無料商品です。</b>(※沖縄・離島を除く)</p>
  92.                 {% endif %}
  93.             </div>
  94.             {% if isShowLeftmenu %}
  95.             {% else %}
  96.                 <img src="https://img0.land-mark.biz/ut_img/public_images/image_dt/shopping_guide.gif" alt="お支払い方法" class="spb20"/><br/>
  97.             {% endif %}
  98.             <div id="share_buttons">
  99.                 <!-- Facebook -->
  100.                 <div class="share_button">
  101.                     <div class="fb-like" data-href="/item/{{ goods.itemId }}.html" data-layout="button_count"
  102.                          data-action="like" data-show-faces="true" data-share="false"></div>
  103.                 </div>
  104.                 <!-- Twitter -->
  105.                 <div class="share_button">
  106.                     <a class="twitter-share-button" href="https://twitter.com/share" data-dnt="true">Tweet</a>
  107.                 </div>
  108.                 <!-- LINEで送る -->
  109.                 <div class="share_button">
  110.                     <div class="line-it-button" data-type="share-a" data-lang="ja"></div>
  111.                 </div>
  112.             </div>
  113.         </div>
  114.     </div>
  115.     <br class="clear"/>
  116.     {% if thumbCount > 1 %}
  117.         <div class="entry_l_contents clearfix">
  118.             <div class="entry_l_sam_box">
  119.                 <table cellspacing="0" cellpadding="0">
  120.                     <tr>
  121.                         <td class="entry_l_sam">
  122.                             <img src="{{ mainUrlSum }}"
  123.                                  onmouseover="linkinfo('{{ comment | raw }}');swapImage('pict{{ data.goods_id }}','','{{ mainUrl }}',1,'{{ comment | raw }}')"
  124.                                  onmouseout="swapImage('pict{{ data.goods_id }}','','{{ mainUrl }}',1,'{{ comment | raw }}');"
  125.                                  alt="{{ comment | raw }}" width="45"/>
  126.                         </td>
  127.                     </tr>
  128.                 </table>
  129.                 {{ comment | raw }}
  130.             </div>
  131.             {{ displayOther | raw }}
  132.         </div>
  133.     {% endif %}
  134.     <br class="clear"/>
  135. </div>