{#
This file is part of Refine
Copyright(c) 2023 Refine Co.,Ltd. All Rights Reserved.
https://www.re-fine.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% if Products %}
<section class="item_other c">
<div class="c_inner">
<h2 class="c_ttl ft_e">Recently checked</h2>
</div>
<div class="c_bg">
<ul class="item_list">
{% for Product in Products %}
<li>
<a href="{{ url('product_detail', {'id': Product.id}) }}">
<img src="{{ asset(Product.main_list_image|no_image_product, "save_image") }}" alt="{{ Product.name }}">
<dl>
<dt>{{ Product.brand }}<br>
<dt>{{ Product.name }}</dt>
<dd class="price">
{% for prdClass in Product.ProductClasses %}
{% if prdClass.ClassCategory1 is not empty %}
{% if not ("併設スタジオ利用時のみ" in prdClass.ClassCategory1.name) %}
<p>{{ prdClass.ClassCategory1.name }}<i>{{ prdClass.price01|price }}</i></p>
{% endif %}
{% endif %}
{% endfor %}
</dd>
<dd>{{ Product.number }}</dd>
</dl>
</a>
<div class="favo">
<form action="{{ url('product_add_favorite', {id:Product.id}) }}" method="post">
{% if Product.SearchWord is empty %}
<button type="submit" class="favorite" title="{{ 'お気に入りに追加'|trans }}"></button>
{% else %}
<button type="submit" class="favorite done" disabled="disabled" title="{{ 'お気に入りに追加済です。'|trans }}"></button>
{% endif %}
</form>
</div>
</li>
{% endfor %}
</ul>
</div>
</section>
{% endif %}