app/template/default/Product/components/detail_product/details.twig line 1

Open in your IDE?
  1. {% if Product.ProductItems is not empty %}
  2. <section class="ec-grid2 mbPad productDetail">
  3.     <div class="headings">
  4.         <h3>商品詳細</h3>
  5.     </div>
  6.     <dl>
  7. {#                     {% if Product.description_detail %}
  8.                 <dt>商品説明</dt>
  9.                 <dd>{{ Product.description_detail|raw|nl2br }}</dd>
  10.             {% endif %} #}
  11.             {# 商品項目 #}
  12.             {% if Product.ProductItems is not empty  %}
  13.                 {% for item in Product.ProductItems %}
  14.                     <dt>{{ item.name|raw|nl2br  }}</dt>
  15.                     <dd>{{ item.content|raw|nl2br  }}</dd>
  16.                 {% endfor %}
  17.                 {# 商品コード #}
  18.                 {% if Product.code_min is not empty %}
  19.                     <dt>{{ '商品コード'|trans }}</dt>
  20.                     <dd>{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</dd>
  21.                 {% endif %}
  22.             {% endif %}
  23.         </dl>
  24.     </section>
  25. {% endif %}