var/cache/dev/twig/d1/d1722055221198b945726948f2724fbd.php line 503

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_a68e4f7b58afad306e1b9e848efbf8c2 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.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  39.         // line 13
  40.         $context["body_class"] = "product_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Product/list.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script>
  59.         eccube.productsClassCategories = {
  60.             ";
  61.         // line 18
  62.         $context['_parent'] = $context;
  63.         $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); })()));
  64.         $context['loop'] = [
  65.           'parent' => $context['_parent'],
  66.           'index0' => 0,
  67.           'index'  => 1,
  68.           'first'  => true,
  69.         ];
  70.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  71.             $length count($context['_seq']);
  72.             $context['loop']['revindex0'] = $length 1;
  73.             $context['loop']['revindex'] = $length;
  74.             $context['loop']['length'] = $length;
  75.             $context['loop']['last'] = === $length;
  76.         }
  77.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  78.             // line 19
  79.             echo "            \"";
  80.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse19), "js"), "html"nulltrue);
  81.             echo "\": ";
  82.             echo $this->extensions['Customize\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  83.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse19) == false)) {
  84.                 echo ", ";
  85.             }
  86.             // line 20
  87.             echo "            ";
  88.             ++$context['loop']['index0'];
  89.             ++$context['loop']['index'];
  90.             $context['loop']['first'] = false;
  91.             if (isset($context['loop']['length'])) {
  92.                 --$context['loop']['revindex0'];
  93.                 --$context['loop']['revindex'];
  94.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  95.             }
  96.         }
  97.         $_parent $context['_parent'];
  98.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  99.         $context array_intersect_key($context$_parent) + $_parent;
  100.         // line 21
  101.         echo "        };
  102.         \$(function() {
  103.             // 表示件数を変更
  104.             \$('.disp-number').change(function() {
  105.                 var dispNumber = \$(this).val();
  106.                 \$('#disp_number').val(dispNumber);
  107.                 \$('#pageno').val(1);
  108.                 \$(\"#form1\").submit();
  109.             });
  110.             // 並び順を変更
  111.             \$('.order-by').change(function() {
  112.                 var orderBy = \$(this).val();
  113.                 \$('#orderby').val(orderBy);
  114.                 \$('#pageno').val(1);
  115.                 \$(\"#form1\").submit();
  116.             });
  117.             \$('.add-cart').on('click', function(e) {
  118.                 var \$form = \$(this).parents('li').find('form');
  119.                 // 個数フォームのチェック
  120.                 var \$quantity = \$form.parent().find('.quantity');
  121.                 if (\$quantity.val() < 1) {
  122.                     \$quantity[0].setCustomValidity('";
  123.         // line 47
  124.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  125.         echo "');
  126.                     setTimeout(function() {
  127.                         loadingOverlay('hide');
  128.                     }, 100);
  129.                     return true;
  130.                 } else {
  131.                     \$quantity[0].setCustomValidity('');
  132.                 }
  133.                 e.preventDefault();
  134.                 \$.ajax({
  135.                     url: \$form.attr('action'),
  136.                     type: \$form.attr('method'),
  137.                     data: \$form.serialize(),
  138.                     dataType: 'json',
  139.                     beforeSend: function(xhr, settings) {
  140.                         // Buttonを無効にする
  141.                         \$('.add-cart').prop('disabled', true);
  142.                     }
  143.                 }).done(function(data) {
  144.                     // レスポンス内のメッセージをalertで表示
  145.                     \$.each(data.messages, function() {
  146.                         \$('#ec-modal-header').text(this);
  147.                     });
  148.                     \$('.ec-modal').show()
  149.                     // カートブロックを更新する
  150.                     \$.ajax({
  151.                         url: '";
  152.         // line 75
  153.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  154.         echo "',
  155.                         type: 'GET',
  156.                         dataType: 'html'
  157.                     }).done(function(html) {
  158.                         \$('.ec-headerRole__cart').html(html);
  159.                     });
  160.                 }).fail(function(data) {
  161.                     alert('";
  162.         // line 82
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  164.         echo "');
  165.                 }).always(function(data) {
  166.                     // Buttonを有効にする
  167.                     \$('.add-cart').prop('disabled', false);
  168.                 });
  169.             });
  170.         });
  171.         \$('.ec-modal-wrap').on('click', function(e) {
  172.             // モーダル内の処理は外側にバブリングさせない
  173.             e.stopPropagation();
  174.         });
  175.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  176.             \$('.ec-modal').hide()
  177.         });
  178.     </script>
  179. ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     // line 100
  186.     public function block_main($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  193.         // line 101
  194.         echo "<style>
  195.     .status_icon_topright {
  196.         position: absolute;
  197.         top: 0;
  198.         right: 0;
  199.         left: auto;
  200.         width: 60px;
  201.         height: 60px;
  202.     }
  203.     .status_icon_bottomleft {
  204.         position: absolute;
  205.         bottom: 0;
  206.         right: auto;
  207.         left: 0;
  208.         width: 60px;
  209.         height: 60px;
  210.     }
  211. </style>
  212. ";
  213.         // line 119
  214.         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.'119$this->source); })()), "category_id", [], "any"falsefalsefalse119), "vars", [], "any"falsefalsefalse119), "errors", [], "any"falsefalsefalse119)) > 0)) {
  215.             // line 120
  216.             echo "        <div class=\"ec-searchnavRole\">
  217.             <p class=\"errormsg text-danger\">";
  218.             // line 121
  219.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  220.             echo "</p>
  221.         </div>
  222.     ";
  223.         } else {
  224.             // line 124
  225.             echo "        <div class=\"ec-searchnavRole\">
  226.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  227.                 ";
  228.             // line 126
  229.             $context['_parent'] = $context;
  230.             $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.'126$this->source); })()));
  231.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  232.                 // line 127
  233.                 echo "                    <input type=\"hidden\" id=\"";
  234.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse127), "id", [], "any"falsefalsefalse127), "html"nulltrue);
  235.                 echo "\"
  236.                            name=\"";
  237.                 // line 128
  238.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse128), "full_name", [], "any"falsefalsefalse128), "html"nulltrue);
  239.                 echo "\"
  240.                            ";
  241.                 // line 129
  242.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse129), "value", [], "any"falsefalsefalse129))) {
  243.                     echo "value=\"";
  244.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse129), "value", [], "any"falsefalsefalse129), "html"nulltrue);
  245.                     echo "\" ";
  246.                 }
  247.                 echo "/>
  248.                 ";
  249.             }
  250.             $_parent $context['_parent'];
  251.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  252.             $context array_intersect_key($context$_parent) + $_parent;
  253.             // line 131
  254.             echo "            </form>
  255.             <div class=\"ec-searchnavRole__topicpath\">
  256.                 <ol class=\"ec-topicpath\">
  257.                     <li class=\"ec-topicpath__item\"><a href=\"";
  258.             // line 134
  259.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  260.             echo "\">";
  261.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("全て"), "html"nulltrue);
  262.             echo "</a>
  263.                     </li>
  264.                     ";
  265.             // line 136
  266.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'136$this->source); })()))) {
  267.                 // line 137
  268.                 echo "                        ";
  269.                 $context['_parent'] = $context;
  270.                 $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.'137$this->source); })()), "path", [], "any"falsefalsefalse137));
  271.                 $context['loop'] = [
  272.                   'parent' => $context['_parent'],
  273.                   'index0' => 0,
  274.                   'index'  => 1,
  275.                   'first'  => true,
  276.                 ];
  277.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  278.                     $length count($context['_seq']);
  279.                     $context['loop']['revindex0'] = $length 1;
  280.                     $context['loop']['revindex'] = $length;
  281.                     $context['loop']['length'] = $length;
  282.                     $context['loop']['last'] = === $length;
  283.                 }
  284.                 foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
  285.                     // line 138
  286.                     echo "                            <li class=\"ec-topicpath__divider\">|</li>
  287.                             <li class=\"ec-topicpath__item";
  288.                     // line 139
  289.                     if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse139)) {
  290.                         echo "--active";
  291.                     }
  292.                     echo "\"><a
  293.                                         href=\"";
  294.                     // line 140
  295.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  296.                     echo "?category_id=";
  297.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse140), "html"nulltrue);
  298.                     echo "\">";
  299.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "name", [], "any"falsefalsefalse140), "html"nulltrue);
  300.                     echo "</a>
  301.                             </li>
  302.                         ";
  303.                     ++$context['loop']['index0'];
  304.                     ++$context['loop']['index'];
  305.                     $context['loop']['first'] = false;
  306.                     if (isset($context['loop']['length'])) {
  307.                         --$context['loop']['revindex0'];
  308.                         --$context['loop']['revindex'];
  309.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  310.                     }
  311.                 }
  312.                 $_parent $context['_parent'];
  313.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
  314.                 $context array_intersect_key($context$_parent) + $_parent;
  315.                 // line 143
  316.                 echo "                    ";
  317.             }
  318.             // line 144
  319.             echo "                    ";
  320.             // line 145
  321.             echo "                    ";
  322.             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.'145$this->source); })()), "vars", [], "any"falsefalsefalse145), "value", [], "any"falsefalsefalse145) && ((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.'145$this->source); })()), "vars", [], "any"falsefalsefalse145), "value", [], "any"falsefalsefalse145), "name", [], "any"falsefalsefalse145) || 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.'145$this->source); })()), "vars", [], "any"falsefalsefalse145), "value", [], "any"falsefalsefalse145), "tag_id", [], "any"falsefalsefalse145)) || 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.'145$this->source); })()), "vars", [], "any"falsefalsefalse145), "value", [], "any"falsefalsefalse145), "price_id", [], "any"falsefalsefalse145)))) {
  323.                 // line 146
  324.                 echo "                        <li class=\"ec-topicpath__item\">";
  325.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(" 検索条件"), "html"nulltrue);
  326.                 echo "</li>
  327.                         ";
  328.                 // line 147
  329.                 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.'147$this->source); })()), "vars", [], "any"falsefalsefalse147), "value", [], "any"falsefalsefalse147) && 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.'147$this->source); })()), "vars", [], "any"falsefalsefalse147), "value", [], "any"falsefalsefalse147), "name", [], "any"falsefalsefalse147))) {
  330.                     // line 148
  331.                     echo "                            <li class=\"ec-topicpath__item\">";
  332.                     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.'148$this->source); })()), "vars", [], "any"falsefalsefalse148), "value", [], "any"falsefalsefalse148), "name", [], "any"falsefalsefalse148)]), "html"nulltrue);
  333.                     echo "</li>
  334.                         ";
  335.                 }
  336.                 // line 150
  337.                 echo "                        ";
  338.                 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.'150$this->source); })()), "vars", [], "any"falsefalsefalse150), "value", [], "any"falsefalsefalse150) && 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.'150$this->source); })()), "vars", [], "any"falsefalsefalse150), "value", [], "any"falsefalsefalse150), "tag_id", [], "any"falsefalsefalse150))) {
  339.                     // line 151
  340.                     echo "                            ";
  341.                     $context["Tags"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Tag"), "getList", [], "method"falsefalsefalse151);
  342.                     // line 152
  343.                     echo "                            ";
  344.                     $context["now_tag_id"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'152$this->source); })()), "request", [], "any"falsefalsefalse152), "query", [], "any"falsefalsefalse152), "get", [=> "tag_id"], "method"falsefalsefalse152);
  345.                     // line 153
  346.                     echo "                            ";
  347.                     $context["current_tag"] = twig_first($this->envtwig_array_filter($this->env, (isset($context["Tags"]) || array_key_exists("Tags"$context) ? $context["Tags"] : (function () { throw new RuntimeError('Variable "Tags" does not exist.'153$this->source); })()), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'153$this->source); })()), "id", [], "any"falsefalsefalse153) == (isset($context["now_tag_id"]) || array_key_exists("now_tag_id"$context) ? $context["now_tag_id"] : (function () { throw new RuntimeError('Variable "now_tag_id" does not exist.'153$this->source); })())); }));
  348.                     // line 154
  349.                     echo "                            ";
  350.                     if ((isset($context["current_tag"]) || array_key_exists("current_tag"$context) ? $context["current_tag"] : (function () { throw new RuntimeError('Variable "current_tag" does not exist.'154$this->source); })())) {
  351.                         // line 155
  352.                         echo "                                <li class=\"ec-topicpath__item\">";
  353.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%Tag.name%」", ["%Tag.name%" => twig_get_attribute($this->env$this->source, (isset($context["current_tag"]) || array_key_exists("current_tag"$context) ? $context["current_tag"] : (function () { throw new RuntimeError('Variable "current_tag" does not exist.'155$this->source); })()), "name", [], "any"falsefalsefalse155)]), "html"nulltrue);
  354.                         echo "</li>
  355.                             ";
  356.                     }
  357.                     // line 157
  358.                     echo "                        ";
  359.                 }
  360.                 // line 158
  361.                 echo "                        ";
  362.                 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.'158$this->source); })()), "vars", [], "any"falsefalsefalse158), "value", [], "any"falsefalsefalse158) && 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.'158$this->source); })()), "vars", [], "any"falsefalsefalse158), "value", [], "any"falsefalsefalse158), "price_id", [], "any"falsefalsefalse158))) {
  363.                     // line 159
  364.                     echo "                            ";
  365.                     $context["price_ranges"] = [=> "10万円未満"=> "10万円以上~20万円未満"=> "20万円以上~30万円未満"=> "30万円以上~50万円未満"=> "50万円以上~100万円未満"=> "100万円以上"];
  366.                     // line 167
  367.                     echo "                            ";
  368.                     $context["now_price_id"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'167$this->source); })()), "request", [], "any"falsefalsefalse167), "query", [], "any"falsefalsefalse167), "get", [=> "price_id"], "method"falsefalsefalse167);
  369.                     // line 168
  370.                     echo "                            ";
  371.                     if (twig_get_attribute($this->env$this->source, ($context["price_ranges"] ?? null), (isset($context["now_price_id"]) || array_key_exists("now_price_id"$context) ? $context["now_price_id"] : (function () { throw new RuntimeError('Variable "now_price_id" does not exist.'168$this->source); })()), [], "array"truetruefalse168)) {
  372.                         // line 169
  373.                         echo "                                <li class=\"ec-topicpath__item\">";
  374.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%price_range%」", ["%price_range%" => twig_get_attribute($this->env$this->source, (isset($context["price_ranges"]) || array_key_exists("price_ranges"$context) ? $context["price_ranges"] : (function () { throw new RuntimeError('Variable "price_ranges" does not exist.'169$this->source); })()), (isset($context["now_price_id"]) || array_key_exists("now_price_id"$context) ? $context["now_price_id"] : (function () { throw new RuntimeError('Variable "now_price_id" does not exist.'169$this->source); })()), [], "array"falsefalsefalse169)]), "html"nulltrue);
  375.                         echo "</li>
  376.                             ";
  377.                     }
  378.                     // line 171
  379.                     echo "                        ";
  380.                 }
  381.                 // line 172
  382.                 echo "                    ";
  383.             }
  384.             // line 173
  385.             echo "                </ol>
  386.             </div>
  387.             ";
  388.             // line 176
  389.             echo "            ";
  390.             $this->loadTemplate("Block/product_list_filter.twig""Product/list.twig"176)->display($context);
  391.             // line 177
  392.             echo "            <div class=\"ec-searchnavRole__infos\">
  393.                 <div class=\"ec-searchnavRole__counter\">
  394.                     ";
  395.             // line 179
  396.             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.'179$this->source); })()), "totalItemCount", [], "any"falsefalsefalse179) > 0)) {
  397.                 // line 180
  398.                 echo "                        ";
  399.                 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.'180$this->source); })()), "totalItemCount", [], "any"falsefalsefalse180)]);
  400.                 echo "
  401.                     ";
  402.             } else {
  403.                 // line 182
  404.                 echo "                        <span>";
  405.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html"nulltrue);
  406.                 echo "</span>
  407.                     ";
  408.             }
  409.             // line 184
  410.             echo "                </div>
  411.                 ";
  412.             // line 185
  413.             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.'185$this->source); })()), "totalItemCount", [], "any"falsefalsefalse185) > 0)) {
  414.                 // line 186
  415.                 echo "                    <div class=\"ec-searchnavRole__actions\">
  416.                         <div class=\"ec-select\">
  417.                             ";
  418.                 // line 188
  419.                 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.'188$this->source); })()), "disp_number", [], "any"falsefalsefalse188), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  420.                 echo "
  421.                             ";
  422.                 // line 189
  423.                 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.'189$this->source); })()), "orderby", [], "any"falsefalsefalse189), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  424.                 echo "
  425.                         </div>
  426.                     </div>
  427.                 ";
  428.             }
  429.             // line 193
  430.             echo "            </div>
  431.         </div>
  432.         ";
  433.             // line 195
  434.             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.'195$this->source); })()), "totalItemCount", [], "any"falsefalsefalse195) > 0)) {
  435.                 // line 196
  436.                 echo "            <div class=\"ec-shelfRole\">
  437.                 <ul class=\"ec-shelfGrid\">
  438.                     ";
  439.                 // line 198
  440.                 $context['_parent'] = $context;
  441.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'198$this->source); })()));
  442.                 $context['loop'] = [
  443.                   'parent' => $context['_parent'],
  444.                   'index0' => 0,
  445.                   'index'  => 1,
  446.                   'first'  => true,
  447.                 ];
  448.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  449.                     $length count($context['_seq']);
  450.                     $context['loop']['revindex0'] = $length 1;
  451.                     $context['loop']['revindex'] = $length;
  452.                     $context['loop']['length'] = $length;
  453.                     $context['loop']['last'] = === $length;
  454.                 }
  455.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  456.                     // line 199
  457.                     echo "                        <li class=\"ec-shelfGrid__item\">
  458.                             <a href=\"";
  459.                     // line 200
  460.                     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"falsefalsefalse200)]), "html"nulltrue);
  461.                     echo "\">
  462.                                 <p class=\"ec-shelfGrid__item-image\" style=\"position:relative;\">
  463.                                     <img src=\"";
  464.                     // line 202
  465.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Customize\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsefalse202)), "save_image"), "html"nulltrue);
  466.                     echo "\" alt=\"";
  467.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse202), "html"nulltrue);
  468.                     echo "\" ";
  469.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse202) > 5)) {
  470.                         echo " loading=\"lazy\"";
  471.                     }
  472.                     echo ">
  473.                                     ";
  474.                     // line 204
  475.                     echo "                                    ";
  476.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse204))) {
  477.                         // line 205
  478.                         echo "                                        ";
  479.                         if ((twig_length_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse205), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'205$this->source); })()), "id", [], "any"falsefalsefalse205) == 6); })) > 0)) {
  480.                             echo " ";
  481.                             // line 206
  482.                             echo "                                            <img src=\"";
  483.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/productlist/itemlist_icon_sale-instock.png"), "html"nulltrue);
  484.                             echo "\" alt=\"Small Image\" class=\"status_icon_bottomleft\" />
  485.                                         ";
  486.                         }
  487.                         // line 208
  488.                         echo "                                        ";
  489.                         if ((twig_length_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse208), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'208$this->source); })()), "id", [], "any"falsefalsefalse208) == 7); })) > 0)) {
  490.                             echo " ";
  491.                             // line 209
  492.                             echo "                                            <img src=\"";
  493.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/productlist/itemlist_icon_sale-order.png"), "html"nulltrue);
  494.                             echo "\" alt=\"Small Image\" class=\"status_icon_bottomleft\" />
  495.                                         ";
  496.                         }
  497.                         // line 211
  498.                         echo "                                        ";
  499.                         if ((twig_length_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse211), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'211$this->source); })()), "id", [], "any"falsefalsefalse211) == 8); })) > 0)) {
  500.                             echo " ";
  501.                             // line 212
  502.                             echo "                                            <img src=\"";
  503.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/productlist/itemlist_icon_outlet.png"), "html"nulltrue);
  504.                             echo "\" alt=\"Small Image\" class=\"status_icon_bottomleft\" />
  505.                                         ";
  506.                         }
  507.                         // line 214
  508.                         echo "                                        ";
  509.                         if ((twig_length_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse214), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'214$this->source); })()), "id", [], "any"falsefalsefalse214) == 9); })) > 0)) {
  510.                             echo " ";
  511.                             // line 215
  512.                             echo "                                            <img src=\"";
  513.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/productlist/itemlist_icon_instock.png"), "html"nulltrue);
  514.                             echo "\" alt=\"Small Image\" class=\"status_icon_topright\" />
  515.                                         ";
  516.                         }
  517.                         // line 217
  518.                         echo "                                        ";
  519.                         if ((twig_length_filter($this->envtwig_array_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse217), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'217$this->source); })()), "id", [], "any"falsefalsefalse217) == 10); })) > 0)) {
  520.                             echo " ";
  521.                             // line 218
  522.                             echo "                                            <img src=\"";
  523.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/productlist/itemlist_icon_order.png"), "html"nulltrue);
  524.                             echo "\" alt=\"Small Image\" class=\"status_icon_topright\" />
  525.                                         ";
  526.                         }
  527.                         // line 220
  528.                         echo "                                    ";
  529.                     }
  530.                     // line 221
  531.                     echo "                                </p>
  532.                                 ";
  533.                     // line 222
  534.                     if (twig_get_attribute($this->env$this->source$context["Product"], "Maker", [], "any"falsefalsefalse222)) {
  535.                         echo 
  536.                                     <p class=\"ec-shelfGrid__item-maker\">";
  537.                         // line 223
  538.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Product"], "Maker", [], "any"falsefalsefalse223), "nameEn", [], "any"falsefalsefalse223), "html"nulltrue);
  539.                         echo "</p>
  540.                                 ";
  541.                     }
  542.                     // line 225
  543.                     echo "                                <p>
  544.                                     ";
  545.                     // line 226
  546.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse226), "html"nulltrue);
  547.                     echo "
  548.                                     ";
  549.                     // line 227
  550.                     if (twig_get_attribute($this->env$this->source$context["Product"], "model_year", [], "any"falsefalsefalse227)) {
  551.                         echo 
  552.                                         ";
  553.                         // line 228
  554.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "model_year", [], "any"falsefalsefalse228), "html"nulltrue);
  555.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("年モデル"), "html"nulltrue);
  556.                         echo "
  557.                                     ";
  558.                     }
  559.                     // line 230
  560.                     echo "                                </p>
  561.                                 ";
  562.                     // line 231
  563.                     if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse231)) {
  564.                         // line 232
  565.                         echo "                                    <!--<p>";
  566.                         echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse232));
  567.                         echo "</p>-->
  568.                                 ";
  569.                     }
  570.                     // line 234
  571.                     echo "                                ";
  572.                     // line 235
  573.                     echo "                                ";
  574.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "ask_price", [], "any"falsefalsefalse235) == "teika_price")) {
  575.                         echo 
  576.                                     <p class=\"ec-color-red\">";
  577.                         // line 236
  578.                         echo "販売価格(税込)";
  579.                         echo "</p>
  580.                                 ";
  581.                     } else {
  582.                         // line 238
  583.                         echo "                                    <p class=\"ec-color-red\">";
  584.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現金特価(税込)"), "html"nulltrue);
  585.                         echo "</p>
  586.                                 ";
  587.                     }
  588.                     // line 240
  589.                     echo "                                ";
  590.                     // line 241
  591.                     echo "                                <p class=\"price02-default\"><strong class=\"ec-color-red ec-font-size-4\">
  592.                                     ";
  593.                     // line 242
  594.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse242)) {
  595.                         // line 243
  596.                         echo "                                    ";
  597.                         // line 244
  598.                         echo "                                        ";
  599.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "ask_price", [], "any"falsefalsefalse244) == "teika_price")) {
  600.                             // line 245
  601.                             echo "                                            ";
  602.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Min", [], "any"falsefalsefalse245) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Max", [], "any"falsefalsefalse245))) {
  603.                                 // line 246
  604.                                 echo "                                                ";
  605.                                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "Price01IncTaxMin", [], "any"falsefalsefalse246)), "html"nulltrue);
  606.                                 echo "
  607.                                             ";
  608.                             } else {
  609.                                 // line 248
  610.                                 echo "                                                ";
  611.                                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "Price01IncTaxMin", [], "any"falsefalsefalse248)), "html"nulltrue);
  612.                                 echo " ~
  613.                                             ";
  614.                             }
  615.                             // line 250
  616.                             echo "                                        ";
  617.                         } elseif ((twig_get_attribute($this->env$this->source$context["Product"], "ask_price", [], "any"falsefalsefalse250) == "hidden_price")) {
  618.                             // line 251
  619.                             echo "                                            ";
  620.                             if ((null === twig_get_attribute($this->env$this->source$context["Product"], "info_comment2", [], "any"falsefalsefalse251))) {
  621.                                 // line 252
  622.                                 echo "                                                ";
  623.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("びっくり大特価!"), "html"nulltrue);
  624.                                 echo "
  625.                                             ";
  626.                             } else {
  627.                                 // line 254
  628.                                 echo "                                                ";
  629.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["Product"], "info_comment2", [], "any"falsefalsefalse254)), "html"nulltrue);
  630.                                 echo "
  631.                                             ";
  632.                             }
  633.                             // line 256
  634.                             echo "                                        ";
  635.                         } else {
  636.                             // line 257
  637.                             echo "                                            ";
  638.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsefalse257) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsefalse257))) {
  639.                                 // line 258
  640.                                 echo "                                                ";
  641.                                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse258) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  642.                                 echo "
  643.                                             ";
  644.                             } else {
  645.                                 // line 260
  646.                                 echo "                                                ";
  647.                                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse260) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  648.                                 echo " ~
  649.                                             ";
  650.                             }
  651.                             // line 262
  652.                             echo "                                        ";
  653.                         }
  654.                         // line 263
  655.                         echo "                                    ";
  656.                     } else {
  657.                         // line 264
  658.                         echo "                                    ";
  659.                         // line 265
  660.                         echo "                                        ";
  661.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "ask_price", [], "any"falsefalsefalse265) == "teika_price")) {
  662.                             // line 266
  663.                             echo "                                            ";
  664.                             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsefalse266)), "html"nulltrue);
  665.                             echo "
  666.                                         ";
  667.                         } elseif ((twig_get_attribute($this->env$this->source,                         // line 267
  668. $context["Product"], "ask_price", [], "any"falsefalsefalse267) == "hidden_price")) {
  669.                             // line 268
  670.                             echo "                                            ";
  671.                             if ((null === twig_get_attribute($this->env$this->source$context["Product"], "info_comment2", [], "any"falsefalsefalse268))) {
  672.                                 // line 269
  673.                                 echo "                                                ";
  674.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("びっくり大特価!"), "html"nulltrue);
  675.                                 echo "
  676.                                             ";
  677.                             } else {
  678.                                 // line 271
  679.                                 echo "                                                ";
  680.                                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["Product"], "info_comment2", [], "any"falsefalsefalse271)), "html"nulltrue);
  681.                                 echo "
  682.                                             ";
  683.                             }
  684.                             // line 273
  685.                             echo "                                        ";
  686.                         } else {
  687.                             // line 274
  688.                             echo "                                            ";
  689.                             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse274) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  690.                             echo "
  691.                                         ";
  692.                         }
  693.                         // line 276
  694.                         echo "                                    ";
  695.                     }
  696.                     // line 277
  697.                     echo "                                ";
  698.                     // line 278
  699.                     echo "                                </strong></p>
  700.                                 ";
  701.                     // line 280
  702.                     echo "                                <p><span class=\"ec-color-grey ec-font-size-2\">通常販売価格</span></p>
  703.                                 <p><span class=\"ec-color-grey ec-font-size-2\">
  704.                                     ";
  705.                     // line 282
  706.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse282)) {
  707.                         // line 283
  708.                         echo "                                    ";
  709.                         // line 284
  710.                         echo "                                        ";
  711.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Min", [], "any"falsefalsefalse284) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Max", [], "any"falsefalsefalse284))) {
  712.                             // line 285
  713.                             echo "                                            ";
  714.                             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsefalse285)), "html"nulltrue);
  715.                             echo "
  716.                                         ";
  717.                         } else {
  718.                             // line 287
  719.                             echo "                                            ";
  720.                             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "Price01IncTaxMin", [], "any"falsefalsefalse287)), "html"nulltrue);
  721.                             echo " ~ ";
  722.                             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "Price01IncTaxMax", [], "any"falsefalsefalse287)), "html"nulltrue);
  723.                             echo "
  724.                                         ";
  725.                         }
  726.                         // line 289
  727.                         echo "                                    ";
  728.                     } else {
  729.                         // line 290
  730.                         echo "                                    ";
  731.                         // line 291
  732.                         echo "                                        ";
  733.                         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsefalse291)), "html"nulltrue);
  734.                         echo "
  735.                                     ";
  736.                     }
  737.                     // line 293
  738.                     echo "                                </span></p>
  739.                             </a>
  740.                             ";
  741.                     // line 296
  742.                     if (twig_get_attribute($this->env$this->source$context["Product"], "stock_find", [], "any"falsefalsefalse296)) {
  743.                         // line 297
  744.                         echo "                                ";
  745.                         $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.'297$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse297), [], "array"falsefalsefalse297);
  746.                         // line 298
  747.                         echo "                                <form name=\"form";
  748.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse298), "html"nulltrue);
  749.                         echo "\" id=\"productForm";
  750.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse298), "html"nulltrue);
  751.                         echo "\" action=\"";
  752.                         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"falsefalsefalse298)]), "html"nulltrue);
  753.                         echo "\" method=\"post\">
  754.                                     <div class=\"ec-productRole__actions\">
  755.                                         ";
  756.                         // line 300
  757.                         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse300)) {
  758.                             // line 301
  759.                             echo "                                            <!--<div class=\"ec-select\">
  760.                                                 ";
  761.                             // line 302
  762.                             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.'302$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse302), 'widget');
  763.                             echo "
  764.                                                 ";
  765.                             // line 303
  766.                             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.'303$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse303), 'errors');
  767.                             echo "
  768.                                             </div>-->
  769.                                             ";
  770.                             // line 305
  771.                             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse305)) {
  772.                                 // line 306
  773.                                 echo "                                                <!--<div class=\"ec-select\">
  774.                                                     ";
  775.                                 // line 307
  776.                                 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.'307$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse307), 'widget');
  777.                                 echo "
  778.                                                     ";
  779.                                 // line 308
  780.                                 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.'308$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse308), 'errors');
  781.                                 echo "
  782.                                                 </div>-->
  783.                                             ";
  784.                             }
  785.                             // line 311
  786.                             echo "                                        ";
  787.                         }
  788.                         // line 312
  789.                         echo "                                        <!--<div class=\"ec-numberInput\"><span>";
  790.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  791.                         echo "</span>
  792.                                             ";
  793.                         // line 313
  794.                         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.'313$this->source); })()), "quantity", [], "any"falsefalsefalse313), 'widget', ["attr" => ["class" => "quantity"]]);
  795.                         echo "
  796.                                             ";
  797.                         // line 314
  798.                         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.'314$this->source); })()), "quantity", [], "any"falsefalsefalse314), 'errors');
  799.                         echo "
  800.                                         </div>-->
  801.                                     </div>
  802.                                     ";
  803.                         // line 317
  804.                         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.'317$this->source); })()), 'rest');
  805.                         echo "
  806.                                 </form>
  807.                                 <!--<div class=\"ec-productRole__btn\">
  808.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  809.                         // line 320
  810.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse320), "html"nulltrue);
  811.                         echo "\" form=\"productForm";
  812.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse320), "html"nulltrue);
  813.                         echo "\">
  814.                                         ";
  815.                         // line 321
  816.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  817.                         echo "
  818.                                     </button>
  819.                                 </div>-->
  820.                             ";
  821.                     } else {
  822.                         // line 325
  823.                         echo "                                <!--<div class=\"ec-productRole__btn\">
  824.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  825.                                         ";
  826.                         // line 327
  827.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  828.                         echo "
  829.                                     </button>
  830.                                 </div>-->
  831.                             ";
  832.                     }
  833.                     // line 331
  834.                     echo "                        </li>
  835.                     ";
  836.                     ++$context['loop']['index0'];
  837.                     ++$context['loop']['index'];
  838.                     $context['loop']['first'] = false;
  839.                     if (isset($context['loop']['length'])) {
  840.                         --$context['loop']['revindex0'];
  841.                         --$context['loop']['revindex'];
  842.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  843.                     }
  844.                 }
  845.                 $_parent $context['_parent'];
  846.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  847.                 $context array_intersect_key($context$_parent) + $_parent;
  848.                 // line 333
  849.                 echo "                </ul>
  850.             </div>
  851.             <div class=\"ec-modal\">
  852.                 <div class=\"ec-modal-overlay\">
  853.                     <div class=\"ec-modal-wrap\">
  854.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  855.                 // line 338
  856.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  857.                 echo "\" alt=\"\"/></span></span>
  858.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  859.                 // line 339
  860.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  861.                 echo "</div>
  862.                         <div class=\"ec-modal-box\">
  863.                             <div class=\"ec-role\">
  864.                                 <span class=\"ec-inlineBtn--cancel\">";
  865.                 // line 342
  866.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  867.                 echo "</span>
  868.                                 <a href=\"";
  869.                 // line 343
  870.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  871.                 echo "\" class=\"ec-inlineBtn--action\">";
  872.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  873.                 echo "</a>
  874.                             </div>
  875.                         </div>
  876.                     </div>
  877.                 </div>
  878.             </div>
  879.             <div class=\"ec-pagerRole\">
  880.                 ";
  881.                 // line 350
  882.                 $this->loadTemplate("pager.twig""Product/list.twig"350)->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.'350$this->source); })()), "paginationData", [], "any"falsefalsefalse350)]));
  883.                 // line 351
  884.                 echo "            </div>
  885.         ";
  886.             }
  887.             // line 353
  888.             echo "    ";
  889.         }
  890.         
  891.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  892.         
  893.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  894.     }
  895.     public function getTemplateName()
  896.     {
  897.         return "Product/list.twig";
  898.     }
  899.     public function isTraitable()
  900.     {
  901.         return false;
  902.     }
  903.     public function getDebugInfo()
  904.     {
  905.         return array (  916 => 353,  912 => 351,  910 => 350,  898 => 343,  894 => 342,  888 => 339,  884 => 338,  877 => 333,  862 => 331,  855 => 327,  851 => 325,  844 => 321,  838 => 320,  832 => 317,  826 => 314,  822 => 313,  817 => 312,  814 => 311,  808 => 308,  804 => 307,  801 => 306,  799 => 305,  794 => 303,  790 => 302,  787 => 301,  785 => 300,  775 => 298,  772 => 297,  770 => 296,  765 => 293,  759 => 291,  757 => 290,  754 => 289,  746 => 287,  740 => 285,  737 => 284,  735 => 283,  733 => 282,  729 => 280,  726 => 278,  724 => 277,  721 => 276,  715 => 274,  712 => 273,  706 => 271,  700 => 269,  697 => 268,  695 => 267,  690 => 266,  687 => 265,  685 => 264,  682 => 263,  679 => 262,  673 => 260,  667 => 258,  664 => 257,  661 => 256,  655 => 254,  649 => 252,  646 => 251,  643 => 250,  637 => 248,  631 => 246,  628 => 245,  625 => 244,  623 => 243,  621 => 242,  618 => 241,  616 => 240,  610 => 238,  605 => 236,  600 => 235,  598 => 234,  592 => 232,  590 => 231,  587 => 230,  581 => 228,  577 => 227,  573 => 226,  570 => 225,  565 => 223,  561 => 222,  558 => 221,  555 => 220,  549 => 218,  545 => 217,  539 => 215,  535 => 214,  529 => 212,  525 => 211,  519 => 209,  515 => 208,  509 => 206,  505 => 205,  502 => 204,  492 => 202,  487 => 200,  484 => 199,  467 => 198,  463 => 196,  461 => 195,  457 => 193,  450 => 189,  446 => 188,  442 => 186,  440 => 185,  437 => 184,  431 => 182,  425 => 180,  423 => 179,  419 => 177,  416 => 176,  412 => 173,  409 => 172,  406 => 171,  400 => 169,  397 => 168,  394 => 167,  391 => 159,  388 => 158,  385 => 157,  379 => 155,  376 => 154,  373 => 153,  370 => 152,  367 => 151,  364 => 150,  358 => 148,  356 => 147,  351 => 146,  348 => 145,  346 => 144,  343 => 143,  322 => 140,  316 => 139,  313 => 138,  295 => 137,  293 => 136,  286 => 134,  281 => 131,  269 => 129,  265 => 128,  260 => 127,  256 => 126,  252 => 124,  246 => 121,  243 => 120,  241 => 119,  221 => 101,  211 => 100,  184 => 82,  174 => 75,  143 => 47,  115 => 21,  101 => 20,  93 => 19,  76 => 18,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  906.     }
  907.     public function getSourceContext()
  908.     {
  909.         return new Source("{#
  910. This file is part of EC-CUBE
  911. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  912. http://www.ec-cube.co.jp/
  913. For the full copyright and license information, please view the LICENSE
  914. file that was distributed with this source code.
  915. #}
  916. {% extends 'default_frame.twig' %}
  917. {% set body_class = 'product_page' %}
  918. {% block javascript %}
  919.     <script>
  920.         eccube.productsClassCategories = {
  921.             {% for Product in pagination %}
  922.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  923.             {% endfor %}
  924.         };
  925.         \$(function() {
  926.             // 表示件数を変更
  927.             \$('.disp-number').change(function() {
  928.                 var dispNumber = \$(this).val();
  929.                 \$('#disp_number').val(dispNumber);
  930.                 \$('#pageno').val(1);
  931.                 \$(\"#form1\").submit();
  932.             });
  933.             // 並び順を変更
  934.             \$('.order-by').change(function() {
  935.                 var orderBy = \$(this).val();
  936.                 \$('#orderby').val(orderBy);
  937.                 \$('#pageno').val(1);
  938.                 \$(\"#form1\").submit();
  939.             });
  940.             \$('.add-cart').on('click', function(e) {
  941.                 var \$form = \$(this).parents('li').find('form');
  942.                 // 個数フォームのチェック
  943.                 var \$quantity = \$form.parent().find('.quantity');
  944.                 if (\$quantity.val() < 1) {
  945.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  946.                     setTimeout(function() {
  947.                         loadingOverlay('hide');
  948.                     }, 100);
  949.                     return true;
  950.                 } else {
  951.                     \$quantity[0].setCustomValidity('');
  952.                 }
  953.                 e.preventDefault();
  954.                 \$.ajax({
  955.                     url: \$form.attr('action'),
  956.                     type: \$form.attr('method'),
  957.                     data: \$form.serialize(),
  958.                     dataType: 'json',
  959.                     beforeSend: function(xhr, settings) {
  960.                         // Buttonを無効にする
  961.                         \$('.add-cart').prop('disabled', true);
  962.                     }
  963.                 }).done(function(data) {
  964.                     // レスポンス内のメッセージをalertで表示
  965.                     \$.each(data.messages, function() {
  966.                         \$('#ec-modal-header').text(this);
  967.                     });
  968.                     \$('.ec-modal').show()
  969.                     // カートブロックを更新する
  970.                     \$.ajax({
  971.                         url: '{{ url('block_cart') }}',
  972.                         type: 'GET',
  973.                         dataType: 'html'
  974.                     }).done(function(html) {
  975.                         \$('.ec-headerRole__cart').html(html);
  976.                     });
  977.                 }).fail(function(data) {
  978.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  979.                 }).always(function(data) {
  980.                     // Buttonを有効にする
  981.                     \$('.add-cart').prop('disabled', false);
  982.                 });
  983.             });
  984.         });
  985.         \$('.ec-modal-wrap').on('click', function(e) {
  986.             // モーダル内の処理は外側にバブリングさせない
  987.             e.stopPropagation();
  988.         });
  989.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  990.             \$('.ec-modal').hide()
  991.         });
  992.     </script>
  993. {% endblock %}
  994. {% block main %}
  995. <style>
  996.     .status_icon_topright {
  997.         position: absolute;
  998.         top: 0;
  999.         right: 0;
  1000.         left: auto;
  1001.         width: 60px;
  1002.         height: 60px;
  1003.     }
  1004.     .status_icon_bottomleft {
  1005.         position: absolute;
  1006.         bottom: 0;
  1007.         right: auto;
  1008.         left: 0;
  1009.         width: 60px;
  1010.         height: 60px;
  1011.     }
  1012. </style>
  1013. {% if search_form.category_id.vars.errors|length > 0 %}
  1014.         <div class=\"ec-searchnavRole\">
  1015.             <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  1016.         </div>
  1017.     {% else %}
  1018.         <div class=\"ec-searchnavRole\">
  1019.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  1020.                 {% for item in search_form %}
  1021.                     <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  1022.                            name=\"{{ item.vars.full_name }}\"
  1023.                            {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  1024.                 {% endfor %}
  1025.             </form>
  1026.             <div class=\"ec-searchnavRole__topicpath\">
  1027.                 <ol class=\"ec-topicpath\">
  1028.                     <li class=\"ec-topicpath__item\"><a href=\"{{ url('product_list') }}\">{{ '全て'|trans }}</a>
  1029.                     </li>
  1030.                     {% if Category is not null %}
  1031.                         {% for Path in Category.path %}
  1032.                             <li class=\"ec-topicpath__divider\">|</li>
  1033.                             <li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\"><a
  1034.                                         href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a>
  1035.                             </li>
  1036.                         {% endfor %}
  1037.                     {% endif %}
  1038.                     {# パンくずリストに検索条件の内容も追加する。検索ワード、タグ、価格帯。 #}
  1039.                     {% if search_form.vars.value and (search_form.vars.value.name or search_form.vars.value.tag_id or search_form.vars.value.price_id) %}
  1040.                         <li class=\"ec-topicpath__item\">{{ ' 検索条件'|trans }}</li>
  1041.                         {% if search_form.vars.value and search_form.vars.value.name %}
  1042.                             <li class=\"ec-topicpath__item\">{{ '「%name%」'|trans({ '%name%': search_form.vars.value.name }) }}</li>
  1043.                         {% endif %}
  1044.                         {% if search_form.vars.value and search_form.vars.value.tag_id %}
  1045.                             {% set Tags = repository('Eccube\\\\Entity\\\\Tag').getList() %}
  1046.                             {% set now_tag_id = app.request.query.get('tag_id') %}
  1047.                             {% set current_tag = Tags|filter(tag => tag.id == now_tag_id)|first %}
  1048.                             {% if current_tag %}
  1049.                                 <li class=\"ec-topicpath__item\">{{ '「%Tag.name%」'|trans({ '%Tag.name%': current_tag.name }) }}</li>
  1050.                             {% endif %}
  1051.                         {% endif %}
  1052.                         {% if search_form.vars.value and search_form.vars.value.price_id %}
  1053.                             {% set price_ranges = {
  1054.                                 1: '10万円未満',
  1055.                                 2: '10万円以上~20万円未満',
  1056.                                 3: '20万円以上~30万円未満',
  1057.                                 4: '30万円以上~50万円未満',
  1058.                                 5: '50万円以上~100万円未満',
  1059.                                 6: '100万円以上',
  1060.                             } %}
  1061.                             {% set now_price_id = app.request.query.get('price_id') %}
  1062.                             {% if price_ranges[now_price_id] is defined %}
  1063.                                 <li class=\"ec-topicpath__item\">{{ '「%price_range%」'|trans({ '%price_range%': price_ranges[now_price_id] }) }}</li>
  1064.                             {% endif %}
  1065.                         {% endif %}
  1066.                     {% endif %}
  1067.                 </ol>
  1068.             </div>
  1069.             {# 商品一覧ページのサーチフィルター部分のブロックを挿入。 #}
  1070.             {% include 'Block/product_list_filter.twig' %}
  1071.             <div class=\"ec-searchnavRole__infos\">
  1072.                 <div class=\"ec-searchnavRole__counter\">
  1073.                     {% if pagination.totalItemCount > 0 %}
  1074.                         {{ '<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  1075.                     {% else %}
  1076.                         <span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
  1077.                     {% endif %}
  1078.                 </div>
  1079.                 {% if pagination.totalItemCount > 0 %}
  1080.                     <div class=\"ec-searchnavRole__actions\">
  1081.                         <div class=\"ec-select\">
  1082.                             {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  1083.                             {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }}
  1084.                         </div>
  1085.                     </div>
  1086.                 {% endif %}
  1087.             </div>
  1088.         </div>
  1089.         {% if pagination.totalItemCount > 0 %}
  1090.             <div class=\"ec-shelfRole\">
  1091.                 <ul class=\"ec-shelfGrid\">
  1092.                     {% for Product in pagination %}
  1093.                         <li class=\"ec-shelfGrid__item\">
  1094.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1095.                                 <p class=\"ec-shelfGrid__item-image\" style=\"position:relative;\">
  1096.                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  1097.                                     {# 商品一覧画像に、商品タグに合わせた画像をオーバーレイする。 #}
  1098.                                     {% if Product.Tags is not empty %}
  1099.                                         {% if Product.Tags|filter(tag => tag.id == 6)|length > 0 %} {# id=6、特価品(在庫のみ) #}
  1100.                                             <img src=\"{{ asset('assets/img/productlist/itemlist_icon_sale-instock.png') }}\" alt=\"Small Image\" class=\"status_icon_bottomleft\" />
  1101.                                         {% endif %}
  1102.                                         {% if Product.Tags|filter(tag => tag.id == 7)|length > 0 %} {# id=7、特価品(取り寄せ対応) #}
  1103.                                             <img src=\"{{ asset('assets/img/productlist/itemlist_icon_sale-order.png') }}\" alt=\"Small Image\" class=\"status_icon_bottomleft\" />
  1104.                                         {% endif %}
  1105.                                         {% if Product.Tags|filter(tag => tag.id == 8)|length > 0 %} {# id=8、アウトレット品 #}
  1106.                                             <img src=\"{{ asset('assets/img/productlist/itemlist_icon_outlet.png') }}\" alt=\"Small Image\" class=\"status_icon_bottomleft\" />
  1107.                                         {% endif %}
  1108.                                         {% if Product.Tags|filter(tag => tag.id == 9)|length > 0 %} {# id=9、在庫品 #}
  1109.                                             <img src=\"{{ asset('assets/img/productlist/itemlist_icon_instock.png') }}\" alt=\"Small Image\" class=\"status_icon_topright\" />
  1110.                                         {% endif %}
  1111.                                         {% if Product.Tags|filter(tag => tag.id == 10)|length > 0 %} {# id=10、メーカー取寄せ #}
  1112.                                             <img src=\"{{ asset('assets/img/productlist/itemlist_icon_order.png') }}\" alt=\"Small Image\" class=\"status_icon_topright\" />
  1113.                                         {% endif %}
  1114.                                     {% endif %}
  1115.                                 </p>
  1116.                                 {% if Product.Maker %} 
  1117.                                     <p class=\"ec-shelfGrid__item-maker\">{{ Product.Maker.nameEn }}</p>
  1118.                                 {% endif %}
  1119.                                 <p>
  1120.                                     {{ Product.name }}
  1121.                                     {% if Product.model_year %} 
  1122.                                         {{ Product.model_year }}{{ '年モデル'|trans }}
  1123.                                     {% endif %}
  1124.                                 </p>
  1125.                                 {% if Product.description_list %}
  1126.                                     <!--<p>{{ Product.description_list|raw|nl2br }}</p>-->
  1127.                                 {% endif %}
  1128.                                 {# 定価表示と現金特価で表示ラベルを変更する。 #}
  1129.                                 {% if Product.ask_price == 'teika_price' %} 
  1130.                                     <p class=\"ec-color-red\">{{ '販売価格(税込)' }}</p>
  1131.                                 {% else %}
  1132.                                     <p class=\"ec-color-red\">{{ '現金特価(税込)'|trans }}</p>
  1133.                                 {% endif %}
  1134.                                 {# 商品の価格・カート表示フラグに応じた表記にする。 #}
  1135.                                 <p class=\"price02-default\"><strong class=\"ec-color-red ec-font-size-4\">
  1136.                                     {% if Product.hasProductClass %}
  1137.                                     {# 規格を持つ商品の場合の処理 #}
  1138.                                         {% if Product.ask_price == 'teika_price' %}
  1139.                                             {% if Product.getPrice01Min == Product.getPrice01Max %}
  1140.                                                 {{ Product.Price01IncTaxMin|price }}
  1141.                                             {% else %}
  1142.                                                 {{ Product.Price01IncTaxMin|price }} ~
  1143.                                             {% endif %}
  1144.                                         {% elseif Product.ask_price == 'hidden_price' %}
  1145.                                             {% if Product.info_comment2 is null %}
  1146.                                                 {{ 'びっくり大特価!'|trans }}
  1147.                                             {% else %}
  1148.                                                 {{ Product.info_comment2|trans }}
  1149.                                             {% endif %}
  1150.                                         {% else %}
  1151.                                             {% if Product.getPrice02Min == Product.getPrice02Max %}
  1152.                                                 {{ (Product.getPrice02IncTaxMin / 1.05)|price }}
  1153.                                             {% else %}
  1154.                                                 {{ (Product.getPrice02IncTaxMin / 1.05)|price }} ~
  1155.                                             {% endif %}
  1156.                                         {% endif %}
  1157.                                     {% else %}
  1158.                                     {# 規格を持たない商品の場合の処理 #}
  1159.                                         {% if Product.ask_price == 'teika_price' %}
  1160.                                             {{ (Product.getPrice01IncTaxMin)|price }}
  1161.                                         {% elseif Product.ask_price == 'hidden_price' %}
  1162.                                             {% if Product.info_comment2 is null %}
  1163.                                                 {{ 'びっくり大特価!'|trans }}
  1164.                                             {% else %}
  1165.                                                 {{ Product.info_comment2|trans }}
  1166.                                             {% endif %}
  1167.                                         {% else %}
  1168.                                             {{ (Product.getPrice02IncTaxMin / 1.05)|price }}
  1169.                                         {% endif %}
  1170.                                     {% endif %}
  1171.                                 {# end 商品の価格・カート表示フラグに応じた表記にする。 #}
  1172.                                 </strong></p>
  1173.                                 {# 定価表示を追加する。 #}
  1174.                                 <p><span class=\"ec-color-grey ec-font-size-2\">通常販売価格</span></p>
  1175.                                 <p><span class=\"ec-color-grey ec-font-size-2\">
  1176.                                     {% if Product.hasProductClass %}
  1177.                                     {# 規格を持つ商品の場合の処理 #}
  1178.                                         {% if Product.getPrice01Min == Product.getPrice01Max %}
  1179.                                             {{ Product.getPrice01IncTaxMin|price }}
  1180.                                         {% else %}
  1181.                                             {{ Product.Price01IncTaxMin|price }} ~ {{ Product.Price01IncTaxMax|price }}
  1182.                                         {% endif %}
  1183.                                     {% else %}
  1184.                                     {# 規格を持たない商品の場合の処理 #}
  1185.                                         {{ Product.getPrice01IncTaxMin|price }}
  1186.                                     {% endif %}
  1187.                                 </span></p>
  1188.                             </a>
  1189.                             {% if Product.stock_find %}
  1190.                                 {% set form = forms[Product.id] %}
  1191.                                 <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1192.                                     <div class=\"ec-productRole__actions\">
  1193.                                         {% if form.classcategory_id1 is defined %}
  1194.                                             <!--<div class=\"ec-select\">
  1195.                                                 {{ form_widget(form.classcategory_id1) }}
  1196.                                                 {{ form_errors(form.classcategory_id1) }}
  1197.                                             </div>-->
  1198.                                             {% if form.classcategory_id2 is defined %}
  1199.                                                 <!--<div class=\"ec-select\">
  1200.                                                     {{ form_widget(form.classcategory_id2) }}
  1201.                                                     {{ form_errors(form.classcategory_id2) }}
  1202.                                                 </div>-->
  1203.                                             {% endif %}
  1204.                                         {% endif %}
  1205.                                         <!--<div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1206.                                             {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1207.                                             {{ form_errors(form.quantity) }}
  1208.                                         </div>-->
  1209.                                     </div>
  1210.                                     {{ form_rest(form) }}
  1211.                                 </form>
  1212.                                 <!--<div class=\"ec-productRole__btn\">
  1213.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1214.                                         {{ 'カートに入れる'|trans }}
  1215.                                     </button>
  1216.                                 </div>-->
  1217.                             {% else %}
  1218.                                 <!--<div class=\"ec-productRole__btn\">
  1219.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1220.                                         {{ 'ただいま品切れ中です。'|trans }}
  1221.                                     </button>
  1222.                                 </div>-->
  1223.                             {% endif %}
  1224.                         </li>
  1225.                     {% endfor %}
  1226.                 </ul>
  1227.             </div>
  1228.             <div class=\"ec-modal\">
  1229.                 <div class=\"ec-modal-overlay\">
  1230.                     <div class=\"ec-modal-wrap\">
  1231.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1232.                         <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1233.                         <div class=\"ec-modal-box\">
  1234.                             <div class=\"ec-role\">
  1235.                                 <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1236.                                 <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1237.                             </div>
  1238.                         </div>
  1239.                     </div>
  1240.                 </div>
  1241.             </div>
  1242.             <div class=\"ec-pagerRole\">
  1243.                 {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  1244.             </div>
  1245.         {% endif %}
  1246.     {% endif %}
  1247. {% endblock %}""Product/list.twig""/home/xs0607itami/xs0607itami.xsrv.jp/public_html/app/template/default/Product/list.twig");
  1248.     }
  1249. }