{#
* This file is part of the Recommend Product plugin
*
* Copyright (C) EC-CUBE CO.,LTD. All Rights Reserved.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
#}
{% set recommend_products = repository('Plugin\\Recommend42\\Entity\\RecommendProduct').getRecommendProduct %}
<!-- ▼item_list▼ -->
<section class="l-blockRole">
<div class="u-cts">
<div class="u-cts__inner">
<h3 class="c-h3__title--a">この商品を見ている人におすすめ</h3>
<ul class="p-recommendList c-list--b">
{% for RecommendProduct in recommend_products %}
<li>
<a href="{{ url('product_detail', {'id': RecommendProduct.Product.id}) }}" class="c-button--f" target="_blank">
<div class="image">
<img src="{{ asset(RecommendProduct.Product.mainFileName|no_image_product, "save_image") }}" alt="{{ RecommendProduct.Product.name }}" loading="lazy">
{# <span class="tag">送料無料</span> #}
</div>
{# <p>{{ RecommendProduct.comment|raw|nl2br }}</p> #}
<div class="body">
<div class="box-left">
<p class="brand">Pamouna</p>
<h4 class="name">{{ RecommendProduct.Product.name }}</h4>
<p class="price">
{% if RecommendProduct.Product.hasProductClass %}
{% if RecommendProduct.Product.getPrice02Min == RecommendProduct.Product.getPrice02Max %}
{{ RecommendProduct.Product.getPrice02IncTaxMin|price }}
{% else %}
{{ RecommendProduct.Product.getPrice02IncTaxMin|price }} ~ {{ RecommendProduct.Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ RecommendProduct.Product.getPrice02IncTaxMin|price }}
{% endif %}
</p>
</div>
</div>
</a>
</li>
{% endfor %}
</li>
</ul>
</div>
</div>
<!-- / --></section>
<!-- ▲item_list▲ -->