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

Open in your IDE?
  1. {% if CheckProducts|length > 0 %}
  2. <h3>最近チェックした商品</h3>
  3. <div class="ichiran_coinlist checkwrap">
  4.   <ul>
  5.     {% for Product in CheckProducts %}
  6.       <li><a href="{{ url('product_detail', {'id': Product.id}) }}">
  7.           <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="#">
  8.           {% if Product.Status.id == 8 %}
  9.           <b class="tab_yoyaku">ご予約可</b>
  10.           {% endif %}
  11.           <h2>{{ Product.name }}</h2>
  12.           <p>
  13.             {% if Product.Status.id == 6 %}
  14.               {# 取り置き(公開)は価格表示なし #}
  15.             {% elseif Product.getPrice02IncTaxMin == 0 and htMeyasu[Product.id] is defined %}
  16.               {# 価格0円の場合は目安価格を表示 #}
  17.               目安価格:{{ htMeyasu[Product.id]|number_format }}円(税込)
  18.             {% else %}
  19.               <s>一般価格:{{ Product.getPrice02IncTaxMin|number_format }}円(税込)</s>
  20.               {% if htPrice[Product.id] is defined %}
  21.               <br><strong>会員価格:{{ htPrice[Product.id]|number_format }}円(税込)</strong>
  22.               {% endif %}
  23.             {% endif %}
  24.           </p>
  25.         </a></li>
  26.     {% endfor %}
  27.   </ul>
  28. </div>
  29. {% endif %}