{% set cat_id = cat_id_deliver %}
{% set Products = get_category_product(cat_id,6) %}
{% if Products|length > 0 %}
<section class="deliver">
<div class="heading">
<div class="eng">Delivered</div>
<h2>実際にお届けした商品</h2>
<div class="text">
<p>
これまでお客様に実際にお届けした商品です。<br>ギフトに贈る際にもご参考になさってください。
</p>
</div>
</div>
<div class="content">
<ul>
{% for Product in Products %}
{% if Product|length > 0 %}
{% endif %}
<li>
{% set change_image_size = change_image_size( asset(Product.main_list_image|no_image_product, 'save_image'),280,280 ) %} {# サムネ画像のサイズ変更 #}
<a href="{{ url('product_detail', {'id': Product.id}) }}">
<div class="image">
<img src="{{ change_image_size }}" alt="">
</div>
<div class="catch">
<div class="price">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</div>
<div class="title">{{ Product.name }}</div>
</div>
</a>
</li>
{% endfor %}
</ul>
<div class=" common_btn">
<a href="{{url('product_list')}}?category_id={{cat_id}}">商品一覧<span></span></a>
</div>
</div>
</section>
{% else %}
<div class="none_recommend" style="padding-bottom: 150px;"></div>
{% endif %}