app/template/mizunasu/Block/iseya_deliveryfree.twig line 1

Open in your IDE?
  1. <div class="top-products-title">
  2.     <div class="icon"><img src="{{asset('assets/img/common/top-new-icon.png')}}" alt="送料無料"></div>
  3.     <div class="ttl green mincho">人気!送料無料セット商品</div>
  4.   {% set Category = repository("Eccube\\Entity\\Category").find(18) %}
  5. {% 
  6. set products = repository("Eccube\\Entity\\Product")
  7. .getQueryBuilderBySearchData({'category_id':Category})
  8. .setMaxResults(3)
  9. .getQuery()
  10. .getResult()
  11. %}</div>
  12.   <ul class="div3">
  13.             {% if products %}
  14.             {% for p in products %}
  15.                 <li><a href="{{ url('product_detail', {'id': p.id}) }}"><img src="{{ asset(p.main_list_image|no_image_product, 'save_image') }}"><h3>{{ p.name }}</h3><div class="price">{{  p.getPrice02IncTaxMin|price}}円</div></a></li>
  16.             {% endfor %}
  17.             {% endif %}
  18.   </ul>  
  19.     <div class="to-product-list"><h3><a href="{{ url('product_list') }}?category_id=18">送料無料の商品はこちら</a></h3></div>