<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Product/list.twig */
class __TwigTemplate_3e45a0d171e8c00d34bccb2b7057da454cd3ce5a86481d60fa1a7535f9ef64a0 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/list.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/list.twig"));
// line 13
$context["body_class"] = "product_page product_list";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Product/list.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 15
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 16
echo " <script>
eccube.productsClassCategories = {
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 18, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 19
echo " \"";
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 19), "js"), "html", null, true);
echo "\": ";
echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 19) == false)) {
echo ", ";
}
// line 20
echo " ";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 21
echo " };
\$(function() {
// 表示件数を変更
\$('.disp-number').change(function() {
var dispNumber = \$(this).val();
\$('#disp_number').val(dispNumber);
\$('#pageno').val(1);
\$(\"#form1\").submit();
});
// 並び順を変更
\$('.order-by').change(function() {
var orderBy = \$(this).val();
\$('#orderby').val(orderBy);
\$('#pageno').val(1);
\$(\"#form1\").submit();
});
// 複数カテゴリ検索用のパラメータ
\$('#search1').on('submit', function(){
var category = [];
\$('.category_ids:checked').each(function(){
category.push(\$(this).val());
});
var brand = [];
\$('.brand_ids:checked').each(function(){
brand.push(\$(this).val());
});
var taste = [];
\$('.taste_ids:checked').each(function(){
taste.push(\$(this).val());
});
\$('[name=category_ids]').val(category.join('-'));
\$('[name=brand_ids]').val(brand.join('-'));
\$('[name=taste_ids]').val(taste.join('-'));
});
//
\$('.search_modal_open').on('click', function(){
\$('.search_modal_wrap').addClass('on');
});
\$('.search_modal_close').on('click', function(){
\$('.search_modal_wrap').removeClass('on');
});
//
\$('.search_modal .accordion dt').on('click', function(){
\$(this).toggleClass('on');
});
\$('.add-cart').on('click', function(e) {
var \$form = \$(this).parents('li').find('form');
// 個数フォームのチェック
var \$quantity = \$form.parent().find('.quantity');
if (\$quantity.val() < 1) {
\$quantity[0].setCustomValidity('";
// line 88
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
echo "');
setTimeout(function() {
loadingOverlay('hide');
}, 100);
return true;
} else {
\$quantity[0].setCustomValidity('');
}
e.preventDefault();
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function() {
\$('#ec-modal-header').html(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: '";
// line 116
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
echo "',
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function(data) {
alert('";
// line 123
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html", null, true);
echo "');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-wrap').on('click', function(e) {
// モーダル内の処理は外側にバブリングさせない
e.stopPropagation();
});
\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 141
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 142
echo " ";
if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["search_form"] ?? null), "vars", [], "any", false, true, false, 142), "value", [], "any", false, true, false, 142), "category_id", [], "any", false, true, false, 142), "id", [], "any", true, true, false, 142)) {
// line 143
echo " ";
echo twig_include($this->env, $context, (("Block/category" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 143, $this->source); })()), "vars", [], "any", false, false, false, 143), "value", [], "any", false, false, false, 143), "category_id", [], "any", false, false, false, 143), "id", [], "any", false, false, false, 143)) . ".twig"), array(), true, true);
echo "
";
}
// line 145
echo " ";
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 145, $this->source); })()), "category_id", [], "any", false, false, false, 145), "vars", [], "any", false, false, false, 145), "errors", [], "any", false, false, false, 145)) > 0)) {
// line 146
echo " <div class=\"ec-searchnavRole\">
<p class=\"errormsg text-danger\">";
// line 147
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html", null, true);
echo "</p>
</div>
";
} else {
// line 150
echo " <div class=\"ec-searchnavRole\">
<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
";
// line 152
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 152, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 153
echo " <input type=\"hidden\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 153), "id", [], "any", false, false, false, 153), "html", null, true);
echo "\"
name=\"";
// line 154
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 154), "full_name", [], "any", false, false, false, 154), "html", null, true);
echo "\"
";
// line 155
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 155), "value", [], "any", false, false, false, 155))) {
echo "value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 155), "value", [], "any", false, false, false, 155), "html", null, true);
echo "\" ";
}
echo "/>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 157
echo " </form>
<div class=\"search_params_wrap\">
<div class=\"box1\">
<div class=\"title\">現在の検索条件</div>
<ul class=\"params\">
";
// line 163
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["s_search"]) || array_key_exists("s_search", $context) ? $context["s_search"] : (function () { throw new RuntimeError('Variable "s_search" does not exist.', 163, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["dat"]) {
// line 164
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dat"], "link", [], "any", false, false, false, 164), "html", null, true);
echo "\"><i class=\"fa-solid fa-xmark\"></i>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["dat"], "name", [], "any", false, false, false, 164), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['dat'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 166
echo " </ul>
</div>
<div class=\"box2\">
<div class=\"search_btn\">
<a href=\"javascript:void(0);\" class=\"search_modal_open\">商品を絞り込む</a>
</div>
</div>
</div>
<div class=\"\">
</div>
";
// line 199
echo "
<div class=\"ec-searchnavRole__infos\">
<div class=\"ec-searchnavRole__counter\">
";
// line 203
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 203, $this->source); })()), "totalItemCount", [], "any", false, false, false, 203) > 0)) {
// line 204
echo " ";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>", ["%count%" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 204, $this->source); })()), "totalItemCount", [], "any", false, false, false, 204)]);
echo "
";
} else {
// line 206
echo " <span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html", null, true);
echo "</span>
";
}
// line 208
echo " </div>
";
// line 209
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 209, $this->source); })()), "totalItemCount", [], "any", false, false, false, 209) > 0)) {
// line 210
echo " <div class=\"ec-searchnavRole__actions\">
<div class=\"ec-select\">
";
// line 212
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["disp_number_form"]) || array_key_exists("disp_number_form", $context) ? $context["disp_number_form"] : (function () { throw new RuntimeError('Variable "disp_number_form" does not exist.', 212, $this->source); })()), 'widget', ["id" => "", "attr" => ["class" => "disp-number"]]);
echo "
";
// line 213
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["order_by_form"]) || array_key_exists("order_by_form", $context) ? $context["order_by_form"] : (function () { throw new RuntimeError('Variable "order_by_form" does not exist.', 213, $this->source); })()), 'widget', ["id" => "", "attr" => ["class" => "order-by"]]);
echo "
</div>
</div>
";
}
// line 217
echo " </div>
</div>
";
// line 219
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 219, $this->source); })()), "totalItemCount", [], "any", false, false, false, 219) > 0)) {
// line 220
echo " <div class=\"ec-shelfRole\">
<ul class=\"ec-shelfGrid\">
";
// line 222
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 222, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 223
echo " <li class=\"ec-shelfGrid__item\">
<a href=\"";
// line 224
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 224)]), "html", null, true);
echo "\">
<div class=\"ec-shelfGrid__item-image\">
<img src=\"";
// line 226
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "main_list_image", [], "any", false, false, false, 226)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 226), "html", null, true);
echo "\" loading=\"lazy\">
<ul class=\"color-list\">
";
// line 228
echo twig_get_attribute($this->env, $this->source, $context["Product"], "getColorsHTML", [], "any", false, false, false, 228);
echo "
</ul>
";
// line 230
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "stock_find", [], "any", false, false, false, 230) == false)) {
// line 231
echo " <p class=\"list_soldout\">sold out</p>
";
}
// line 233
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["Product"], "getSaleIcon", [], "any", false, false, false, 233);
echo "
</div>
";
// line 242
echo " ";
echo twig_include($this->env, $context, "@DesignTag4/tag_list.twig", array(), true, true);
echo "
<p class=\"ec-shelfGrid__item-name\">";
// line 243
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 243), "html", null, true);
echo "</p>
";
// line 244
if (twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, false, 244)) {
// line 245
echo " <p>";
echo twig_nl2br(twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, false, 245));
echo "</p>
";
}
// line 247
echo " <p class=\"price02-default\">
";
// line 248
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, false, 248)) {
// line 249
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 249) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, false, 249))) {
// line 250
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 250)), "html", null, true);
echo "
";
} else {
// line 252
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 252)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 252)), "html", null, true);
echo "
";
}
// line 254
echo " ";
} else {
// line 255
echo " ";
// line 256
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["Product"], "getSalePrice", [], "any", false, false, false, 256);
echo "
";
}
// line 258
echo " </p>
</a>
</li>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 262
echo " </ul>
</div>
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
// line 267
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html", null, true);
echo "\" alt=\"\"/></span></span>
<div id=\"ec-modal-header\" class=\"text-center\">";
// line 268
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html", null, true);
echo "</div>
<div class=\"ec-modal-box\">
<div class=\"ec-role\">
<span class=\"ec-inlineBtn--cancel\">";
// line 271
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html", null, true);
echo "</span>
<a href=\"";
// line 272
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\" class=\"ec-inlineBtn--action\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
</div>
<div class=\"ec-pagerRole\">
";
// line 279
$this->loadTemplate("pager.twig", "Product/list.twig", 279)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 279, $this->source); })()), "paginationData", [], "any", false, false, false, 279)]));
// line 280
echo " </div>
";
}
// line 282
echo " ";
}
// line 283
echo "
<!------**** modal search ****------>
<div class=\"search_modal_wrap\">
<div class=\"search_modal\">
<div class=\"close_btn\"><a href=\"javascript:void(0);\" class=\"search_modal_close\"><i class=\"fas fa-times\"></i></a></div>
<form action=\"?\" method=\"get\" id=\"search1\">
<div class=\"search_box\">
<h2>カテゴリ</h2>
<input type=\"hidden\" name=\"category_ids\" value=\"\">
<input type=\"hidden\" name=\"brand_ids\" value=\"\">
<input type=\"hidden\" name=\"taste_ids\" value=\"\">
";
// line 297
$context["Categories"] = twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('repository')->getCallable(), ["Eccube\\Entity\\Category"]), "getList", [], "method", false, false, false, 297);
// line 298
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 298, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 299
echo " <dl class=\"accordion\">
<dt><img src=\"";
// line 300
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/icons/"), "html", null, true);
echo "category";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 300), "html", null, true);
echo ".png\" alt=\"\" width=\"30\"><span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "name", [], "any", false, false, false, 300), "html", null, true);
echo "</span></dt>
";
// line 303
echo " <dd>
<ul class=\"checkbox\">
";
// line 305
$context["checked"] = ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 305), (isset($context["s_category_ids"]) || array_key_exists("s_category_ids", $context) ? $context["s_category_ids"] : (function () { throw new RuntimeError('Variable "s_category_ids" does not exist.', 305, $this->source); })()))) ? ("checked") : (""));
// line 306
echo " <li><label><input type=\"checkbox\" class=\"category_ids\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 306), "html", null, true);
echo "\" ";
echo twig_escape_filter($this->env, (isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 306, $this->source); })()), "html", null, true);
echo "><span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "name", [], "any", false, false, false, 306), "html", null, true);
echo "すべて</span></label></li><!--すべてを選択-->
";
// line 307
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Category"], "children", [], "any", false, false, false, 307));
foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
// line 308
echo " ";
$context["checked"] = ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["ChildCategory"], "id", [], "any", false, false, false, 308), (isset($context["s_category_ids"]) || array_key_exists("s_category_ids", $context) ? $context["s_category_ids"] : (function () { throw new RuntimeError('Variable "s_category_ids" does not exist.', 308, $this->source); })()))) ? ("checked") : (""));
// line 309
echo " <li><label><input type=\"checkbox\" class=\"category_ids\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ChildCategory"], "id", [], "any", false, false, false, 309), "html", null, true);
echo "\" ";
echo twig_escape_filter($this->env, (isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 309, $this->source); })()), "html", null, true);
echo "><span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ChildCategory"], "name", [], "any", false, false, false, 309), "html", null, true);
echo "</span></label></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ChildCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 311
echo " </ul>
</dd>
";
// line 314
echo " </dl>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 316
echo " </div>
<div class=\"search_box\">
<h2>ブランド</h2>
";
// line 319
$context["Brands"] = twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('repository')->getCallable(), ["Plugin\\BrandManager\\Entity\\Brand"]), "getList", [], "method", false, false, false, 319);
// line 320
echo " <dl class=\"accordion\">
<ul class=\"checkbox\">
";
// line 322
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Brands"]) || array_key_exists("Brands", $context) ? $context["Brands"] : (function () { throw new RuntimeError('Variable "Brands" does not exist.', 322, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Brand"]) {
// line 323
echo " ";
$context["checked"] = ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["Brand"], "id", [], "any", false, false, false, 323), (isset($context["s_brand_ids"]) || array_key_exists("s_brand_ids", $context) ? $context["s_brand_ids"] : (function () { throw new RuntimeError('Variable "s_brand_ids" does not exist.', 323, $this->source); })()))) ? ("checked") : (""));
// line 324
echo " <li><label><input type=\"checkbox\" class=\"brand_ids\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Brand"], "id", [], "any", false, false, false, 324), "html", null, true);
echo "\" ";
echo twig_escape_filter($this->env, (isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 324, $this->source); })()), "html", null, true);
echo "><span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Brand"], "name", [], "any", false, false, false, 324), "html", null, true);
echo "</span></label></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Brand'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 326
echo " </ul>
</dl>
</div>
<div class=\"search_box\">
<h2>テイスト</h2>
";
// line 331
$context["Tastes"] = twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('repository')->getCallable(), ["Plugin\\TasteManager\\Entity\\Taste"]), "getList", [], "method", false, false, false, 331);
// line 332
echo " <dl class=\"accordion\">
<ul class=\"checkbox\">
";
// line 334
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Tastes"]) || array_key_exists("Tastes", $context) ? $context["Tastes"] : (function () { throw new RuntimeError('Variable "Tastes" does not exist.', 334, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["Taste"]) {
// line 335
echo " ";
$context["checked"] = ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["Taste"], "id", [], "any", false, false, false, 335), (isset($context["s_taste_ids"]) || array_key_exists("s_taste_ids", $context) ? $context["s_taste_ids"] : (function () { throw new RuntimeError('Variable "s_taste_ids" does not exist.', 335, $this->source); })()))) ? ("checked") : (""));
// line 336
echo " <li><label><input type=\"checkbox\" class=\"taste_ids\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Taste"], "id", [], "any", false, false, false, 336), "html", null, true);
echo "\" ";
echo twig_escape_filter($this->env, (isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 336, $this->source); })()), "html", null, true);
echo "><span>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Taste"], "name", [], "any", false, false, false, 336), "html", null, true);
echo "</span></label></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Taste'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 338
echo " </ul>
</dl>
</div>
<div class=\"search_box\">
<h2>キーワード</h2>
<dl class=\"keyword\">
";
// line 345
echo " <dd>
<input type=\"text\" name=\"name\" value=\"";
// line 346
echo twig_escape_filter($this->env, (isset($context["s_name"]) || array_key_exists("s_name", $context) ? $context["s_name"] : (function () { throw new RuntimeError('Variable "s_name" does not exist.', 346, $this->source); })()), "html", null, true);
echo "\" placeholder=\"キーワード …\">
";
// line 348
echo " </dd>
</dl>
</div>
<div class=\"search_btns\">
<input type=\"submit\" value=\"この条件で検索\" class=\"btn btn-black\">
<input type=\"reset\" value=\"条件をクリア\" name=\"reset\" class=\"btn btn-mono\">
";
// line 357
echo " </div>
</form>
</div>
</div>
<!-- -->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Product/list.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 727 => 357, 718 => 348, 714 => 346, 711 => 345, 703 => 338, 690 => 336, 687 => 335, 683 => 334, 679 => 332, 677 => 331, 670 => 326, 657 => 324, 654 => 323, 650 => 322, 646 => 320, 644 => 319, 639 => 316, 632 => 314, 628 => 311, 615 => 309, 612 => 308, 608 => 307, 599 => 306, 597 => 305, 593 => 303, 584 => 300, 581 => 299, 576 => 298, 574 => 297, 558 => 283, 555 => 282, 551 => 280, 549 => 279, 537 => 272, 533 => 271, 527 => 268, 523 => 267, 516 => 262, 499 => 258, 493 => 256, 491 => 255, 488 => 254, 480 => 252, 474 => 250, 471 => 249, 469 => 248, 466 => 247, 460 => 245, 458 => 244, 454 => 243, 449 => 242, 443 => 233, 439 => 231, 437 => 230, 432 => 228, 425 => 226, 420 => 224, 417 => 223, 400 => 222, 396 => 220, 394 => 219, 390 => 217, 383 => 213, 379 => 212, 375 => 210, 373 => 209, 370 => 208, 364 => 206, 358 => 204, 356 => 203, 350 => 199, 335 => 166, 324 => 164, 320 => 163, 312 => 157, 300 => 155, 296 => 154, 291 => 153, 287 => 152, 283 => 150, 277 => 147, 274 => 146, 271 => 145, 265 => 143, 262 => 142, 252 => 141, 225 => 123, 215 => 116, 184 => 88, 115 => 21, 101 => 20, 93 => 19, 76 => 18, 72 => 16, 62 => 15, 51 => 11, 49 => 13, 36 => 11,);
}
public function getSourceContext()
{
return new Source("{#
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 product_list' %}
{% block javascript %}
<script>
eccube.productsClassCategories = {
{% for Product in pagination %}
\"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
{% endfor %}
};
\$(function() {
// 表示件数を変更
\$('.disp-number').change(function() {
var dispNumber = \$(this).val();
\$('#disp_number').val(dispNumber);
\$('#pageno').val(1);
\$(\"#form1\").submit();
});
// 並び順を変更
\$('.order-by').change(function() {
var orderBy = \$(this).val();
\$('#orderby').val(orderBy);
\$('#pageno').val(1);
\$(\"#form1\").submit();
});
// 複数カテゴリ検索用のパラメータ
\$('#search1').on('submit', function(){
var category = [];
\$('.category_ids:checked').each(function(){
category.push(\$(this).val());
});
var brand = [];
\$('.brand_ids:checked').each(function(){
brand.push(\$(this).val());
});
var taste = [];
\$('.taste_ids:checked').each(function(){
taste.push(\$(this).val());
});
\$('[name=category_ids]').val(category.join('-'));
\$('[name=brand_ids]').val(brand.join('-'));
\$('[name=taste_ids]').val(taste.join('-'));
});
//
\$('.search_modal_open').on('click', function(){
\$('.search_modal_wrap').addClass('on');
});
\$('.search_modal_close').on('click', function(){
\$('.search_modal_wrap').removeClass('on');
});
//
\$('.search_modal .accordion dt').on('click', function(){
\$(this).toggleClass('on');
});
\$('.add-cart').on('click', function(e) {
var \$form = \$(this).parents('li').find('form');
// 個数フォームのチェック
var \$quantity = \$form.parent().find('.quantity');
if (\$quantity.val() < 1) {
\$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
setTimeout(function() {
loadingOverlay('hide');
}, 100);
return true;
} else {
\$quantity[0].setCustomValidity('');
}
e.preventDefault();
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function() {
\$('#ec-modal-header').html(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: '{{ url('block_cart') }}',
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function(data) {
alert('{{ 'カートへの追加に失敗しました。'|trans }}');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-wrap').on('click', function(e) {
// モーダル内の処理は外側にバブリングさせない
e.stopPropagation();
});
\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
{% endblock %}
{% block main %}
{% if search_form.vars.value.category_id.id is defined %}
{{ include('Block/category'~search_form.vars.value.category_id.id~'.twig', ignore_missing = true) }}
{% endif %}
{% if search_form.category_id.vars.errors|length > 0 %}
<div class=\"ec-searchnavRole\">
<p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
</div>
{% else %}
<div class=\"ec-searchnavRole\">
<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
{% for item in search_form %}
<input type=\"hidden\" id=\"{{ item.vars.id }}\"
name=\"{{ item.vars.full_name }}\"
{% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
{% endfor %}
</form>
<div class=\"search_params_wrap\">
<div class=\"box1\">
<div class=\"title\">現在の検索条件</div>
<ul class=\"params\">
{% for dat in s_search %}
<li><a href=\"{{ dat.link }}\"><i class=\"fa-solid fa-xmark\"></i>{{ dat.name }}</a></li>
{% endfor %}
</ul>
</div>
<div class=\"box2\">
<div class=\"search_btn\">
<a href=\"javascript:void(0);\" class=\"search_modal_open\">商品を絞り込む</a>
</div>
</div>
</div>
<div class=\"\">
</div>
{#
<div class=\"ec-searchnavRole__topicpath\">
<ol class=\"ec-topicpath\">
<li class=\"ec-topicpath__item\"><a href=\"{{ url('product_list') }}\">{{ '全て'|trans }}</a>
</li>
{% if Category is not null %}
{% for Path in Category.path %}
<li class=\"ec-topicpath__divider\">|</li>
<li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\"><a
href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a>
</li>
{% endfor %}
{% endif %}
{% if search_form.vars.value and search_form.vars.value.name %}
<li class=\"ec-topicpath__divider\">|</li>
<li class=\"ec-topicpath__item\">{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}</li>
{% endif %}
</ol>
</div>
#}
<div class=\"ec-searchnavRole__infos\">
<div class=\"ec-searchnavRole__counter\">
{% if pagination.totalItemCount > 0 %}
{{ '<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
{% else %}
<span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
{% endif %}
</div>
{% if pagination.totalItemCount > 0 %}
<div class=\"ec-searchnavRole__actions\">
<div class=\"ec-select\">
{{ form_widget(disp_number_form, {'id': '', 'attr': {'class': 'disp-number'}}) }}
{{ form_widget(order_by_form, {'id': '', 'attr': {'class': 'order-by'}}) }}
</div>
</div>
{% endif %}
</div>
</div>
{% if pagination.totalItemCount > 0 %}
<div class=\"ec-shelfRole\">
<ul class=\"ec-shelfGrid\">
{% for Product in pagination %}
<li class=\"ec-shelfGrid__item\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<div class=\"ec-shelfGrid__item-image\">
<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" loading=\"lazy\">
<ul class=\"color-list\">
{{ Product.getColorsHTML|raw }}
</ul>
{% if Product.stock_find == false %}
<p class=\"list_soldout\">sold out</p>
{% endif %}
{{ Product.getSaleIcon|raw }}
</div>
{#<ul class=\"ec-shelfRole__tags\">
{% for Tag in Product.ProductTag %}
{% if Tag %}
<li class=\"ec-shelfRole__tag\">{{ Tag.Tag }}</li>
{% endif %}
{% endfor %}
</ul>#}
{{ include('@DesignTag4/tag_list.twig', ignore_missing = true) }}
<p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
{% if Product.description_list %}
<p>{{ Product.description_list|raw|nl2br }}</p>
{% endif %}
<p class=\"price02-default\">
{% if Product.hasProductClass %}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{#{{ Product.getPrice02IncTaxMin|price }}#}
{{ Product.getSalePrice|raw }}
{% endif %}
</p>
</a>
</li>
{% endfor %}
</ul>
</div>
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
<div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
<div class=\"ec-modal-box\">
<div class=\"ec-role\">
<span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
<a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
</div>
</div>
</div>
</div>
</div>
<div class=\"ec-pagerRole\">
{% include \"pager.twig\" with {'pages': pagination.paginationData} %}
</div>
{% endif %}
{% endif %}
<!------**** modal search ****------>
<div class=\"search_modal_wrap\">
<div class=\"search_modal\">
<div class=\"close_btn\"><a href=\"javascript:void(0);\" class=\"search_modal_close\"><i class=\"fas fa-times\"></i></a></div>
<form action=\"?\" method=\"get\" id=\"search1\">
<div class=\"search_box\">
<h2>カテゴリ</h2>
<input type=\"hidden\" name=\"category_ids\" value=\"\">
<input type=\"hidden\" name=\"brand_ids\" value=\"\">
<input type=\"hidden\" name=\"taste_ids\" value=\"\">
{% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
{% for Category in Categories %}
<dl class=\"accordion\">
<dt><img src=\"{{ asset('img/icons/') }}category{{ Category.id }}.png\" alt=\"\" width=\"30\"><span>{{ Category.name }}</span></dt>
{#{% if Category.children|length > 0 %}#}
<dd>
<ul class=\"checkbox\">
{% set checked = (Category.id in s_category_ids)? 'checked':'' %}
<li><label><input type=\"checkbox\" class=\"category_ids\" value=\"{{ Category.id }}\" {{ checked }}><span>{{ Category.name }}すべて</span></label></li><!--すべてを選択-->
{% for ChildCategory in Category.children %}
{% set checked = (ChildCategory.id in s_category_ids)? 'checked':'' %}
<li><label><input type=\"checkbox\" class=\"category_ids\" value=\"{{ ChildCategory.id }}\" {{ checked }}><span>{{ ChildCategory.name }}</span></label></li>
{% endfor %}
</ul>
</dd>
{#{% endif %}#}
</dl>
{% endfor %}
</div>
<div class=\"search_box\">
<h2>ブランド</h2>
{% set Brands = repository('Plugin\\\\BrandManager\\\\Entity\\\\Brand').getList() %}
<dl class=\"accordion\">
<ul class=\"checkbox\">
{% for Brand in Brands %}
{% set checked = (Brand.id in s_brand_ids)? 'checked':'' %}
<li><label><input type=\"checkbox\" class=\"brand_ids\" value=\"{{ Brand.id }}\" {{ checked }}><span>{{ Brand.name }}</span></label></li>
{% endfor %}
</ul>
</dl>
</div>
<div class=\"search_box\">
<h2>テイスト</h2>
{% set Tastes = repository('Plugin\\\\TasteManager\\\\Entity\\\\Taste').getList() %}
<dl class=\"accordion\">
<ul class=\"checkbox\">
{% for Taste in Tastes %}
{% set checked = (Taste.id in s_taste_ids)? 'checked':'' %}
<li><label><input type=\"checkbox\" class=\"taste_ids\" value=\"{{ Taste.id }}\" {{ checked }}><span>{{ Taste.name }}</span></label></li>
{% endfor %}
</ul>
</dl>
</div>
<div class=\"search_box\">
<h2>キーワード</h2>
<dl class=\"keyword\">
{#<dt>キーワード検索</dt>#}
<dd>
<input type=\"text\" name=\"name\" value=\"{{ s_name }}\" placeholder=\"キーワード …\">
{#<button class=\"keyword-btn\"><i class=\"fa-solid fa-magnifying-glass\"></i></button>#}
</dd>
</dl>
</div>
<div class=\"search_btns\">
<input type=\"submit\" value=\"この条件で検索\" class=\"btn btn-black\">
<input type=\"reset\" value=\"条件をクリア\" name=\"reset\" class=\"btn btn-mono\">
{#<a href=\"javascript:void(0);\" class=\"btn btn-black\">この条件で検索</a>
<a href=\"javascript:void(0)\" class=\"btn btn-mono\">条件をクリア</a>#}
</div>
</form>
</div>
</div>
<!-- -->
{% endblock %}
", "Product/list.twig", "/home/univfukuoka3/web-srv.biz/public_html/kaiino/app/template/kaiino/Product/list.twig");
}
}