var/cache/dev/twig/f0/f02b79365b90c8777710cae4ccd1b39880baabfb2a5f27147ddf5b96031756e7.php line 49

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. /* __string_template__d72b489d39916e23c88f936a6c884b4013bd2d3de5dd430e1283e27674fa7a4c */
  14. class __TwigTemplate_93552fefc6f508c03b1bfa33e78d1fd5f30415a77fad6178ea4abec95b009f0b 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 1
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__d72b489d39916e23c88f936a6c884b4013bd2d3de5dd430e1283e27674fa7a4c"));
  37.         // line 3
  38.         $context["body_class"] = "product_page";
  39.         // line 1
  40.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__d72b489d39916e23c88f936a6c884b4013bd2d3de5dd430e1283e27674fa7a4c"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.     }
  45.     // line 5
  46.     public function block_javascript($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  51.         // line 6
  52.         echo "    <script>
  53.         eccube.productsClassCategories = {
  54.             ";
  55.         // line 8
  56.         $context['_parent'] = $context;
  57.         $context['_seq'] = twig_ensure_traversable(($context["pagination"] ?? null));
  58.         $context['loop'] = [
  59.           'parent' => $context['_parent'],
  60.           'index0' => 0,
  61.           'index'  => 1,
  62.           'first'  => true,
  63.         ];
  64.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  65.             $length count($context['_seq']);
  66.             $context['loop']['revindex0'] = $length 1;
  67.             $context['loop']['revindex'] = $length;
  68.             $context['loop']['length'] = $length;
  69.             $context['loop']['last'] = === $length;
  70.         }
  71.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  72.             // line 9
  73.             echo "            \"";
  74.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse9), "js"), "html"nulltrue);
  75.             echo "\": ";
  76.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  77.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse9) == false)) {
  78.                 echo ", ";
  79.             }
  80.             // line 10
  81.             echo "            ";
  82.             ++$context['loop']['index0'];
  83.             ++$context['loop']['index'];
  84.             $context['loop']['first'] = false;
  85.             if (isset($context['loop']['length'])) {
  86.                 --$context['loop']['revindex0'];
  87.                 --$context['loop']['revindex'];
  88.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  89.             }
  90.         }
  91.         $_parent $context['_parent'];
  92.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  93.         $context array_intersect_key($context$_parent) + $_parent;
  94.         // line 11
  95.         echo "        };
  96.         \$(function() {
  97.             // 表示件数を変更
  98.             \$('.disp-number').change(function() {
  99.                 var dispNumber = \$(this).val();
  100.                 \$('#disp_number').val(dispNumber);
  101.                 \$('#pageno').val(1);
  102.                 \$(\"#form1\").submit();
  103.             });
  104.             // 並び順を変更
  105.             \$('.order-by').change(function() {
  106.                 var orderBy = \$(this).val();
  107.                 \$('#orderby').val(orderBy);
  108.                 \$('#pageno').val(1);
  109.                 \$(\"#form1\").submit();
  110.             });
  111.             \$('.add-cart').on('click', function(e) {
  112.                 var \$form = \$(this).parents('li').find('form');
  113.                 // 個数フォームのチェック
  114.                 var \$quantity = \$form.parent().find('.quantity');
  115.                 if (\$quantity.val() < 1) {
  116.                     \$quantity[0].setCustomValidity('";
  117.         // line 37
  118.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  119.         echo "');
  120.                     setTimeout(function() {
  121.                         loadingOverlay('hide');
  122.                     }, 100);
  123.                     return true;
  124.                 } else {
  125.                     \$quantity[0].setCustomValidity('');
  126.                 }
  127.                 e.preventDefault();
  128.                 \$.ajax({
  129.                     url: \$form.attr('action'),
  130.                     type: \$form.attr('method'),
  131.                     data: \$form.serialize(),
  132.                     dataType: 'json',
  133.                     beforeSend: function(xhr, settings) {
  134.                         // Buttonを無効にする
  135.                         \$('.add-cart').prop('disabled', true);
  136.                     }
  137.                 }).done(function(data) {
  138.                     // レスポンス内のメッセージをalertで表示
  139.                     \$.each(data.messages, function() {
  140.                         \$('#ec-modal-header').text(this);
  141.                     });
  142.                     \$('.ec-modal').show()
  143.                     // カートブロックを更新する
  144.                     \$.ajax({
  145.                         url: '";
  146.         // line 65
  147.         echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("block_cart");
  148.         echo "',
  149.                         type: 'GET',
  150.                         dataType: 'html'
  151.                     }).done(function(html) {
  152.                         \$('.ec-headerRole__cart').html(html);
  153.                     });
  154.                 }).fail(function(data) {
  155.                     alert('";
  156.         // line 72
  157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  158.         echo "');
  159.                 }).always(function(data) {
  160.                     // Buttonを有効にする
  161.                     \$('.add-cart').prop('disabled', false);
  162.                 });
  163.             });
  164.         });
  165.         \$('.ec-modal-wrap').on('click', function(e) {
  166.             // モーダル内の処理は外側にバブリングさせない
  167.             e.stopPropagation();
  168.         });
  169.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  170.             \$('.ec-modal').hide()
  171.         });
  172.     </script>
  173. ";
  174.         
  175.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  176.     }
  177.     // line 90
  178.     public function block_main($context, array $blocks = [])
  179.     {
  180.         $macros $this->macros;
  181.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  183.         // line 91
  184.         echo "
  185.     <section class=\"normal_list_section\">
  186.     ";
  187.         // line 95
  188.         echo "    <div class=\"seach_resutl seach_resutl__sp\">
  189.         <ul class=\"seach_resutl__list\">
  190.             ";
  191.         // line 98
  192.         echo "            ";
  193.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "vars", [], "any"falsefalsefalse98), "value", [], "any"falsefalsefalse98) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "vars", [], "any"falsefalsefalse98), "value", [], "any"falsefalsefalse98), "name", [], "any"falsefalsefalse98))) {
  194.             // line 99
  195.             echo "                <li class=\"ec-topicpath__item\">";
  196.             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, ($context["search_form"] ?? null), "vars", [], "any"falsefalsefalse99), "value", [], "any"falsefalsefalse99), "name", [], "any"falsefalsefalse99)]), "html"nulltrue);
  197.             echo "</li>
  198.             ";
  199.         }
  200.         // line 101
  201.         echo "
  202.             ";
  203.         // line 103
  204.         echo "            ";
  205.         if ( !(null === ($context["Category"] ?? null))) {
  206.             // line 104
  207.             echo "                ";
  208.             $context['_parent'] = $context;
  209.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, ($context["Category"] ?? null), "path", [], "any"falsefalsefalse104));
  210.             foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
  211.                 // line 105
  212.                 echo "                    ";
  213.                 // line 106
  214.                 echo "                    ";
  215.                 if (((twig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse106) != 34) && (twig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse106) != 7))) {
  216.                     // line 107
  217.                     echo "                        ";
  218.                     $context["current_id"] = twig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse107);
  219.                     // line 108
  220.                     echo "                        ";
  221.                     $context["current_name"] = twig_get_attribute($this->env$this->source$context["Path"], "name", [], "any"falsefalsefalse108);
  222.                     // line 109
  223.                     echo "                        <li>";
  224.                     echo twig_escape_filter($this->env, ($context["current_name"] ?? null), "html"nulltrue);
  225.                     echo "</li>
  226.                     ";
  227.                 }
  228.                 // line 111
  229.                 echo "                ";
  230.             }
  231.             $_parent $context['_parent'];
  232.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
  233.             $context array_intersect_key($context$_parent) + $_parent;
  234.             // line 112
  235.             echo "            ";
  236.         }
  237.         // line 113
  238.         echo "
  239.             ";
  240.         // line 115
  241.         echo "            ";
  242.         if (array_key_exists("ProductItems"$context)) {
  243.             // line 116
  244.             echo "                ";
  245.             $context['_parent'] = $context;
  246.             $context['_seq'] = twig_ensure_traversable(($context["ProductItems"] ?? null));
  247.             foreach ($context['_seq'] as $context["_key"] => $context["ProductItem"]) {
  248.                 // line 117
  249.                 echo "                    ";
  250.                 $context["name"] = ("productplus_" twig_get_attribute($this->env$this->source$context["ProductItem"], "id", [], "any"falsefalsefalse117));
  251.                 // line 118
  252.                 echo "
  253.                     ";
  254.                 // line 119
  255.                 if ((twig_get_attribute($this->env$this->source$context["ProductItem"], "input_type", [], "any"falsefalsefalse119) >= twig_constant("Plugin\\ProductPlus42\\Entity\\ProductItem::SELECT_TYPE"))) {
  256.                     // line 120
  257.                     echo "
  258.                         ";
  259.                     // line 121
  260.                     $context['_parent'] = $context;
  261.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (($__internal_compile_0 = ($context["form"] ?? null)) && is_array($__internal_compile_0) || $__internal_compile_0 instanceof ArrayAccess ? ($__internal_compile_0[($context["name"] ?? null)] ?? null) : null), "vars", [], "any"falsefalsefalse121), "choices", [], "any"falsefalsefalse121));
  262.                     foreach ($context['_seq'] as $context["_key"] => $context["choice"]) {
  263.                         // line 122
  264.                         echo "                            ";
  265.                         if (twig_in_filter(twig_get_attribute($this->env$this->source$context["choice"], "value", [], "any"falsefalsefalse122), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (($__internal_compile_1 = ($context["form"] ?? null)) && is_array($__internal_compile_1) || $__internal_compile_1 instanceof ArrayAccess ? ($__internal_compile_1[($context["name"] ?? null)] ?? null) : null), "vars", [], "any"falsefalsefalse122), "data", [], "any"falsefalsefalse122))) {
  266.                             // line 123
  267.                             echo "                                <li>";
  268.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["choice"], "label", [], "any"falsefalsefalse123), "html"nulltrue);
  269.                             echo "</li>
  270.                             ";
  271.                         }
  272.                         // line 125
  273.                         echo "                        ";
  274.                     }
  275.                     $_parent $context['_parent'];
  276.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['choice'], $context['_parent'], $context['loop']);
  277.                     $context array_intersect_key($context$_parent) + $_parent;
  278.                     // line 126
  279.                     echo "
  280.                     ";
  281.                 } else {
  282.                     // line 128
  283.                     echo "
  284.                     ";
  285.                 }
  286.                 // line 130
  287.                 echo "                ";
  288.             }
  289.             $_parent $context['_parent'];
  290.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductItem'], $context['_parent'], $context['loop']);
  291.             $context array_intersect_key($context$_parent) + $_parent;
  292.             // line 131
  293.             echo "            ";
  294.         }
  295.         // line 132
  296.         echo "
  297.             ";
  298.         // line 134
  299.         echo "            ";
  300.         if ((twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "hmin", [], "any"falsefalsefalse134) || twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "hmax", [], "any"falsefalsefalse134))) {
  301.             // line 135
  302.             echo "                <li>
  303.                     高さ
  304.                     ";
  305.             // line 137
  306.             if (twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "hmin", [], "any"falsefalsefalse137)) {
  307.                 // line 138
  308.                 echo "                        ";
  309.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "hmin", [], "any"falsefalsefalse138), "html"nulltrue);
  310.                 echo "mm
  311.                     ";
  312.             }
  313.             // line 140
  314.             echo "                    <span>~</span>
  315.                     ";
  316.             // line 141
  317.             if (twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "hmax", [], "any"falsefalsefalse141)) {
  318.                 // line 142
  319.                 echo "                        ";
  320.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "hmax", [], "any"falsefalsefalse142), "html"nulltrue);
  321.                 echo "mm
  322.                     ";
  323.             }
  324.             // line 144
  325.             echo "                </li>
  326.             ";
  327.         }
  328.         // line 146
  329.         echo "
  330.             ";
  331.         // line 148
  332.         echo "            ";
  333.         if ((twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "wmin", [], "any"falsefalsefalse148) || twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "wmax", [], "any"falsefalsefalse148))) {
  334.             // line 149
  335.             echo "                <li>
  336.                     幅
  337.                     ";
  338.             // line 151
  339.             if (twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "wmin", [], "any"falsefalsefalse151)) {
  340.                 // line 152
  341.                 echo "                        ";
  342.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "wmin", [], "any"falsefalsefalse152), "html"nulltrue);
  343.                 echo "mm
  344.                     ";
  345.             }
  346.             // line 154
  347.             echo "                    <span>~</span>
  348.                     ";
  349.             // line 155
  350.             if (twig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "wmax", [], "any"falsefalsefalse155)) {
  351.                 // line 156
  352.                 echo "                        ";
  353.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, ($context["searchData"] ?? null), "wmax", [], "any"falsefalsefalse156), "html"nulltrue);
  354.                 echo "mm
  355.                     ";
  356.             }
  357.             // line 158
  358.             echo "                </li>
  359.             ";
  360.         }
  361.         // line 160
  362.         echo "
  363.             ";
  364.         // line 162
  365.         echo "            ";
  366.         if (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "pmin", [], "any"falsefalsefalse162), "vars", [], "any"falsefalsefalse162), "value", [], "any"falsefalsefalse162) != "") || (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "pmax", [], "any"falsefalsefalse162), "vars", [], "any"falsefalsefalse162), "value", [], "any"falsefalsefalse162) != ""))) {
  367.             // line 163
  368.             echo "                <li>
  369.                     ";
  370.             // line 164
  371.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "pmin", [], "any"falsefalsefalse164), "vars", [], "any"falsefalsefalse164), "value", [], "any"falsefalsefalse164) != "")) {
  372.                 // line 165
  373.                 echo "                        ";
  374.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "pmin", [], "any"falsefalsefalse165), "vars", [], "any"falsefalsefalse165), "value", [], "any"falsefalsefalse165)), "html"nulltrue);
  375.                 echo "円
  376.                     ";
  377.             }
  378.             // line 167
  379.             echo "                    <span>~</span>
  380.                     ";
  381.             // line 168
  382.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "pmax", [], "any"falsefalsefalse168), "vars", [], "any"falsefalsefalse168), "value", [], "any"falsefalsefalse168) != "")) {
  383.                 // line 169
  384.                 echo "                        ";
  385.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["form"] ?? null), "pmax", [], "any"falsefalsefalse169), "vars", [], "any"falsefalsefalse169), "value", [], "any"falsefalsefalse169)), "html"nulltrue);
  386.                 echo "円
  387.                     ";
  388.             }
  389.             // line 171
  390.             echo "                </li>
  391.             ";
  392.         }
  393.         // line 173
  394.         echo "        </ul>
  395.         ";
  396.         // line 175
  397.         echo "        ";
  398.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "vars", [], "any"falsefalsefalse175), "value", [], "any"falsefalsefalse175) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "vars", [], "any"falsefalsefalse175), "value", [], "any"falsefalsefalse175), "name", [], "any"falsefalsefalse175))) {
  399.             // line 176
  400.             echo "            <a class=\"searchResetLink\">検索クリア</a>
  401.         ";
  402.         } else {
  403.             // line 178
  404.             echo "        ";
  405.         }
  406.         // line 179
  407.         echo "    </div><!--/.seach_resutl-->
  408.     ";
  409.         // line 181
  410.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "category_id", [], "any"falsefalsefalse181), "vars", [], "any"falsefalsefalse181), "errors", [], "any"falsefalsefalse181)) > 0)) {
  411.             // line 182
  412.             echo "        <div class=\"ec-searchnavRole\">
  413.             <p class=\"errormsg text-danger\">";
  414.             // line 183
  415.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  416.             echo "</p>
  417.         </div>
  418.     ";
  419.         } else {
  420.             // line 186
  421.             echo "
  422.         <div class=\"ec-searchnavRole\">
  423.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  424.                 ";
  425.             // line 189
  426.             $context['_parent'] = $context;
  427.             $context['_seq'] = twig_ensure_traversable(($context["search_form"] ?? null));
  428.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  429.                 // line 190
  430.                 echo "                ";
  431.                 if (twig_test_iterable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse190), "value", [], "any"falsefalsefalse190))) {
  432.                     // line 191
  433.                     echo "                    ";
  434.                     $context['_parent'] = $context;
  435.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse191), "value", [], "any"falsefalsefalse191));
  436.                     foreach ($context['_seq'] as $context["_key"] => $context["value"]) {
  437.                         // line 192
  438.                         echo "                    <input type=\"hidden\"
  439.                            name=\"";
  440.                         // line 193
  441.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse193), "full_name", [], "any"falsefalsefalse193), "html"nulltrue);
  442.                         echo "[]\"
  443.                            value=\"";
  444.                         // line 194
  445.                         echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  446.                         echo "\"/>
  447.                     ";
  448.                     }
  449.                     $_parent $context['_parent'];
  450.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['value'], $context['_parent'], $context['loop']);
  451.                     $context array_intersect_key($context$_parent) + $_parent;
  452.                     // line 196
  453.                     echo "                ";
  454.                 } else {
  455.                     // line 197
  456.                     echo "                    <input type=\"hidden\" id=\"";
  457.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse197), "id", [], "any"falsefalsefalse197), "html"nulltrue);
  458.                     echo "\"
  459.                            name=\"";
  460.                     // line 198
  461.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse198), "full_name", [], "any"falsefalsefalse198), "html"nulltrue);
  462.                     echo "\"
  463.                            ";
  464.                     // line 199
  465.                     if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse199), "value", [], "any"falsefalsefalse199))) {
  466.                         echo "value=\"";
  467.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse199), "value", [], "any"falsefalsefalse199), "html"nulltrue);
  468.                         echo "\" ";
  469.                     }
  470.                     echo "/>";
  471.                 }
  472.                 // line 200
  473.                 echo "                ";
  474.             }
  475.             $_parent $context['_parent'];
  476.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  477.             $context array_intersect_key($context$_parent) + $_parent;
  478.             // line 201
  479.             echo "            </form>
  480.             ";
  481.             // line 223
  482.             echo "
  483.             <div class=\"ec-searchnavRole__infos\">
  484.                 <div class=\"ec-searchnavRole__counter\">
  485.                     ";
  486.             // line 226
  487.             if ((twig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any"falsefalsefalse226) > 0)) {
  488.                 // line 227
  489.                 echo "                        ";
  490.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<span class=\"ec-font-bold\">対象商品 <span>%count%</span> 件</span>", ["%count%" => twig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any"falsefalsefalse227)]);
  491.                 echo "
  492.                     ";
  493.             } else {
  494.                 // line 229
  495.                 echo "                        <span>";
  496.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html"nulltrue);
  497.                 echo "</span>
  498.                     ";
  499.             }
  500.             // line 231
  501.             echo "                </div>
  502.                 ";
  503.             // line 232
  504.             if ((twig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any"falsefalsefalse232) > 0)) {
  505.                 // line 233
  506.                 echo "                    <div class=\"ec-searchnavRole__actions\">
  507.                         <div class=\"ec-select\">
  508.                             ";
  509.                 // line 235
  510.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "disp_number", [], "any"falsefalsefalse235), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  511.                 echo "
  512.                             ";
  513.                 // line 236
  514.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, ($context["search_form"] ?? null), "orderby", [], "any"falsefalsefalse236), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  515.                 echo "
  516.                         </div>
  517.                     </div>
  518.                 ";
  519.             }
  520.             // line 240
  521.             echo "            </div>
  522.         </div>
  523.         ";
  524.             // line 242
  525.             if ((twig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "totalItemCount", [], "any"falsefalsefalse242) > 0)) {
  526.                 // line 243
  527.                 echo "            <div class=\"ec-shelfRole\">
  528.                 <ul class=\"ec-shelfGrid\">
  529.                     ";
  530.                 // line 245
  531.                 $context['_parent'] = $context;
  532.                 $context['_seq'] = twig_ensure_traversable(($context["pagination"] ?? null));
  533.                 $context['loop'] = [
  534.                   'parent' => $context['_parent'],
  535.                   'index0' => 0,
  536.                   'index'  => 1,
  537.                   'first'  => true,
  538.                 ];
  539.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  540.                     $length count($context['_seq']);
  541.                     $context['loop']['revindex0'] = $length 1;
  542.                     $context['loop']['revindex'] = $length;
  543.                     $context['loop']['length'] = $length;
  544.                     $context['loop']['last'] = === $length;
  545.                 }
  546.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  547.                     // line 246
  548.                     echo "                        <li class=\"ec-shelfGrid__item\">
  549.                             <a href=\"";
  550.                     // line 247
  551.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse247)]), "html"nulltrue);
  552.                     echo "\">
  553.                                 <p class=\"ec-shelfGrid__item-image\">
  554.                                     <img src=\"";
  555.                     // line 249
  556.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsefalse249)), "save_image"), "html"nulltrue);
  557.                     echo "\" alt=\"";
  558.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse249), "html"nulltrue);
  559.                     echo "\" ";
  560.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse249) > 5)) {
  561.                         echo " loading=\"lazy\"";
  562.                     }
  563.                     echo ">
  564.                                 </p>
  565.                                 <p>";
  566.                     // line 251
  567.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse251), "html"nulltrue);
  568.                     echo "</p>
  569.                                 ";
  570.                     // line 252
  571.                     if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse252)) {
  572.                         // line 253
  573.                         echo "                                    <p>";
  574.                         echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse253));
  575.                         echo "</p>
  576.                                 ";
  577.                     }
  578.                     // line 255
  579.                     echo "                                <p class=\"price02-default\">
  580.                                     ";
  581.                     // line 256
  582.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse256)) {
  583.                         // line 257
  584.                         echo "                                        ";
  585.                         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))) {
  586.                             // line 258
  587.                             echo "                                            ";
  588.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse258)), "html"nulltrue);
  589.                             echo "
  590.                                         ";
  591.                         } else {
  592.                             // line 260
  593.                             echo "                                            ";
  594.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse260)), "html"nulltrue);
  595.                             echo " ~ ";
  596.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse260)), "html"nulltrue);
  597.                             echo "
  598.                                         ";
  599.                         }
  600.                         // line 262
  601.                         echo "                                    ";
  602.                     } else {
  603.                         // line 263
  604.                         echo "                                        ";
  605.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse263)), "html"nulltrue);
  606.                         echo "
  607.                                     ";
  608.                     }
  609.                     // line 265
  610.                     echo "                                </p>
  611.                             </a>
  612.                             ";
  613.                     // line 307
  614.                     echo "                        </li>
  615.                     ";
  616.                     ++$context['loop']['index0'];
  617.                     ++$context['loop']['index'];
  618.                     $context['loop']['first'] = false;
  619.                     if (isset($context['loop']['length'])) {
  620.                         --$context['loop']['revindex0'];
  621.                         --$context['loop']['revindex'];
  622.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  623.                     }
  624.                 }
  625.                 $_parent $context['_parent'];
  626.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  627.                 $context array_intersect_key($context$_parent) + $_parent;
  628.                 // line 309
  629.                 echo "                </ul>
  630.             </div>
  631.             <div class=\"ec-modal\">
  632.                 <div class=\"ec-modal-overlay\">
  633.                     <div class=\"ec-modal-wrap\">
  634.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  635.                 // line 314
  636.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  637.                 echo "\" alt=\"\"/></span></span>
  638.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  639.                 // line 315
  640.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  641.                 echo "</div>
  642.                         <div class=\"ec-modal-box\">
  643.                             <div class=\"ec-role\">
  644.                                 <span class=\"ec-inlineBtn--cancel\">";
  645.                 // line 318
  646.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  647.                 echo "</span>
  648.                                 <a href=\"";
  649.                 // line 319
  650.                 echo $this->extensions['Eccube\Twig\Extension\IgnoreRoutingNotFoundExtension']->getUrl("cart");
  651.                 echo "\" class=\"ec-inlineBtn--action\">";
  652.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  653.                 echo "</a>
  654.                             </div>
  655.                         </div>
  656.                     </div>
  657.                 </div>
  658.             </div>
  659.             <div class=\"ec-pagerRole\">
  660.                 ";
  661.                 // line 326
  662.                 $this->loadTemplate("pager.twig""__string_template__d72b489d39916e23c88f936a6c884b4013bd2d3de5dd430e1283e27674fa7a4c"326)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env$this->source, ($context["pagination"] ?? null), "paginationData", [], "any"falsefalsefalse326)]));
  663.                 // line 327
  664.                 echo "            </div>
  665.         ";
  666.             }
  667.             // line 329
  668.             echo "    ";
  669.         }
  670.         // line 330
  671.         echo "
  672.     </section><!--/.normal_list_section-->
  673.     <a class=\"sp_filtter_btn\">
  674.         <img src=\"";
  675.         // line 334
  676.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/plus_icon.png"), "html"nulltrue);
  677.         echo "\">
  678.         <span class=\"txt\">絞り込み</span>
  679.     </a>
  680. ";
  681.         
  682.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  683.     }
  684.     public function getTemplateName()
  685.     {
  686.         return "__string_template__d72b489d39916e23c88f936a6c884b4013bd2d3de5dd430e1283e27674fa7a4c";
  687.     }
  688.     public function isTraitable()
  689.     {
  690.         return false;
  691.     }
  692.     public function getDebugInfo()
  693.     {
  694.         return array (  703 => 334,  697 => 330,  694 => 329,  690 => 327,  688 => 326,  676 => 319,  672 => 318,  666 => 315,  662 => 314,  655 => 309,  640 => 307,  635 => 265,  629 => 263,  626 => 262,  618 => 260,  612 => 258,  609 => 257,  607 => 256,  604 => 255,  598 => 253,  596 => 252,  592 => 251,  581 => 249,  576 => 247,  573 => 246,  556 => 245,  552 => 243,  550 => 242,  546 => 240,  539 => 236,  535 => 235,  531 => 233,  529 => 232,  526 => 231,  520 => 229,  514 => 227,  512 => 226,  507 => 223,  503 => 201,  497 => 200,  489 => 199,  485 => 198,  480 => 197,  477 => 196,  469 => 194,  465 => 193,  462 => 192,  457 => 191,  454 => 190,  450 => 189,  445 => 186,  439 => 183,  436 => 182,  434 => 181,  430 => 179,  427 => 178,  423 => 176,  420 => 175,  417 => 173,  413 => 171,  407 => 169,  405 => 168,  402 => 167,  396 => 165,  394 => 164,  391 => 163,  388 => 162,  385 => 160,  381 => 158,  375 => 156,  373 => 155,  370 => 154,  364 => 152,  362 => 151,  358 => 149,  355 => 148,  352 => 146,  348 => 144,  342 => 142,  340 => 141,  337 => 140,  331 => 138,  329 => 137,  325 => 135,  322 => 134,  319 => 132,  316 => 131,  310 => 130,  306 => 128,  302 => 126,  296 => 125,  290 => 123,  287 => 122,  283 => 121,  280 => 120,  278 => 119,  275 => 118,  272 => 117,  267 => 116,  264 => 115,  261 => 113,  258 => 112,  252 => 111,  246 => 109,  243 => 108,  240 => 107,  237 => 106,  235 => 105,  230 => 104,  227 => 103,  224 => 101,  218 => 99,  215 => 98,  211 => 95,  206 => 91,  199 => 90,  175 => 72,  165 => 65,  134 => 37,  106 => 11,  92 => 10,  84 => 9,  67 => 8,  63 => 6,  56 => 5,  48 => 1,  46 => 3,  36 => 1,);
  695.     }
  696.     public function getSourceContext()
  697.     {
  698.         return new Source("""__string_template__d72b489d39916e23c88f936a6c884b4013bd2d3de5dd430e1283e27674fa7a4c""");
  699.     }
  700. }