{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'product_page' %}
{# style #}
{% block stylesheet %}
<link rel="stylesheet" href="{{ asset('assets/css/product-list.css') }}">
{% endblock %}
{% block javascript %}{% endblock %}
{% block main %}
<body>
<div
class="contact_wrapper body-section-ui">
<!-- breadcrumb -->
<nav class="breadcrumb" aria-label="パンくずリスト">
<a class="breadcrumb__item" href="{{ url('homepage') }}">ホーム</a>
<img class="breadcrumb__separator" src="{{ asset('assets/img/default/icons/icon-breadcrumb-separator.svg') }}" alt="" width="12" height="12"/>
<span class="breadcrumb__item breadcrumb__item--current">備長炭一覧</span>
</nav>
<div
class="container-1200">
<!-- content -->
<div class="product-list-wrapper">
<div class="product-list" id="product-list">
{% for Product in pagination %}
<a href="{{ url('product_detail', {'id': Product.id}) }}" class="product-card">
<div class="product-card__link">
<div class="product-card__image">
<img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}" />
</div>
<div class="product-card__info">
<div class="product-card__badge">{{ Product.name }}</div>
<div class="product-card__details">
<p class="product-card__price">
<span class="product-card__price-main">
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
</span>
<span class="product-card__price-tax">(税抜 {{ Product.getPrice02Min|price }}円)</span>
</p>
<img class="product-card__arrow" src="{{ asset('assets/img/default/icons/icon-product-arrow.svg') }}" alt="" width="24" height="24" />
</div>
</div>
</div>
</a>
{% endfor %}
</div>
<!-- pagination -->
{% include "pager.twig" with {'pages': pagination.paginationData} %}
</div>
</div>
</div>
</body>
{% endblock %}