<div class="top-products-title">
<div class="icon"><img src="{{ asset('assets/img/common/top-crown-icon.png') }}" alt=""></div><div class="ttl green mincho">いせやのおすすめ</div>
</div>
{% set recommend_products = repository('Plugin\\Recommend42\\Entity\\RecommendProduct').getRecommendProduct %}
{% set cnt="1" %}
<ul class="div3">
{% for RecommendProduct in recommend_products %}
{% set prizename="assets/img/common/top-icon_prize" ~ cnt ~ ".png" %}
<li><div class="prize-icon"><img src="{{ asset( prizename ) }}" alt=""></div>
<a href="{{ url('product_detail', {'id': RecommendProduct.Product.id}) }}"><img src="{{ asset(RecommendProduct.Product.mainFileName|no_image_product, "save_image") }}"><p>{{ RecommendProduct.comment|raw|purify|nl2br }}</p>
<h3>{{ RecommendProduct.Product.name }}</h3><div class="price">{{ RecommendProduct.Product.getPrice02IncTaxMin|price }}</div></a></li>
{% set cnt = cnt +1 %}
{% endfor %}
</ul>
<div class="to-product-list"><h5><a href="{{ url('product_list') }}">お買い物はこちらから</a></h5><h3><a href="{{ url('product_list') }}">いせやの商品一覧</a></h3></div>
<!-- ▼item_list▼
<div class="ec-shelfRole">
<ul class="ec-shelfGrid" "div3">
{% set cnt=1 %}
{% for RecommendProduct in recommend_products %}
<li class="ec-shelfGrid__item"><div class="prize-icon"><img src="{{ asset('assets/img/common/top-icon_prize{{ cnt }}.png') }}" alt=""></div>
<a href="{{ url('product_detail', {'id': RecommendProduct.Product.id}) }}">
<img src="{{ asset(RecommendProduct.Product.mainFileName|no_image_product, "save_image") }}">
<p>{{ RecommendProduct.comment|raw|purify|nl2br }}</p>
<dl>
<dt class="item_name">{{ RecommendProduct.Product.name }}</dt>
<dd class="item_price">
{% if RecommendProduct.Product.hasProductClass %}
{% if RecommendProduct.Product.getPrice02Min == RecommendProduct.Product.getPrice02Max %}
<div class="price"> {{ RecommendProduct.Product.getPrice02IncTaxMin|price }}</div>
{% else %}
<div class="price"> {{ RecommendProduct.Product.getPrice02IncTaxMin|price }} ~ {{ RecommendProduct.Product.getPrice02IncTaxMax|price }}</div>
{% endif %}
{% else %}
<div class="price"> {{ RecommendProduct.Product.getPrice02IncTaxMin|price }}</div>
{% endif %}
</dd>
</dl>
</a>
</li>
{% endfor %}
</ul>
</div>
-->
<!-- ▲item_list▲ -->