{#
* 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="pickup">
<div class="inner">
<h2 class="section__heading --center">Pick up<span class="section__sub-heading">ピックアップ</span>
</h2>
<ul class="pickup__list">
{% for RecommendProduct in recommend_products %}
<li class="pickup__item">
<a href="{{ url('product_detail', {'id': RecommendProduct.Product.id}) }}">
<div class="pickup__thumb">
<img src="{{ asset(RecommendProduct.Product.mainFileName|no_image_product, "save_image") }}">
</div>
<div class="pickup__body">
<p class="pickup__name">{{ RecommendProduct.Product.name }}</p>
<p class="pickup__price">{{ RecommendProduct.Product.getPrice02IncTaxMax|price }}<span>(税込)</span></p>
<ul class="p-tags pickup__tags">
{% for Tag in RecommendProduct.Product.Tags %}
<li class="p-tag">{{Tag.name}}</li>
{% endfor %}
</ul>
</div>
</a>
</li>
{% endfor %}
</ul>
<div class="p-button pickup__button">
<a href="{{ url('product_list' )}}" class="p-button__link">
<span class="p-button__arrow">
<svg class="p-button__icon --before">
<use xlink:href="/html/user_data/assets/img/symbol-defs.svg#icon-arrow_link"></use>
</svg>
<svg class="p-button__icon --after">
<use xlink:href="/html/user_data/assets/img/symbol-defs.svg#icon-arrow_link"></use>
</svg>
</span>
<span class="p-button__text">商品一覧</span>
</a>
</div>
</div>
</section>
<!-- ▲item_list▲ -->