var/cache/dev/twig/8e/8e0556ec27b8a90d65e8153e5b9eaeec.php line 53

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Product/list.twig */
  14. class __TwigTemplate_155986fed5eb25886e95f03c74797953 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  40.         // line 13
  41.         $context["body_class"] = "product_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Product/list.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_javascript($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  58.         // line 16
  59.         echo "    <script>
  60.         eccube.productsClassCategories = {
  61.             ";
  62.         // line 18
  63.         $context['_parent'] = $context;
  64.         $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); })()));
  65.         $context['loop'] = [
  66.           'parent' => $context['_parent'],
  67.           'index0' => 0,
  68.           'index'  => 1,
  69.           'first'  => true,
  70.         ];
  71.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  72.             $length count($context['_seq']);
  73.             $context['loop']['revindex0'] = $length 1;
  74.             $context['loop']['revindex'] = $length;
  75.             $context['loop']['length'] = $length;
  76.             $context['loop']['last'] = === $length;
  77.         }
  78.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  79.             // line 19
  80.             echo "            \"";
  81.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse19), "js"), "html"nulltrue);
  82.             echo "\": ";
  83.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  84.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse19) == false)) {
  85.                 echo ", ";
  86.             }
  87.             // line 20
  88.             echo "            ";
  89.             ++$context['loop']['index0'];
  90.             ++$context['loop']['index'];
  91.             $context['loop']['first'] = false;
  92.             if (isset($context['loop']['length'])) {
  93.                 --$context['loop']['revindex0'];
  94.                 --$context['loop']['revindex'];
  95.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  96.             }
  97.         }
  98.         $_parent $context['_parent'];
  99.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  100.         $context array_intersect_key($context$_parent) + $_parent;
  101.         // line 21
  102.         echo "        };
  103.         \$(function() {
  104.             // 表示件数を変更
  105.             \$('.disp-number').change(function() {
  106.                 var dispNumber = \$(this).val();
  107.                 \$('#disp_number').val(dispNumber);
  108.                 \$('#pageno').val(1);
  109.                 \$(\"#form1\").submit();
  110.             });
  111.             // 並び順を変更
  112.             \$('.order-by').change(function() {
  113.                 var orderBy = \$(this).val();
  114.                 \$('#orderby').val(orderBy);
  115.                 \$('#pageno').val(1);
  116.                 \$(\"#form1\").submit();
  117.             });
  118.             \$('.add-cart').on('click', function(e) {
  119.                 var \$form = \$(this).parents('li').find('form');
  120.                 // 個数フォームのチェック
  121.                 var \$quantity = \$form.parent().find('.quantity');
  122.                 if (\$quantity.val() < 1) {
  123.                     \$quantity[0].setCustomValidity('";
  124.         // line 47
  125.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  126.         echo "');
  127.                     setTimeout(function() {
  128.                         loadingOverlay('hide');
  129.                     }, 100);
  130.                     return true;
  131.                 } else {
  132.                     \$quantity[0].setCustomValidity('');
  133.                 }
  134.                 e.preventDefault();
  135.                 \$.ajax({
  136.                     url: \$form.attr('action'),
  137.                     type: \$form.attr('method'),
  138.                     data: \$form.serialize(),
  139.                     dataType: 'json',
  140.                     beforeSend: function(xhr, settings) {
  141.                         // Buttonを無効にする
  142.                         \$('.add-cart').prop('disabled', true);
  143.                     }
  144.                 }).done(function(data) {
  145.                     // レスポンス内のメッセージをalertで表示
  146.                     \$.each(data.messages, function() {
  147.                         \$('#ec-modal-header').html(this);
  148.                     });
  149.                     \$('.ec-modal').show()
  150.                     // カートブロックを更新する
  151.                     \$.ajax({
  152.                         url: '";
  153.         // line 75
  154.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  155.         echo "',
  156.                         type: 'GET',
  157.                         dataType: 'html'
  158.                     }).done(function(html) {
  159.                         \$('.ec-headerRole__cart').html(html);
  160.                     });
  161.                 }).fail(function(data) {
  162.                     alert('";
  163.         // line 82
  164.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  165.         echo "');
  166.                 }).always(function(data) {
  167.                     // Buttonを有効にする
  168.                     \$('.add-cart').prop('disabled', false);
  169.                 });
  170.             });
  171.         });
  172.         \$('.ec-modal-wrap').on('click', function(e) {
  173.             // モーダル内の処理は外側にバブリングさせない
  174.             e.stopPropagation();
  175.         });
  176.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  177.             \$('.ec-modal').hide()
  178.         });
  179.         ";
  180.         // line 99
  181.         echo "        const word = document.querySelector('#name');
  182.         word.addEventListener('input', (evt) => {
  183. \t\t\tword.textContent = evt.target.value;
  184.             \$('#search-product').submit();
  185. \t\t})
  186. \t\t//価格のslider
  187. \t\tconst range1 = document.querySelector('#range-1');
  188. \t\tconst range2 = document.querySelector('#range-2');
  189. \t\tconst startValue1 = document.querySelector('#start-value1');
  190. \t\tconst endValue2 = document.querySelector('#end-value2');
  191. \t\trange1.addEventListener('input', (evt) => {
  192. \t\t\tstartValue1.textContent = evt.target.value;
  193.             \$('#search-product').submit();
  194. \t\t})
  195. \t\trange2.addEventListener('input', (evt) => {
  196. \t\t\tendValue2.textContent = evt.target.value;
  197.             \$('#search-product').submit();
  198. \t\t})
  199. \t\tstartValue1.textContent = range1.value;
  200. \t\tendValue2.textContent = range2.value;
  201. \t\t//高さのslider
  202. \t\tconst range3 = document.querySelector('#range-3');
  203. \t\tconst range4 = document.querySelector('#range-4');
  204. \t\tconst startValue3 = document.querySelector('#start-value3');
  205. \t\tconst endValue4 = document.querySelector('#end-value4');
  206. \t\trange3.addEventListener('input', (evt) => {
  207. \t\t\tstartValue3.textContent = evt.target.value;
  208.             \$('#search-product').submit();
  209. \t\t})
  210. \t\trange4.addEventListener('input', (evt) => {
  211. \t\t\tendValue4.textContent = evt.target.value;
  212.             \$('#search-product').submit();
  213. \t\t})
  214. \t\tstartValue3.textContent = range3.value;
  215. \t\tendValue4.textContent = range4.value;
  216. \t\t//幅のslider
  217. \t\tconst range5 = document.querySelector('#range-5');
  218. \t\tconst range6 = document.querySelector('#range-6');
  219. \t\tconst startValue5 = document.querySelector('#start-value5');
  220. \t\tconst endValue6 = document.querySelector('#end-value6');
  221. \t\trange5.addEventListener('input', (evt) => {
  222. \t\t\tstartValue5.textContent = evt.target.value;
  223.             \$('#search-product').submit();
  224. \t\t})
  225. \t\trange6.addEventListener('input', (evt) => {
  226. \t\t\tendValue6.textContent = evt.target.value;
  227.             \$('#search-product').submit();
  228. \t\t})
  229. \t\tstartValue5.textContent = range5.value;
  230. \t\tendValue6.textContent = range6.value;
  231.         //初期表示は非表示
  232.         document.getElementById(\"searchBox\").style.display =\"none\";
  233.         //絞り込みボタンの背景色を制御
  234.         const search = location.search;
  235.         if (search !== \"\") {
  236.             isSelected.style.background = \"#F2F2F2\";
  237.         }
  238.         function clickBtn2(){ //検索ボックスの表示・非表示を制御
  239.             const searchBox = document.getElementById(\"searchBox\");
  240.             const isSelected = document.getElementById(\"isSelected\");
  241.             if (searchBox.style.display==\"\"){
  242.                 searchBox.style.display =\"none\";
  243.             } else{
  244.                 searchBox.style.display =\"\";
  245.             }
  246.         }
  247.     </script>
  248. ";
  249.         
  250.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  251.         
  252.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  253.     }
  254.     // line 187
  255.     public function block_stylesheet($context, array $blocks = [])
  256.     {
  257.         $macros $this->macros;
  258.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  259.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  260.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  261.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  262.         // line 188
  263.         echo "\t<style>
  264.         .ec-modal {
  265.             display: none;
  266.             position: fixed;
  267.             top: 0;
  268.             left: 0;
  269.             z-index: 99999;
  270.             width: 100%;
  271.             height: 100%;
  272.         }
  273.         .ec-modal.small {
  274.             width: 30%;
  275.         }
  276.         .ec-modal.full {
  277.             width: 100%;
  278.             height: 100%;
  279.         }
  280.         .ec-modal .ec-modal-overlay {
  281.             display: flex;
  282.             justify-content: center;
  283.             align-items: center;
  284.             background-color: rgba(0, 0, 0, 0.3);
  285.             width: 100%;
  286.             height: 100%;
  287.         }
  288.         .ec-modal .ec-modal-wrap {
  289.             position: relative;
  290.             border-radius: 6px;
  291.             border: 0px;
  292.             background-color: #fff;
  293.             width: 50%;
  294.             margin: 20px;
  295.             padding: 40px 5px;
  296.         }
  297.         .ec-modal .ec-modal-close {
  298.             cursor: pointer;
  299.             position: absolute;
  300.             right: 20px;
  301.             top: 10px;
  302.             font-size: 20px;
  303.             height: 30px;
  304.             width: 20px;
  305.         }
  306.         .ec-modal .ec-modal-close:hover {
  307.             color: #4b5361;
  308.         }
  309.         .ec-modal .ec-modal-box {
  310.             text-align: center;
  311.         }
  312.         .ec-modal .ec-role {
  313.             margin-top: 20px;
  314.         }
  315. \t\t.margin {
  316.             margin: 3px;
  317.         }
  318.         .artcategory-flex {
  319. \t\t\tbackground-color: #f4f1ee;
  320. \t\t\tpadding: 5px;
  321.             margin-bottom: 30px;
  322. \t\t\tdisplay: flex;
  323. \t\t\tflex-wrap: wrap;
  324.             border-radius: 6px;
  325. \t\t} 
  326.         .category-title {
  327.             padding: 3px;
  328.             margin-left: 2%;
  329.         }
  330.         .category-title h5 {
  331.             color: black;
  332.         }
  333.         .ec-headerSearch__keywordBtn {
  334.             border-radius: 6px;
  335.         }
  336.         a {
  337.             color: black;
  338.             text-decoration: none;
  339.         }
  340.         a:hover {
  341.             color: #d5a770;
  342.             text-decoration: none;
  343.         }
  344.         .mb {
  345.             margin-bottom: 5px;
  346.         }
  347.         .img-wrap {
  348.             width: auto;
  349.             height: 300px;
  350.         }
  351.         .img-wrap img {
  352.             min-width: 250px;
  353.             width: auto;
  354.             height: 300px;
  355.             border-radius: 6px;
  356.         }
  357.         
  358.         .img {
  359.             width: auto;
  360.             height: 300px;
  361.             max-width: auto;
  362.             max-height: 300px;
  363.             object-fit: cover;
  364.         }
  365.         .ec-blockBtn--action {
  366.             display: inline-block;
  367.             margin-bottom: 0;
  368.             font-weight: bold;
  369.             text-align: center;
  370.             vertical-align: middle;
  371.             touch-action: manipulation;
  372.             cursor: pointer;
  373.             background-image: none;
  374.             border: 1px solid transparent;
  375.             white-space: nowrap;
  376.             padding: 6px 12px;
  377.             font-size: 0.875rem;
  378.             border-radius: 1.42857142;
  379.             -webkit-user-select: none;
  380.             -moz-user-select: none;
  381.             -ms-user-select: none;
  382.             user-select: none;
  383.             padding: 10px 16px;
  384.             text-decoration: none;
  385.             color: #fff;
  386.             background-color: #d5a770;
  387.             border-color: #d5a770;
  388.             display: block;
  389.             width: 100%;
  390.             height: 56px;
  391.             line-height: 56px;
  392.             padding-top: 0;
  393.             padding-bottom: 0;
  394.         }
  395.         ";
  396.         // line 334
  397.         echo "        .form-control {
  398.             display: none;
  399.         }
  400.         .form-label {
  401.             display: none;
  402.         }
  403.         .ml-20 {
  404.             margin-left: 20%;
  405.         }
  406.         .deleteIcon {
  407.             color: red;
  408.         }
  409.         .deleteIcon:hover {
  410.             color: red;
  411.         }
  412.         .product-list-flex {
  413.             display: flex;
  414.             justify-content: center;
  415.             padding: 40px;
  416.             margin: 0 auto 30px auto;
  417.             border-radius: 6px;
  418.             background-color: #F2F2F2;
  419.             max-width: 750px;
  420.         }
  421.         .pr-16 {
  422.             padding-right: 16px;
  423.         }
  424.         .skelton_btn {
  425.             width: 130px;
  426.             padding: 6px 12px;
  427.             text-align: center;
  428.             text-decoration: none;
  429.             background: #fff;
  430.         }
  431.         .skelton_btn:hover {
  432.             background: #F2F2F2;
  433.             cursor: pointer;
  434.             text-decoration: none;
  435.             border-radius: 3px;
  436.         }
  437.         @media screen and ( max-width:1035px) {
  438.             .product-list-flex {
  439.                 display: flex;
  440.             }
  441.             .slidebar-multithumb {
  442.                 width: 100%;
  443.             }
  444.             .line {
  445.                 display: none;
  446.             }
  447.             .searchWord {
  448.                 display: none;
  449.             }
  450.             .img-wrap img {
  451.                 min-width: 180px;
  452.                 width: auto;
  453.                 height: 300px;
  454.             }
  455.         }
  456.         @media screen and ( max-width:768px) {
  457.             .product-list-flex {
  458.                 display: none;
  459.             }
  460.             .skelton_btn {
  461.                 display: none;
  462.             }
  463.         }
  464.         .ec-numberInput {
  465.             display: none;
  466.         }
  467.         .product-list-description:hover {
  468.             color: black;
  469.         }
  470. \t</style>
  471. ";
  472.         
  473.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  474.         
  475.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  476.     }
  477.     // line 421
  478.     public function block_main($context, array $blocks = [])
  479.     {
  480.         $macros $this->macros;
  481.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  482.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  483.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  484.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  485.         // line 422
  486.         echo "    ";
  487.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'422$this->source); })()), "category_id", [], "any"falsefalsefalse422), "vars", [], "any"falsefalsefalse422), "errors", [], "any"falsefalsefalse422)) > 0)) {
  488.             // line 423
  489.             echo "        <div class=\"ec-searchnavRole\">
  490.             <p class=\"errormsg text-danger\">";
  491.             // line 424
  492.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  493.             echo "</p>
  494.         </div>
  495.     ";
  496.         } else {
  497.             // line 427
  498.             echo "        <div class=\"ec-searchnavRole\">
  499.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  500.                 ";
  501.             // line 429
  502.             $context['_parent'] = $context;
  503.             $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.'429$this->source); })()));
  504.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  505.                 // line 430
  506.                 echo "                    <input type=\"hidden\" id=\"";
  507.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse430), "id", [], "any"falsefalsefalse430), "html"nulltrue);
  508.                 echo "\"
  509.                            name=\"";
  510.                 // line 431
  511.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse431), "full_name", [], "any"falsefalsefalse431), "html"nulltrue);
  512.                 echo "\"
  513.                            ";
  514.                 // line 432
  515.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse432), "value", [], "any"falsefalsefalse432))) {
  516.                     echo "value=\"";
  517.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse432), "value", [], "any"falsefalsefalse432), "html"nulltrue);
  518.                     echo "\" ";
  519.                 }
  520.                 echo "/>
  521.                 ";
  522.             }
  523.             $_parent $context['_parent'];
  524.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  525.             $context array_intersect_key($context$_parent) + $_parent;
  526.             // line 434
  527.             echo "            </form>
  528.             <div class=\"ec-searchnavRole__topicpath\">
  529.                 <ol class=\"ec-topicpath\">
  530.                     ";
  531.             // line 437
  532.             if ((null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'437$this->source); })()))) {
  533.                 // line 438
  534.                 echo "                        ";
  535.                 // line 440
  536.                 echo "                        <div class=\"artcategory-flex\">
  537.                             <div class=\"category-title\"><h2 class=\"fontweight-bold gold\"><a href=\"";
  538.                 // line 441
  539.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  540.                 echo "\">";
  541.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("アート作品"), "html"nulltrue);
  542.                 echo "</a></h2></div>
  543.                         </div>
  544.                     ";
  545.             }
  546.             // line 444
  547.             echo "                    ";
  548.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'444$this->source); })()))) {
  549.                 // line 445
  550.                 echo "                        ";
  551.                 $context['_parent'] = $context;
  552.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'445$this->source); })()), "path", [], "any"falsefalsefalse445));
  553.                 foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
  554.                     // line 446
  555.                     echo "                            ";
  556.                     // line 449
  557.                     echo "                            <div class=\"artcategory-flex\">
  558.                                 <div class=\"category-title\"><h2 class=\"fontweight-bold gold\"><a href=\"";
  559.                     // line 450
  560.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  561.                     echo "?category_id=";
  562.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse450), "html"nulltrue);
  563.                     echo "\">";
  564.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "name", [], "any"falsefalsefalse450), "html"nulltrue);
  565.                     echo "</a></h2></div>
  566.                             </div>
  567.                         ";
  568.                 }
  569.                 $_parent $context['_parent'];
  570.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
  571.                 $context array_intersect_key($context$_parent) + $_parent;
  572.                 // line 453
  573.                 echo "                    ";
  574.             }
  575.             // line 454
  576.             echo "                    ";
  577.             if ((twig_get_attribute($this->env$this->sourcetwig_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.'454$this->source); })()), "vars", [], "any"falsefalsefalse454), "value", [], "any"falsefalsefalse454) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'454$this->source); })()), "vars", [], "any"falsefalsefalse454), "value", [], "any"falsefalsefalse454), "name", [], "any"falsefalsefalse454))) {
  578.                 // line 455
  579.                 echo "                        <li class=\"ec-topicpath__divider\">|</li>
  580.                         <li class=\"ec-topicpath__item\">";
  581.                 // line 456
  582.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%name%」の検索結果", ["%name%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'456$this->source); })()), "vars", [], "any"falsefalsefalse456), "value", [], "any"falsefalsefalse456), "name", [], "any"falsefalsefalse456)]), "html"nulltrue);
  583.                 echo "</li>
  584.                     ";
  585.             }
  586.             // line 458
  587.             echo "                </ol>
  588.             </div>
  589.             <div class=\"ec-searchnavRole__infos\">
  590.                 <div class=\"ec-searchnavRole__counter\">
  591.                     ";
  592.             // line 463
  593.             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.'463$this->source); })()), "totalItemCount", [], "any"falsefalsefalse463) > 0)) {
  594.                 // line 464
  595.                 echo "                        ";
  596.                 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.'464$this->source); })()), "totalItemCount", [], "any"falsefalsefalse464)]);
  597.                 echo "
  598.                     ";
  599.             } else {
  600.                 // line 466
  601.                 echo "                        <span>";
  602.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの作品は見つかりませんでした"), "html"nulltrue);
  603.                 echo "</span>
  604.                     ";
  605.             }
  606.             // line 468
  607.             echo "                </div>
  608.                 ";
  609.             // line 469
  610.             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.'469$this->source); })()), "totalItemCount", [], "any"falsefalsefalse469) > 0)) {
  611.                 // line 470
  612.                 echo "                    <div class=\"ec-searchnavRole__actions\">
  613.                         <div class=\"ec-select\">
  614.                             <a href=\"#\" class=\"skelton_btn\" id=\"isSelected\" onclick=\"clickBtn2()\">絞り込み</a>
  615.                             ";
  616.                 // line 473
  617.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'473$this->source); })()), "disp_number", [], "any"falsefalsefalse473), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  618.                 echo "
  619.                             ";
  620.                 // line 474
  621.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'474$this->source); })()), "orderby", [], "any"falsefalsefalse474), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  622.                 echo "
  623.                         </div>
  624.                     </div>
  625.                 ";
  626.             }
  627.             // line 478
  628.             echo "            </div>
  629.         </div>
  630.         <form method=\"get\" class=\"searchform\" id='search-product' action=\"";
  631.             // line 481
  632.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_list");
  633.             echo "\">
  634. \t\t\t<div class=\"product-list-flex\" id=\"searchBox\">
  635.                 <div class=\"product-list-size pr-16\">
  636. \t\t\t\t\t<div class=\"ec-headerSearch__category\">
  637.                     <div class=\"fontweight-bold\"><label for=\"range-label\">ワード</label><a class='deleteIcon' href='/products/list?name=&price_min=";
  638.             // line 485
  639.             echo twig_escape_filter($this->env, (isset($context["price_min"]) || array_key_exists("price_min"$context) ? $context["price_min"] : (function () { throw new RuntimeError('Variable "price_min" does not exist.'485$this->source); })()), "html"nulltrue);
  640.             echo "&price_max=";
  641.             echo twig_escape_filter($this->env, (isset($context["price_max"]) || array_key_exists("price_max"$context) ? $context["price_max"] : (function () { throw new RuntimeError('Variable "price_max" does not exist.'485$this->source); })()), "html"nulltrue);
  642.             echo "&size_vertical_min=";
  643.             echo twig_escape_filter($this->env, (isset($context["size_vertical_min"]) || array_key_exists("size_vertical_min"$context) ? $context["size_vertical_min"] : (function () { throw new RuntimeError('Variable "size_vertical_min" does not exist.'485$this->source); })()), "html"nulltrue);
  644.             echo "&size_vertical_max=";
  645.             echo twig_escape_filter($this->env, (isset($context["size_vertical_max"]) || array_key_exists("size_vertical_max"$context) ? $context["size_vertical_max"] : (function () { throw new RuntimeError('Variable "size_vertical_max" does not exist.'485$this->source); })()), "html"nulltrue);
  646.             echo "&size_width_min=";
  647.             echo twig_escape_filter($this->env, (isset($context["size_width_min"]) || array_key_exists("size_width_min"$context) ? $context["size_width_min"] : (function () { throw new RuntimeError('Variable "size_width_min" does not exist.'485$this->source); })()), "html"nulltrue);
  648.             echo "&size_width_max=";
  649.             echo twig_escape_filter($this->env, (isset($context["size_width_max"]) || array_key_exists("size_width_max"$context) ? $context["size_width_max"] : (function () { throw new RuntimeError('Variable "size_width_max" does not exist.'485$this->source); })()), "html"nulltrue);
  650.             echo "'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  651.                         <div class=\"ec-select ec-select_search margin-top \">
  652.                             ";
  653.             // line 487
  654.             if ((isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'487$this->source); })())) {
  655.                 // line 488
  656.                 echo "                            <input type=\"text\" name=\"name\" id=\"name\" placeholder=";
  657.                 echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'488$this->source); })()), "html"nulltrue);
  658.                 echo ">
  659.                             ";
  660.             } else {
  661.                 // line 490
  662.                 echo "                            <input type=\"text\" name=\"name\" id=\"name\">
  663.                             ";
  664.             }
  665.             // line 492
  666.             echo "                        </div>
  667.                     </div>
  668. \t\t\t\t</div>
  669. \t\t\t\t<div class=\"product-list-size\">
  670. \t\t\t\t\t<div class=\"slidebar-multithumb\">
  671.                         <div class=\"fontweight-bold mb\"><label for=\"range-label\">価格</label><a class='deleteIcon' href='/products/list?name=";
  672.             // line 498
  673.             echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'498$this->source); })()), "html"nulltrue);
  674.             echo "&price_min=0&price_max=1000000&size_vertical_min=";
  675.             echo twig_escape_filter($this->env, (isset($context["size_vertical_min"]) || array_key_exists("size_vertical_min"$context) ? $context["size_vertical_min"] : (function () { throw new RuntimeError('Variable "size_vertical_min" does not exist.'498$this->source); })()), "html"nulltrue);
  676.             echo "&size_vertical_max=";
  677.             echo twig_escape_filter($this->env, (isset($context["size_vertical_max"]) || array_key_exists("size_vertical_max"$context) ? $context["size_vertical_max"] : (function () { throw new RuntimeError('Variable "size_vertical_max" does not exist.'498$this->source); })()), "html"nulltrue);
  678.             echo "&size_width_min=";
  679.             echo twig_escape_filter($this->env, (isset($context["size_width_min"]) || array_key_exists("size_width_min"$context) ? $context["size_width_min"] : (function () { throw new RuntimeError('Variable "size_width_min" does not exist.'498$this->source); })()), "html"nulltrue);
  680.             echo "&size_width_max=";
  681.             echo twig_escape_filter($this->env, (isset($context["size_width_max"]) || array_key_exists("size_width_max"$context) ? $context["size_width_max"] : (function () { throw new RuntimeError('Variable "size_width_max" does not exist.'498$this->source); })()), "html"nulltrue);
  682.             echo "'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  683. \t\t\t\t\t\t<div class=\"flex\">
  684. \t\t\t\t\t\t\t<div><span id=\"start-value1\"></span>~</div>
  685. \t\t\t\t\t\t\t<div><span id=\"end-value2\"></span>円</div>
  686. \t\t\t\t\t\t</div>
  687. \t\t\t\t\t\t<div class=\"slidebar-multithumb-title\"></div>
  688.                         ";
  689.             // line 504
  690.             if ((isset($context["price_min"]) || array_key_exists("price_min"$context) ? $context["price_min"] : (function () { throw new RuntimeError('Variable "price_min" does not exist.'504$this->source); })())) {
  691.                 // line 505
  692.                 echo "\t\t\t\t\t\t<input class=\"thumb-1\" type=\"range\" name=\"price_min\" id=\"range-1\" value=";
  693.                 echo twig_escape_filter($this->env, (isset($context["price_min"]) || array_key_exists("price_min"$context) ? $context["price_min"] : (function () { throw new RuntimeError('Variable "price_min" does not exist.'505$this->source); })()), "html"nulltrue);
  694.                 echo " min=\"0\" max=\"1000000\" step=\"100\">
  695.                         ";
  696.             } else {
  697.                 // line 507
  698.                 echo "                        <input class=\"thumb-1\" type=\"range\" name=\"price_min\" id=\"range-1\" value=\"0\" min=\"0\" max=\"1000000\" step=\"100\">
  699.                         ";
  700.             }
  701.             // line 509
  702.             echo "                        ";
  703.             if ((isset($context["price_max"]) || array_key_exists("price_max"$context) ? $context["price_max"] : (function () { throw new RuntimeError('Variable "price_max" does not exist.'509$this->source); })())) {
  704.                 // line 510
  705.                 echo "\t\t\t\t\t\t<input class=\"thumb-2\" type=\"range\" name=\"price_max\" id=\"range-2\" value=";
  706.                 echo twig_escape_filter($this->env, (isset($context["price_max"]) || array_key_exists("price_max"$context) ? $context["price_max"] : (function () { throw new RuntimeError('Variable "price_max" does not exist.'510$this->source); })()), "html"nulltrue);
  707.                 echo " min=\"0\" max=\"1000000\" step=\"100\">
  708.                         ";
  709.             } else {
  710.                 // line 512
  711.                 echo "                        <input class=\"thumb-2\" type=\"range\" name=\"price_max\" id=\"range-2\" value=\"1000000\" min=\"0\" max=\"1000000\" step=\"100\">
  712.                         ";
  713.             }
  714.             // line 514
  715.             echo "\t\t\t\t\t</div>
  716. \t\t\t\t</div>
  717. \t\t\t\t<div class=\"product-list-size\">
  718. \t\t\t\t\t<div class=\"slidebar-multithumb\">
  719.                         <div class=\"fontweight-bold mb\"><label for=\"range-label\">高さ</label><a class='deleteIcon' href='/products/list?name=";
  720.             // line 519
  721.             echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'519$this->source); })()), "html"nulltrue);
  722.             echo "&price_min=";
  723.             echo twig_escape_filter($this->env, (isset($context["price_min"]) || array_key_exists("price_min"$context) ? $context["price_min"] : (function () { throw new RuntimeError('Variable "price_min" does not exist.'519$this->source); })()), "html"nulltrue);
  724.             echo "&price_max=";
  725.             echo twig_escape_filter($this->env, (isset($context["price_max"]) || array_key_exists("price_max"$context) ? $context["price_max"] : (function () { throw new RuntimeError('Variable "price_max" does not exist.'519$this->source); })()), "html"nulltrue);
  726.             echo "&size_vertical_min=0&size_vertical_max=300&size_width_min=";
  727.             echo twig_escape_filter($this->env, (isset($context["size_width_min"]) || array_key_exists("size_width_min"$context) ? $context["size_width_min"] : (function () { throw new RuntimeError('Variable "size_width_min" does not exist.'519$this->source); })()), "html"nulltrue);
  728.             echo "&size_width_max=";
  729.             echo twig_escape_filter($this->env, (isset($context["size_width_max"]) || array_key_exists("size_width_max"$context) ? $context["size_width_max"] : (function () { throw new RuntimeError('Variable "size_width_max" does not exist.'519$this->source); })()), "html"nulltrue);
  730.             echo "'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  731. \t\t\t\t\t\t<div class=\"flex\">
  732. \t\t\t\t\t\t\t<div><span id=\"start-value3\"></span>~</div>
  733. \t\t\t\t\t\t\t<div><span id=\"end-value4\"></span>cm</div>
  734. \t\t\t\t\t\t</div>
  735.                         <div class=\"slidebar-multithumb-title\"></div>
  736.                         ";
  737.             // line 525
  738.             if ((isset($context["size_vertical_min"]) || array_key_exists("size_vertical_min"$context) ? $context["size_vertical_min"] : (function () { throw new RuntimeError('Variable "size_vertical_min" does not exist.'525$this->source); })())) {
  739.                 // line 526
  740.                 echo "\t\t\t\t\t\t<input class=\"thumb-1\" type=\"range\" name=\"size_vertical_min\" id=\"range-3\" value=";
  741.                 echo twig_escape_filter($this->env, (isset($context["size_vertical_min"]) || array_key_exists("size_vertical_min"$context) ? $context["size_vertical_min"] : (function () { throw new RuntimeError('Variable "size_vertical_min" does not exist.'526$this->source); })()), "html"nulltrue);
  742.                 echo " min=\"0\" max=\"500\" step=\"10\">
  743.                         ";
  744.             } else {
  745.                 // line 528
  746.                 echo "                        <input class=\"thumb-1\" type=\"range\" name=\"size_vertical_min\" id=\"range-3\" value=\"0\" min=\"0\" max=\"300\" step=\"10\">
  747.                         ";
  748.             }
  749.             // line 530
  750.             echo "
  751.                         ";
  752.             // line 531
  753.             if ((isset($context["size_vertical_max"]) || array_key_exists("size_vertical_max"$context) ? $context["size_vertical_max"] : (function () { throw new RuntimeError('Variable "size_vertical_max" does not exist.'531$this->source); })())) {
  754.                 // line 532
  755.                 echo "\t\t\t\t\t\t<input class=\"thumb-2\" type=\"range\" name=\"size_vertical_max\" id=\"range-4\" value=";
  756.                 echo twig_escape_filter($this->env, (isset($context["size_vertical_max"]) || array_key_exists("size_vertical_max"$context) ? $context["size_vertical_max"] : (function () { throw new RuntimeError('Variable "size_vertical_max" does not exist.'532$this->source); })()), "html"nulltrue);
  757.                 echo " min=\"0\" max=\"300\" step=\"10\">
  758.                         ";
  759.             } else {
  760.                 // line 534
  761.                 echo "                        <input class=\"thumb-2\" type=\"range\" name=\"size_vertical_max\" id=\"range-4\" value=\"300\" min=\"0\" max=\"300\" step=\"10\">
  762.                         ";
  763.             }
  764.             // line 536
  765.             echo "\t\t\t\t\t</div>
  766. \t\t\t\t</div>
  767. \t\t\t\t<div class=\"product-list-size\">
  768. \t\t\t\t\t<div class=\"slidebar-multithumb\">
  769.                         <div class=\"fontweight-bold mb\"><label for=\"range-label\">幅</label><a class='deleteIcon' href='/products/list?name=";
  770.             // line 541
  771.             echo twig_escape_filter($this->env, (isset($context["name"]) || array_key_exists("name"$context) ? $context["name"] : (function () { throw new RuntimeError('Variable "name" does not exist.'541$this->source); })()), "html"nulltrue);
  772.             echo "&price_min=";
  773.             echo twig_escape_filter($this->env, (isset($context["price_min"]) || array_key_exists("price_min"$context) ? $context["price_min"] : (function () { throw new RuntimeError('Variable "price_min" does not exist.'541$this->source); })()), "html"nulltrue);
  774.             echo "&price_max=";
  775.             echo twig_escape_filter($this->env, (isset($context["price_max"]) || array_key_exists("price_max"$context) ? $context["price_max"] : (function () { throw new RuntimeError('Variable "price_max" does not exist.'541$this->source); })()), "html"nulltrue);
  776.             echo "&size_vertical_min=";
  777.             echo twig_escape_filter($this->env, (isset($context["size_vertical_min"]) || array_key_exists("size_vertical_min"$context) ? $context["size_vertical_min"] : (function () { throw new RuntimeError('Variable "size_vertical_min" does not exist.'541$this->source); })()), "html"nulltrue);
  778.             echo "&size_vertical_max=";
  779.             echo twig_escape_filter($this->env, (isset($context["size_vertical_max"]) || array_key_exists("size_vertical_max"$context) ? $context["size_vertical_max"] : (function () { throw new RuntimeError('Variable "size_vertical_max" does not exist.'541$this->source); })()), "html"nulltrue);
  780.             echo "&size_width_min=0&size_width_max=300'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  781. \t\t\t\t\t\t<div class=\"flex\">
  782. \t\t\t\t\t\t\t<div><span id=\"start-value5\"></span>~</div>
  783. \t\t\t\t\t\t\t<div><span id=\"end-value6\"></span>cm</div>
  784. \t\t\t\t\t\t</div>
  785. \t\t\t\t\t\t<div class=\"slidebar-multithumb-title\"></div>
  786.                         ";
  787.             // line 547
  788.             if ((isset($context["size_width_min"]) || array_key_exists("size_width_min"$context) ? $context["size_width_min"] : (function () { throw new RuntimeError('Variable "size_width_min" does not exist.'547$this->source); })())) {
  789.                 // line 548
  790.                 echo "\t\t\t\t\t\t<input class=\"thumb-1\" type=\"range\" name=\"size_width_min\" id=\"range-5\" value=";
  791.                 echo twig_escape_filter($this->env, (isset($context["size_width_min"]) || array_key_exists("size_width_min"$context) ? $context["size_width_min"] : (function () { throw new RuntimeError('Variable "size_width_min" does not exist.'548$this->source); })()), "html"nulltrue);
  792.                 echo " min=\"0\" max=\"300\" step=\"10\">
  793.                         ";
  794.             } else {
  795.                 // line 550
  796.                 echo "                        <input class=\"thumb-1\" type=\"range\" name=\"size_width_min\" id=\"range-5\" value=\"0\" min=\"0\" max=\"300\" step=\"10\">
  797.                         ";
  798.             }
  799.             // line 552
  800.             echo "
  801.                         ";
  802.             // line 553
  803.             if ((isset($context["size_width_max"]) || array_key_exists("size_width_max"$context) ? $context["size_width_max"] : (function () { throw new RuntimeError('Variable "size_width_max" does not exist.'553$this->source); })())) {
  804.                 // line 554
  805.                 echo "\t\t\t\t\t\t<input class=\"thumb-2\" type=\"range\" name=\"size_width_max\" id=\"range-6\" value=";
  806.                 echo twig_escape_filter($this->env, (isset($context["size_width_max"]) || array_key_exists("size_width_max"$context) ? $context["size_width_max"] : (function () { throw new RuntimeError('Variable "size_width_max" does not exist.'554$this->source); })()), "html"nulltrue);
  807.                 echo " min=\"0\" max=\"300\" step=\"10\">
  808.                         ";
  809.             } else {
  810.                 // line 556
  811.                 echo "                        <input class=\"thumb-2\" type=\"range\" name=\"size_width_max\" id=\"range-6\" value=\"300\" min=\"0\" max=\"300\" step=\"10\">
  812.                         ";
  813.             }
  814.             // line 558
  815.             echo "\t\t\t\t\t</div>
  816. \t\t\t\t</div>
  817. \t\t\t</div>
  818.         </form>
  819.             
  820.         ";
  821.             // line 564
  822.             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.'564$this->source); })()), "totalItemCount", [], "any"falsefalsefalse564) > 0)) {
  823.                 // line 565
  824.                 echo "            <div class=\"ec-shelfRole\">
  825.                 <ul class=\"ec-shelfGrid\">
  826.                     ";
  827.                 // line 567
  828.                 $context['_parent'] = $context;
  829.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'567$this->source); })()));
  830.                 $context['loop'] = [
  831.                   'parent' => $context['_parent'],
  832.                   'index0' => 0,
  833.                   'index'  => 1,
  834.                   'first'  => true,
  835.                 ];
  836.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  837.                     $length count($context['_seq']);
  838.                     $context['loop']['revindex0'] = $length 1;
  839.                     $context['loop']['revindex'] = $length;
  840.                     $context['loop']['length'] = $length;
  841.                     $context['loop']['last'] = === $length;
  842.                 }
  843.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  844.                     // line 568
  845.                     echo "                        <li class=\"ec-shelfGrid__item\">
  846.                             <a href=\"";
  847.                     // line 569
  848.                     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"falsefalsefalse569)]), "html"nulltrue);
  849.                     echo "\" class=\"product-list-description\">
  850.                                 ";
  851.                     // line 571
  852.                     echo "                                <div class=\"img-wrap\">
  853.                                     <img class=\"img\" src=\"";
  854.                     // line 572
  855.                     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"falsefalsefalse572)), "save_image"), "html"nulltrue);
  856.                     echo "\" alt=\"";
  857.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse572), "html"nulltrue);
  858.                     echo "\" ";
  859.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse572) > 5)) {
  860.                         echo " loading=\"lazy\"";
  861.                     }
  862.                     echo ">
  863.                                 </div>
  864.                                 ";
  865.                     // line 575
  866.                     echo "                                <p class=\"price02-default margin\">";
  867.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse575), "html"nulltrue);
  868.                     echo "</p>
  869. \t\t\t\t\t\t\t\t";
  870.                     // line 577
  871.                     echo "                                ";
  872.                     // line 582
  873.                     echo "                                ";
  874.                     // line 583
  875.                     echo "                                ";
  876.                     if ( !(null === twig_get_attribute($this->env$this->source$context["Product"], "getProductionTechnique", [], "any"falsefalsefalse583))) {
  877.                         // line 584
  878.                         echo "                                    <p class=\"margin\">";
  879.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getProductionTechnique", [], "any"falsefalsefalse584), "html"nulltrue);
  880.                         echo "</p>
  881.                                 ";
  882.                     }
  883.                     // line 586
  884.                     echo "\t\t\t\t\t\t\t\t";
  885.                     // line 587
  886.                     echo "                                ";
  887.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "getProductionSizeVertical", [], "any"falsefalsefalse587) && twig_get_attribute($this->env$this->source$context["Product"], "getProductionSizeWidth", [], "any"falsefalsefalse587))) {
  888.                         // line 588
  889.                         echo "\t\t\t\t\t\t\t\t    <p class=\"margin\">";
  890.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getProductionSizeVertical", [], "any"falsefalsefalse588), "html"nulltrue);
  891.                         echo " x ";
  892.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getProductionSizeWidth", [], "any"falsefalsefalse588), "html"nulltrue);
  893.                         echo " cm</p>
  894.                                 ";
  895.                     }
  896.                     // line 590
  897.                     echo "                                ";
  898.                     if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse590)) {
  899.                         // line 591
  900.                         echo "                                    <p class=\"margin\">";
  901.                         echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse591));
  902.                         echo "</p>
  903.                                 ";
  904.                     }
  905.                     // line 593
  906.                     echo "                                <p class=\"price02-default margin\">
  907.                                     ";
  908.                     // line 594
  909.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse594)) {
  910.                         // line 595
  911.                         echo "                                        ";
  912.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsefalse595) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsefalse595))) {
  913.                             // line 596
  914.                             echo "                                            ";
  915.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse596)), "html"nulltrue);
  916.                             echo "
  917.                                         ";
  918.                         } else {
  919.                             // line 598
  920.                             echo "                                            ";
  921.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse598)), "html"nulltrue);
  922.                             echo " ~ ";
  923.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse598)), "html"nulltrue);
  924.                             echo "
  925.                                         ";
  926.                         }
  927.                         // line 600
  928.                         echo "                                    ";
  929.                     } else {
  930.                         // line 601
  931.                         echo "                                        ";
  932.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse601)), "html"nulltrue);
  933.                         echo "
  934.                                     ";
  935.                     }
  936.                     // line 603
  937.                     echo "                                </p>
  938.                             </a>
  939.                             ";
  940.                     // line 606
  941.                     if (twig_get_attribute($this->env$this->source$context["Product"], "stock_find", [], "any"falsefalsefalse606)) {
  942.                         // line 607
  943.                         echo "                                ";
  944.                         $context["form"] = twig_get_attribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'607$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse607), [], "array"falsefalsefalse607);
  945.                         // line 608
  946.                         echo "                                ";
  947.                         // line 609
  948.                         echo "                                <form name=\"form";
  949.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse609), "html"nulltrue);
  950.                         echo "\" id=\"productForm";
  951.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse609), "html"nulltrue);
  952.                         echo "\" action=\"";
  953.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse609)]), "html"nulltrue);
  954.                         echo "\" method=\"post\">
  955.                                     <div class=\"ec-productRole__actions\">
  956.                                         ";
  957.                         // line 611
  958.                         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse611)) {
  959.                             // line 612
  960.                             echo "                                            <div class=\"ec-select\">
  961.                                                 ";
  962.                             // line 613
  963.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'613$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse613), 'widget');
  964.                             echo "
  965.                                                 ";
  966.                             // line 614
  967.                             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'614$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse614), 'errors');
  968.                             echo "
  969.                                             </div>
  970.                                             ";
  971.                             // line 616
  972.                             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse616)) {
  973.                                 // line 617
  974.                                 echo "                                                <div class=\"ec-select\">
  975.                                                     ";
  976.                                 // line 618
  977.                                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'618$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse618), 'widget');
  978.                                 echo "
  979.                                                     ";
  980.                                 // line 619
  981.                                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'619$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse619), 'errors');
  982.                                 echo "
  983.                                                 </div>
  984.                                             ";
  985.                             }
  986.                             // line 622
  987.                             echo "                                        ";
  988.                         }
  989.                         // line 623
  990.                         echo "                                        <div class=\"ec-numberInput\"><span>";
  991.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  992.                         echo "</span>
  993.                                             ";
  994.                         // line 624
  995.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'624$this->source); })()), "quantity", [], "any"falsefalsefalse624), 'widget', ["attr" => ["class" => "quantity"]]);
  996.                         echo "
  997.                                             ";
  998.                         // line 625
  999.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'625$this->source); })()), "quantity", [], "any"falsefalsefalse625), 'errors');
  1000.                         echo "
  1001.                                         </div>
  1002.                                     </div>
  1003.                                     ";
  1004.                         // line 628
  1005.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'628$this->source); })()), 'rest');
  1006.                         echo "
  1007.                                 </form>
  1008.                                 <div class=\"ec-productRole__btn\">
  1009.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  1010.                         // line 631
  1011.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse631), "html"nulltrue);
  1012.                         echo "\" form=\"productForm";
  1013.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse631), "html"nulltrue);
  1014.                         echo "\">
  1015.                                         ";
  1016.                         // line 632
  1017.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  1018.                         echo "
  1019.                                     </button>
  1020.                                 </div>
  1021.                             ";
  1022.                     } else {
  1023.                         // line 636
  1024.                         echo "                                <div class=\"ec-productRole__btn\">
  1025.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1026.                                         ";
  1027.                         // line 638
  1028.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  1029.                         echo "
  1030.                                     </button>
  1031.                                 </div>
  1032.                             ";
  1033.                     }
  1034.                     // line 642
  1035.                     echo "                        </li>
  1036.                     ";
  1037.                     ++$context['loop']['index0'];
  1038.                     ++$context['loop']['index'];
  1039.                     $context['loop']['first'] = false;
  1040.                     if (isset($context['loop']['length'])) {
  1041.                         --$context['loop']['revindex0'];
  1042.                         --$context['loop']['revindex'];
  1043.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1044.                     }
  1045.                 }
  1046.                 $_parent $context['_parent'];
  1047.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  1048.                 $context array_intersect_key($context$_parent) + $_parent;
  1049.                 // line 644
  1050.                 echo "                </ul>
  1051.             </div>
  1052.             <div class=\"ec-modal\">
  1053.                 <div class=\"ec-modal-overlay\">
  1054.                     <div class=\"ec-modal-wrap\">
  1055.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  1056.                 // line 649
  1057.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  1058.                 echo "\" alt=\"\"/></span></span>
  1059.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  1060.                 // line 650
  1061.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  1062.                 echo "</div>
  1063.                         <div class=\"ec-modal-box\">
  1064.                             <div class=\"ec-role\">
  1065.                                 <span class=\"ec-inlineBtn--cancel\">";
  1066.                 // line 653
  1067.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  1068.                 echo "</span>
  1069.                                 <a href=\"";
  1070.                 // line 654
  1071.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  1072.                 echo "\" class=\"ec-inlineBtn--action mt-5per\">";
  1073.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  1074.                 echo "</a>
  1075.                             </div>
  1076.                         </div>
  1077.                     </div>
  1078.                 </div>
  1079.             </div>
  1080.             <div class=\"ec-pagerRole\">
  1081.                 ";
  1082.                 // line 661
  1083.                 $this->loadTemplate("pager.twig""Product/list.twig"661)->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.'661$this->source); })()), "paginationData", [], "any"falsefalsefalse661)]));
  1084.                 // line 662
  1085.                 echo "            </div>
  1086.         ";
  1087.             }
  1088.             // line 664
  1089.             echo "    ";
  1090.         }
  1091.         
  1092.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1093.         
  1094.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1095.     }
  1096.     public function getTemplateName()
  1097.     {
  1098.         return "Product/list.twig";
  1099.     }
  1100.     public function isTraitable()
  1101.     {
  1102.         return false;
  1103.     }
  1104.     public function getDebugInfo()
  1105.     {
  1106.         return array (  1172 => 664,  1168 => 662,  1166 => 661,  1154 => 654,  1150 => 653,  1144 => 650,  1140 => 649,  1133 => 644,  1118 => 642,  1111 => 638,  1107 => 636,  1100 => 632,  1094 => 631,  1088 => 628,  1082 => 625,  1078 => 624,  1073 => 623,  1070 => 622,  1064 => 619,  1060 => 618,  1057 => 617,  1055 => 616,  1050 => 614,  1046 => 613,  1043 => 612,  1041 => 611,  1031 => 609,  1029 => 608,  1026 => 607,  1024 => 606,  1019 => 603,  1013 => 601,  1010 => 600,  1002 => 598,  996 => 596,  993 => 595,  991 => 594,  988 => 593,  982 => 591,  979 => 590,  971 => 588,  968 => 587,  966 => 586,  960 => 584,  957 => 583,  955 => 582,  953 => 577,  948 => 575,  937 => 572,  934 => 571,  930 => 569,  927 => 568,  910 => 567,  906 => 565,  904 => 564,  896 => 558,  892 => 556,  886 => 554,  884 => 553,  881 => 552,  877 => 550,  871 => 548,  869 => 547,  852 => 541,  845 => 536,  841 => 534,  835 => 532,  833 => 531,  830 => 530,  826 => 528,  820 => 526,  818 => 525,  801 => 519,  794 => 514,  790 => 512,  784 => 510,  781 => 509,  777 => 507,  771 => 505,  769 => 504,  752 => 498,  744 => 492,  740 => 490,  734 => 488,  732 => 487,  717 => 485,  710 => 481,  705 => 478,  698 => 474,  694 => 473,  689 => 470,  687 => 469,  684 => 468,  678 => 466,  672 => 464,  670 => 463,  663 => 458,  658 => 456,  655 => 455,  652 => 454,  649 => 453,  636 => 450,  633 => 449,  631 => 446,  626 => 445,  623 => 444,  615 => 441,  612 => 440,  610 => 438,  608 => 437,  603 => 434,  591 => 432,  587 => 431,  582 => 430,  578 => 429,  574 => 427,  568 => 424,  565 => 423,  562 => 422,  552 => 421,  457 => 334,  310 => 188,  300 => 187,  204 => 99,  185 => 82,  175 => 75,  144 => 47,  116 => 21,  102 => 20,  94 => 19,  77 => 18,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  1107.     }
  1108.     public function getSourceContext()
  1109.     {
  1110.         return new Source("{#
  1111. This file is part of EC-CUBE
  1112. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1113. http://www.ec-cube.co.jp/
  1114. For the full copyright and license information, please view the LICENSE
  1115. file that was distributed with this source code.
  1116. #}
  1117. {% extends 'default_frame.twig' %}
  1118. {% set body_class = 'product_page' %}
  1119. {% block javascript %}
  1120.     <script>
  1121.         eccube.productsClassCategories = {
  1122.             {% for Product in pagination %}
  1123.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  1124.             {% endfor %}
  1125.         };
  1126.         \$(function() {
  1127.             // 表示件数を変更
  1128.             \$('.disp-number').change(function() {
  1129.                 var dispNumber = \$(this).val();
  1130.                 \$('#disp_number').val(dispNumber);
  1131.                 \$('#pageno').val(1);
  1132.                 \$(\"#form1\").submit();
  1133.             });
  1134.             // 並び順を変更
  1135.             \$('.order-by').change(function() {
  1136.                 var orderBy = \$(this).val();
  1137.                 \$('#orderby').val(orderBy);
  1138.                 \$('#pageno').val(1);
  1139.                 \$(\"#form1\").submit();
  1140.             });
  1141.             \$('.add-cart').on('click', function(e) {
  1142.                 var \$form = \$(this).parents('li').find('form');
  1143.                 // 個数フォームのチェック
  1144.                 var \$quantity = \$form.parent().find('.quantity');
  1145.                 if (\$quantity.val() < 1) {
  1146.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1147.                     setTimeout(function() {
  1148.                         loadingOverlay('hide');
  1149.                     }, 100);
  1150.                     return true;
  1151.                 } else {
  1152.                     \$quantity[0].setCustomValidity('');
  1153.                 }
  1154.                 e.preventDefault();
  1155.                 \$.ajax({
  1156.                     url: \$form.attr('action'),
  1157.                     type: \$form.attr('method'),
  1158.                     data: \$form.serialize(),
  1159.                     dataType: 'json',
  1160.                     beforeSend: function(xhr, settings) {
  1161.                         // Buttonを無効にする
  1162.                         \$('.add-cart').prop('disabled', true);
  1163.                     }
  1164.                 }).done(function(data) {
  1165.                     // レスポンス内のメッセージをalertで表示
  1166.                     \$.each(data.messages, function() {
  1167.                         \$('#ec-modal-header').html(this);
  1168.                     });
  1169.                     \$('.ec-modal').show()
  1170.                     // カートブロックを更新する
  1171.                     \$.ajax({
  1172.                         url: '{{ url('block_cart') }}',
  1173.                         type: 'GET',
  1174.                         dataType: 'html'
  1175.                     }).done(function(html) {
  1176.                         \$('.ec-headerRole__cart').html(html);
  1177.                     });
  1178.                 }).fail(function(data) {
  1179.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1180.                 }).always(function(data) {
  1181.                     // Buttonを有効にする
  1182.                     \$('.add-cart').prop('disabled', false);
  1183.                 });
  1184.             });
  1185.         });
  1186.         \$('.ec-modal-wrap').on('click', function(e) {
  1187.             // モーダル内の処理は外側にバブリングさせない
  1188.             e.stopPropagation();
  1189.         });
  1190.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  1191.             \$('.ec-modal').hide()
  1192.         });
  1193.         {# word検索 #}
  1194.         const word = document.querySelector('#name');
  1195.         word.addEventListener('input', (evt) => {
  1196. \t\t\tword.textContent = evt.target.value;
  1197.             \$('#search-product').submit();
  1198. \t\t})
  1199. \t\t//価格のslider
  1200. \t\tconst range1 = document.querySelector('#range-1');
  1201. \t\tconst range2 = document.querySelector('#range-2');
  1202. \t\tconst startValue1 = document.querySelector('#start-value1');
  1203. \t\tconst endValue2 = document.querySelector('#end-value2');
  1204. \t\trange1.addEventListener('input', (evt) => {
  1205. \t\t\tstartValue1.textContent = evt.target.value;
  1206.             \$('#search-product').submit();
  1207. \t\t})
  1208. \t\trange2.addEventListener('input', (evt) => {
  1209. \t\t\tendValue2.textContent = evt.target.value;
  1210.             \$('#search-product').submit();
  1211. \t\t})
  1212. \t\tstartValue1.textContent = range1.value;
  1213. \t\tendValue2.textContent = range2.value;
  1214. \t\t//高さのslider
  1215. \t\tconst range3 = document.querySelector('#range-3');
  1216. \t\tconst range4 = document.querySelector('#range-4');
  1217. \t\tconst startValue3 = document.querySelector('#start-value3');
  1218. \t\tconst endValue4 = document.querySelector('#end-value4');
  1219. \t\trange3.addEventListener('input', (evt) => {
  1220. \t\t\tstartValue3.textContent = evt.target.value;
  1221.             \$('#search-product').submit();
  1222. \t\t})
  1223. \t\trange4.addEventListener('input', (evt) => {
  1224. \t\t\tendValue4.textContent = evt.target.value;
  1225.             \$('#search-product').submit();
  1226. \t\t})
  1227. \t\tstartValue3.textContent = range3.value;
  1228. \t\tendValue4.textContent = range4.value;
  1229. \t\t//幅のslider
  1230. \t\tconst range5 = document.querySelector('#range-5');
  1231. \t\tconst range6 = document.querySelector('#range-6');
  1232. \t\tconst startValue5 = document.querySelector('#start-value5');
  1233. \t\tconst endValue6 = document.querySelector('#end-value6');
  1234. \t\trange5.addEventListener('input', (evt) => {
  1235. \t\t\tstartValue5.textContent = evt.target.value;
  1236.             \$('#search-product').submit();
  1237. \t\t})
  1238. \t\trange6.addEventListener('input', (evt) => {
  1239. \t\t\tendValue6.textContent = evt.target.value;
  1240.             \$('#search-product').submit();
  1241. \t\t})
  1242. \t\tstartValue5.textContent = range5.value;
  1243. \t\tendValue6.textContent = range6.value;
  1244.         //初期表示は非表示
  1245.         document.getElementById(\"searchBox\").style.display =\"none\";
  1246.         //絞り込みボタンの背景色を制御
  1247.         const search = location.search;
  1248.         if (search !== \"\") {
  1249.             isSelected.style.background = \"#F2F2F2\";
  1250.         }
  1251.         function clickBtn2(){ //検索ボックスの表示・非表示を制御
  1252.             const searchBox = document.getElementById(\"searchBox\");
  1253.             const isSelected = document.getElementById(\"isSelected\");
  1254.             if (searchBox.style.display==\"\"){
  1255.                 searchBox.style.display =\"none\";
  1256.             } else{
  1257.                 searchBox.style.display =\"\";
  1258.             }
  1259.         }
  1260.     </script>
  1261. {% endblock %}
  1262. {% block stylesheet %}
  1263. \t<style>
  1264.         .ec-modal {
  1265.             display: none;
  1266.             position: fixed;
  1267.             top: 0;
  1268.             left: 0;
  1269.             z-index: 99999;
  1270.             width: 100%;
  1271.             height: 100%;
  1272.         }
  1273.         .ec-modal.small {
  1274.             width: 30%;
  1275.         }
  1276.         .ec-modal.full {
  1277.             width: 100%;
  1278.             height: 100%;
  1279.         }
  1280.         .ec-modal .ec-modal-overlay {
  1281.             display: flex;
  1282.             justify-content: center;
  1283.             align-items: center;
  1284.             background-color: rgba(0, 0, 0, 0.3);
  1285.             width: 100%;
  1286.             height: 100%;
  1287.         }
  1288.         .ec-modal .ec-modal-wrap {
  1289.             position: relative;
  1290.             border-radius: 6px;
  1291.             border: 0px;
  1292.             background-color: #fff;
  1293.             width: 50%;
  1294.             margin: 20px;
  1295.             padding: 40px 5px;
  1296.         }
  1297.         .ec-modal .ec-modal-close {
  1298.             cursor: pointer;
  1299.             position: absolute;
  1300.             right: 20px;
  1301.             top: 10px;
  1302.             font-size: 20px;
  1303.             height: 30px;
  1304.             width: 20px;
  1305.         }
  1306.         .ec-modal .ec-modal-close:hover {
  1307.             color: #4b5361;
  1308.         }
  1309.         .ec-modal .ec-modal-box {
  1310.             text-align: center;
  1311.         }
  1312.         .ec-modal .ec-role {
  1313.             margin-top: 20px;
  1314.         }
  1315. \t\t.margin {
  1316.             margin: 3px;
  1317.         }
  1318.         .artcategory-flex {
  1319. \t\t\tbackground-color: #f4f1ee;
  1320. \t\t\tpadding: 5px;
  1321.             margin-bottom: 30px;
  1322. \t\t\tdisplay: flex;
  1323. \t\t\tflex-wrap: wrap;
  1324.             border-radius: 6px;
  1325. \t\t} 
  1326.         .category-title {
  1327.             padding: 3px;
  1328.             margin-left: 2%;
  1329.         }
  1330.         .category-title h5 {
  1331.             color: black;
  1332.         }
  1333.         .ec-headerSearch__keywordBtn {
  1334.             border-radius: 6px;
  1335.         }
  1336.         a {
  1337.             color: black;
  1338.             text-decoration: none;
  1339.         }
  1340.         a:hover {
  1341.             color: #d5a770;
  1342.             text-decoration: none;
  1343.         }
  1344.         .mb {
  1345.             margin-bottom: 5px;
  1346.         }
  1347.         .img-wrap {
  1348.             width: auto;
  1349.             height: 300px;
  1350.         }
  1351.         .img-wrap img {
  1352.             min-width: 250px;
  1353.             width: auto;
  1354.             height: 300px;
  1355.             border-radius: 6px;
  1356.         }
  1357.         
  1358.         .img {
  1359.             width: auto;
  1360.             height: 300px;
  1361.             max-width: auto;
  1362.             max-height: 300px;
  1363.             object-fit: cover;
  1364.         }
  1365.         .ec-blockBtn--action {
  1366.             display: inline-block;
  1367.             margin-bottom: 0;
  1368.             font-weight: bold;
  1369.             text-align: center;
  1370.             vertical-align: middle;
  1371.             touch-action: manipulation;
  1372.             cursor: pointer;
  1373.             background-image: none;
  1374.             border: 1px solid transparent;
  1375.             white-space: nowrap;
  1376.             padding: 6px 12px;
  1377.             font-size: 0.875rem;
  1378.             border-radius: 1.42857142;
  1379.             -webkit-user-select: none;
  1380.             -moz-user-select: none;
  1381.             -ms-user-select: none;
  1382.             user-select: none;
  1383.             padding: 10px 16px;
  1384.             text-decoration: none;
  1385.             color: #fff;
  1386.             background-color: #d5a770;
  1387.             border-color: #d5a770;
  1388.             display: block;
  1389.             width: 100%;
  1390.             height: 56px;
  1391.             line-height: 56px;
  1392.             padding-top: 0;
  1393.             padding-bottom: 0;
  1394.         }
  1395.         {# これしないとmaker_idのフォームが表示されてしまう #}
  1396.         .form-control {
  1397.             display: none;
  1398.         }
  1399.         .form-label {
  1400.             display: none;
  1401.         }
  1402.         .ml-20 {
  1403.             margin-left: 20%;
  1404.         }
  1405.         .deleteIcon {
  1406.             color: red;
  1407.         }
  1408.         .deleteIcon:hover {
  1409.             color: red;
  1410.         }
  1411.         .product-list-flex {
  1412.             display: flex;
  1413.             justify-content: center;
  1414.             padding: 40px;
  1415.             margin: 0 auto 30px auto;
  1416.             border-radius: 6px;
  1417.             background-color: #F2F2F2;
  1418.             max-width: 750px;
  1419.         }
  1420.         .pr-16 {
  1421.             padding-right: 16px;
  1422.         }
  1423.         .skelton_btn {
  1424.             width: 130px;
  1425.             padding: 6px 12px;
  1426.             text-align: center;
  1427.             text-decoration: none;
  1428.             background: #fff;
  1429.         }
  1430.         .skelton_btn:hover {
  1431.             background: #F2F2F2;
  1432.             cursor: pointer;
  1433.             text-decoration: none;
  1434.             border-radius: 3px;
  1435.         }
  1436.         @media screen and ( max-width:1035px) {
  1437.             .product-list-flex {
  1438.                 display: flex;
  1439.             }
  1440.             .slidebar-multithumb {
  1441.                 width: 100%;
  1442.             }
  1443.             .line {
  1444.                 display: none;
  1445.             }
  1446.             .searchWord {
  1447.                 display: none;
  1448.             }
  1449.             .img-wrap img {
  1450.                 min-width: 180px;
  1451.                 width: auto;
  1452.                 height: 300px;
  1453.             }
  1454.         }
  1455.         @media screen and ( max-width:768px) {
  1456.             .product-list-flex {
  1457.                 display: none;
  1458.             }
  1459.             .skelton_btn {
  1460.                 display: none;
  1461.             }
  1462.         }
  1463.         .ec-numberInput {
  1464.             display: none;
  1465.         }
  1466.         .product-list-description:hover {
  1467.             color: black;
  1468.         }
  1469. \t</style>
  1470. {% endblock %}
  1471. {% block main %}
  1472.     {% if search_form.category_id.vars.errors|length > 0 %}
  1473.         <div class=\"ec-searchnavRole\">
  1474.             <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  1475.         </div>
  1476.     {% else %}
  1477.         <div class=\"ec-searchnavRole\">
  1478.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  1479.                 {% for item in search_form %}
  1480.                     <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  1481.                            name=\"{{ item.vars.full_name }}\"
  1482.                            {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  1483.                 {% endfor %}
  1484.             </form>
  1485.             <div class=\"ec-searchnavRole__topicpath\">
  1486.                 <ol class=\"ec-topicpath\">
  1487.                     {% if Category is null %}
  1488.                         {# <li class=\"ec-topicpath__item\"><a href=\"{{ url('product_list') }}\">{{ '全て'|trans }}</a>
  1489.                         </li> #}
  1490.                         <div class=\"artcategory-flex\">
  1491.                             <div class=\"category-title\"><h2 class=\"fontweight-bold gold\"><a href=\"{{ url('product_list') }}\">{{ 'アート作品'|trans }}</a></h2></div>
  1492.                         </div>
  1493.                     {% endif %}
  1494.                     {% if Category is not null %}
  1495.                         {% for Path in Category.path %}
  1496.                             {# <li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\"><a
  1497.                                         href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a>
  1498.                             </li> #}
  1499.                             <div class=\"artcategory-flex\">
  1500.                                 <div class=\"category-title\"><h2 class=\"fontweight-bold gold\"><a href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a></h2></div>
  1501.                             </div>
  1502.                         {% endfor %}
  1503.                     {% endif %}
  1504.                     {% if search_form.vars.value and search_form.vars.value.name %}
  1505.                         <li class=\"ec-topicpath__divider\">|</li>
  1506.                         <li class=\"ec-topicpath__item\">{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}</li>
  1507.                     {% endif %}
  1508.                 </ol>
  1509.             </div>
  1510.             <div class=\"ec-searchnavRole__infos\">
  1511.                 <div class=\"ec-searchnavRole__counter\">
  1512.                     {% if pagination.totalItemCount > 0 %}
  1513.                         {{ '<span class=\"ec-font-bold\">%count%件</span><span>の作品が見つかりました</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  1514.                     {% else %}
  1515.                         <span>{{ 'お探しの作品は見つかりませんでした'|trans }}</span>
  1516.                     {% endif %}
  1517.                 </div>
  1518.                 {% if pagination.totalItemCount > 0 %}
  1519.                     <div class=\"ec-searchnavRole__actions\">
  1520.                         <div class=\"ec-select\">
  1521.                             <a href=\"#\" class=\"skelton_btn\" id=\"isSelected\" onclick=\"clickBtn2()\">絞り込み</a>
  1522.                             {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  1523.                             {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }}
  1524.                         </div>
  1525.                     </div>
  1526.                 {% endif %}
  1527.             </div>
  1528.         </div>
  1529.         <form method=\"get\" class=\"searchform\" id='search-product' action=\"{{ path('product_list') }}\">
  1530. \t\t\t<div class=\"product-list-flex\" id=\"searchBox\">
  1531.                 <div class=\"product-list-size pr-16\">
  1532. \t\t\t\t\t<div class=\"ec-headerSearch__category\">
  1533.                     <div class=\"fontweight-bold\"><label for=\"range-label\">ワード</label><a class='deleteIcon' href='/products/list?name=&price_min={{price_min}}&price_max={{price_max}}&size_vertical_min={{size_vertical_min}}&size_vertical_max={{size_vertical_max}}&size_width_min={{size_width_min}}&size_width_max={{size_width_max}}'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  1534.                         <div class=\"ec-select ec-select_search margin-top \">
  1535.                             {% if name %}
  1536.                             <input type=\"text\" name=\"name\" id=\"name\" placeholder={{name}}>
  1537.                             {% else %}
  1538.                             <input type=\"text\" name=\"name\" id=\"name\">
  1539.                             {% endif %}
  1540.                         </div>
  1541.                     </div>
  1542. \t\t\t\t</div>
  1543. \t\t\t\t<div class=\"product-list-size\">
  1544. \t\t\t\t\t<div class=\"slidebar-multithumb\">
  1545.                         <div class=\"fontweight-bold mb\"><label for=\"range-label\">価格</label><a class='deleteIcon' href='/products/list?name={{name}}&price_min=0&price_max=1000000&size_vertical_min={{size_vertical_min}}&size_vertical_max={{size_vertical_max}}&size_width_min={{size_width_min}}&size_width_max={{size_width_max}}'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  1546. \t\t\t\t\t\t<div class=\"flex\">
  1547. \t\t\t\t\t\t\t<div><span id=\"start-value1\"></span>~</div>
  1548. \t\t\t\t\t\t\t<div><span id=\"end-value2\"></span>円</div>
  1549. \t\t\t\t\t\t</div>
  1550. \t\t\t\t\t\t<div class=\"slidebar-multithumb-title\"></div>
  1551.                         {% if price_min %}
  1552. \t\t\t\t\t\t<input class=\"thumb-1\" type=\"range\" name=\"price_min\" id=\"range-1\" value={{price_min}} min=\"0\" max=\"1000000\" step=\"100\">
  1553.                         {% else %}
  1554.                         <input class=\"thumb-1\" type=\"range\" name=\"price_min\" id=\"range-1\" value=\"0\" min=\"0\" max=\"1000000\" step=\"100\">
  1555.                         {% endif %}
  1556.                         {% if price_max %}
  1557. \t\t\t\t\t\t<input class=\"thumb-2\" type=\"range\" name=\"price_max\" id=\"range-2\" value={{price_max}} min=\"0\" max=\"1000000\" step=\"100\">
  1558.                         {% else %}
  1559.                         <input class=\"thumb-2\" type=\"range\" name=\"price_max\" id=\"range-2\" value=\"1000000\" min=\"0\" max=\"1000000\" step=\"100\">
  1560.                         {% endif %}
  1561. \t\t\t\t\t</div>
  1562. \t\t\t\t</div>
  1563. \t\t\t\t<div class=\"product-list-size\">
  1564. \t\t\t\t\t<div class=\"slidebar-multithumb\">
  1565.                         <div class=\"fontweight-bold mb\"><label for=\"range-label\">高さ</label><a class='deleteIcon' href='/products/list?name={{name}}&price_min={{price_min}}&price_max={{price_max}}&size_vertical_min=0&size_vertical_max=300&size_width_min={{size_width_min}}&size_width_max={{size_width_max}}'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  1566. \t\t\t\t\t\t<div class=\"flex\">
  1567. \t\t\t\t\t\t\t<div><span id=\"start-value3\"></span>~</div>
  1568. \t\t\t\t\t\t\t<div><span id=\"end-value4\"></span>cm</div>
  1569. \t\t\t\t\t\t</div>
  1570.                         <div class=\"slidebar-multithumb-title\"></div>
  1571.                         {% if size_vertical_min %}
  1572. \t\t\t\t\t\t<input class=\"thumb-1\" type=\"range\" name=\"size_vertical_min\" id=\"range-3\" value={{size_vertical_min}} min=\"0\" max=\"500\" step=\"10\">
  1573.                         {% else %}
  1574.                         <input class=\"thumb-1\" type=\"range\" name=\"size_vertical_min\" id=\"range-3\" value=\"0\" min=\"0\" max=\"300\" step=\"10\">
  1575.                         {% endif %}
  1576.                         {% if size_vertical_max %}
  1577. \t\t\t\t\t\t<input class=\"thumb-2\" type=\"range\" name=\"size_vertical_max\" id=\"range-4\" value={{size_vertical_max}} min=\"0\" max=\"300\" step=\"10\">
  1578.                         {% else %}
  1579.                         <input class=\"thumb-2\" type=\"range\" name=\"size_vertical_max\" id=\"range-4\" value=\"300\" min=\"0\" max=\"300\" step=\"10\">
  1580.                         {% endif %}
  1581. \t\t\t\t\t</div>
  1582. \t\t\t\t</div>
  1583. \t\t\t\t<div class=\"product-list-size\">
  1584. \t\t\t\t\t<div class=\"slidebar-multithumb\">
  1585.                         <div class=\"fontweight-bold mb\"><label for=\"range-label\">幅</label><a class='deleteIcon' href='/products/list?name={{name}}&price_min={{price_min}}&price_max={{price_max}}&size_vertical_min={{size_vertical_min}}&size_vertical_max={{size_vertical_max}}&size_width_min=0&size_width_max=300'><i class=\"fa-regular fa-trash-can ml-20\"></i></a></div>
  1586. \t\t\t\t\t\t<div class=\"flex\">
  1587. \t\t\t\t\t\t\t<div><span id=\"start-value5\"></span>~</div>
  1588. \t\t\t\t\t\t\t<div><span id=\"end-value6\"></span>cm</div>
  1589. \t\t\t\t\t\t</div>
  1590. \t\t\t\t\t\t<div class=\"slidebar-multithumb-title\"></div>
  1591.                         {% if size_width_min %}
  1592. \t\t\t\t\t\t<input class=\"thumb-1\" type=\"range\" name=\"size_width_min\" id=\"range-5\" value={{size_width_min}} min=\"0\" max=\"300\" step=\"10\">
  1593.                         {% else %}
  1594.                         <input class=\"thumb-1\" type=\"range\" name=\"size_width_min\" id=\"range-5\" value=\"0\" min=\"0\" max=\"300\" step=\"10\">
  1595.                         {% endif %}
  1596.                         {% if size_width_max %}
  1597. \t\t\t\t\t\t<input class=\"thumb-2\" type=\"range\" name=\"size_width_max\" id=\"range-6\" value={{size_width_max}} min=\"0\" max=\"300\" step=\"10\">
  1598.                         {% else %}
  1599.                         <input class=\"thumb-2\" type=\"range\" name=\"size_width_max\" id=\"range-6\" value=\"300\" min=\"0\" max=\"300\" step=\"10\">
  1600.                         {% endif %}
  1601. \t\t\t\t\t</div>
  1602. \t\t\t\t</div>
  1603. \t\t\t</div>
  1604.         </form>
  1605.             
  1606.         {% if pagination.totalItemCount > 0 %}
  1607.             <div class=\"ec-shelfRole\">
  1608.                 <ul class=\"ec-shelfGrid\">
  1609.                     {% for Product in pagination %}
  1610.                         <li class=\"ec-shelfGrid__item\">
  1611.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\" class=\"product-list-description\">
  1612.                                 {# <p class=\"ec-shelfGrid__item-image\"> #}
  1613.                                 <div class=\"img-wrap\">
  1614.                                     <img class=\"img\" src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  1615.                                 </div>
  1616.                                 {# </p> #}
  1617.                                 <p class=\"price02-default margin\">{{ Product.name }}</p>
  1618. \t\t\t\t\t\t\t\t{# アーティスト名 #}
  1619.                                 {# {% for artist in artists %}
  1620.                                     {% if Product.getArtistId == artist.id %}
  1621.                                         <p class=\"margin\">{{ artist.name }}</P>
  1622.                                     {% endif %}
  1623.                                 {% endfor %} #}
  1624.                                 {# 絵の技法 #}
  1625.                                 {% if Product.getProductionTechnique is not null %}
  1626.                                     <p class=\"margin\">{{ Product.getProductionTechnique }}</p>
  1627.                                 {% endif %}
  1628. \t\t\t\t\t\t\t\t{# 絵のサイズ #}
  1629.                                 {% if Product.getProductionSizeVertical and Product.getProductionSizeWidth %}
  1630. \t\t\t\t\t\t\t\t    <p class=\"margin\">{{ Product.getProductionSizeVertical }} x {{ Product.getProductionSizeWidth }} cm</p>
  1631.                                 {% endif %}
  1632.                                 {% if Product.description_list %}
  1633.                                     <p class=\"margin\">{{ Product.description_list|raw|nl2br }}</p>
  1634.                                 {% endif %}
  1635.                                 <p class=\"price02-default margin\">
  1636.                                     {% if Product.hasProductClass %}
  1637.                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1638.                                             {{ Product.getPrice02IncTaxMin|price }}
  1639.                                         {% else %}
  1640.                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1641.                                         {% endif %}
  1642.                                     {% else %}
  1643.                                         {{ Product.getPrice02IncTaxMin|price }}
  1644.                                     {% endif %}
  1645.                                 </p>
  1646.                             </a>
  1647.                             {% if Product.stock_find %}
  1648.                                 {% set form = forms[Product.id] %}
  1649.                                 {# Todo ここの下のform,hiddenで残しているが無くす? #}
  1650.                                 <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1651.                                     <div class=\"ec-productRole__actions\">
  1652.                                         {% if form.classcategory_id1 is defined %}
  1653.                                             <div class=\"ec-select\">
  1654.                                                 {{ form_widget(form.classcategory_id1) }}
  1655.                                                 {{ form_errors(form.classcategory_id1) }}
  1656.                                             </div>
  1657.                                             {% if form.classcategory_id2 is defined %}
  1658.                                                 <div class=\"ec-select\">
  1659.                                                     {{ form_widget(form.classcategory_id2) }}
  1660.                                                     {{ form_errors(form.classcategory_id2) }}
  1661.                                                 </div>
  1662.                                             {% endif %}
  1663.                                         {% endif %}
  1664.                                         <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1665.                                             {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1666.                                             {{ form_errors(form.quantity) }}
  1667.                                         </div>
  1668.                                     </div>
  1669.                                     {{ form_rest(form) }}
  1670.                                 </form>
  1671.                                 <div class=\"ec-productRole__btn\">
  1672.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1673.                                         {{ 'カートに入れる'|trans }}
  1674.                                     </button>
  1675.                                 </div>
  1676.                             {% else %}
  1677.                                 <div class=\"ec-productRole__btn\">
  1678.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1679.                                         {{ 'ただいま品切れ中です。'|trans }}
  1680.                                     </button>
  1681.                                 </div>
  1682.                             {% endif %}
  1683.                         </li>
  1684.                     {% endfor %}
  1685.                 </ul>
  1686.             </div>
  1687.             <div class=\"ec-modal\">
  1688.                 <div class=\"ec-modal-overlay\">
  1689.                     <div class=\"ec-modal-wrap\">
  1690.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1691.                         <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1692.                         <div class=\"ec-modal-box\">
  1693.                             <div class=\"ec-role\">
  1694.                                 <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1695.                                 <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action mt-5per\">{{ 'カートへ進む'|trans }}</a>
  1696.                             </div>
  1697.                         </div>
  1698.                     </div>
  1699.                 </div>
  1700.             </div>
  1701.             <div class=\"ec-pagerRole\">
  1702.                 {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  1703.             </div>
  1704.         {% endif %}
  1705.     {% endif %}
  1706. {% endblock %}
  1707. ""Product/list.twig""/home/xs230941/tas-lab.net/public_html/app/template/default/Product/list.twig");
  1708.     }
  1709. }