var/cache/dev/twig/63/63de7a1e70298c7da9544f5f1b74a33d.php line 104

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_7c806499883f3499398b789290dc138c 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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.twig"));
  42.         // line 13
  43.         if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'13$this->source); })()))) {
  44.             // line 14
  45.             if (((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.'14$this->source); })()), "id", [], "any"falsefalsetrue14) == 7) && twig_in_filter(14twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'14$this->source); })()), "ball-type", [], "array"falsefalsetrue14)))) {
  46.                 // line 15
  47.                 $context["subtitle"] = "持ち込みボール";
  48.             } elseif (((twig_get_attribute($this->env$this->source,             // line 16
  49. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'16$this->source); })()), "id", [], "any"falsefalsetrue16) == 7) && twig_in_filter(11twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'16$this->source); })()), "ball-type", [], "array"falsefalsetrue16)))) {
  50.                 // line 17
  51.                 $context["subtitle"] = "スリクソン";
  52.             } elseif (((twig_get_attribute($this->env$this->source,             // line 18
  53. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'18$this->source); })()), "id", [], "any"falsefalsetrue18) == 7) && twig_in_filter(12twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'18$this->source); })()), "ball-type", [], "array"falsefalsetrue18)))) {
  54.                 // line 19
  55.                 $context["subtitle"] = "ゼクシオ";
  56.             } elseif (((twig_get_attribute($this->env$this->source,             // line 20
  57. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'20$this->source); })()), "id", [], "any"falsefalsetrue20) == 7) && twig_in_filter(13twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'20$this->source); })()), "ball-type", [], "array"falsefalsetrue20)))) {
  58.                 // line 21
  59.                 $context["subtitle"] = "ツアースペシャル";
  60.             }
  61.             // line 23
  62.             if (((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.'23$this->source); })()), "id", [], "any"falsefalsetrue23) == 9) && twig_in_filter(15twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'23$this->source); })()), "design-cate", [], "array"falsefalsetrue23)))) {
  63.                 // line 24
  64.                 $context["subtitle"] = "誕生日祝い";
  65.             } elseif (((twig_get_attribute($this->env$this->source,             // line 25
  66. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'25$this->source); })()), "id", [], "any"falsefalsetrue25) == 9) && twig_in_filter(16twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'25$this->source); })()), "design-cate", [], "array"falsefalsetrue25)))) {
  67.                 // line 26
  68.                 $context["subtitle"] = "定年退職祝い";
  69.             } elseif (((twig_get_attribute($this->env$this->source,             // line 27
  70. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'27$this->source); })()), "id", [], "any"falsefalsetrue27) == 9) && twig_in_filter(17twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'27$this->source); })()), "design-cate", [], "array"falsefalsetrue27)))) {
  71.                 // line 28
  72.                 $context["subtitle"] = "還暦祝い";
  73.             } elseif (((twig_get_attribute($this->env$this->source,             // line 29
  74. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'29$this->source); })()), "id", [], "any"falsefalsetrue29) == 9) && twig_in_filter(18twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'29$this->source); })()), "design-cate", [], "array"falsefalsetrue29)))) {
  75.                 // line 30
  76.                 $context["subtitle"] = "コンペ景品";
  77.             } elseif (((twig_get_attribute($this->env$this->source,             // line 31
  78. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'31$this->source); })()), "id", [], "any"falsefalsetrue31) == 9) && twig_in_filter(19twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'31$this->source); })()), "design-cate", [], "array"falsefalsetrue31)))) {
  79.                 // line 32
  80.                 $context["subtitle"] = "父の日祝い";
  81.             } elseif (((twig_get_attribute($this->env$this->source,             // line 33
  82. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'33$this->source); })()), "id", [], "any"falsefalsetrue33) == 9) && twig_in_filter(20twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'33$this->source); })()), "design-cate", [], "array"falsefalsetrue33)))) {
  83.                 // line 34
  84.                 $context["subtitle"] = "母の日祝い";
  85.             } elseif (((twig_get_attribute($this->env$this->source,             // line 35
  86. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'35$this->source); })()), "id", [], "any"falsefalsetrue35) == 9) && twig_in_filter(21twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'35$this->source); })()), "design-cate", [], "array"falsefalsetrue35)))) {
  87.                 // line 36
  88.                 $context["subtitle"] = "GOLFPRINT オリジナル";
  89.             }
  90.         }
  91.         // line 41
  92.         $context["body_class"] = "product_page";
  93.         // line 11
  94.         $this->parent $this->loadTemplate("default_frame.twig""Product/list.twig"11);
  95.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  96.         
  97.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  98.         
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  100.     }
  101.     // line 43
  102.     public function block_stylesheet($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  109.         // line 44
  110.         echo "    <style>
  111.         #modalWrapAlert {
  112.             display: none;
  113.             background: 0 0;
  114.             width: 100%;
  115.             height: 100%;
  116.             position: fixed;
  117.             top: 0;
  118.             left: 0;
  119.             z-index: 100;
  120.             overflow: hidden
  121.         }
  122.         .modalBoxAlert {
  123.             position: fixed;
  124.             width: 85%;
  125.             max-width: 420px;
  126.             height: 0;
  127.             top: 0;
  128.             bottom: 0;
  129.             left: 0;
  130.             right: 0;
  131.             margin: auto;
  132.             overflow: hidden;
  133.             opacity: 1;
  134.             display: none;
  135.             border-radius: 3px;
  136.             z-index: 1000
  137.         }
  138.         .modalInnerAlert {
  139.             padding: 10px;
  140.             text-align: center;
  141.             box-sizing: border-box;
  142.             background: rgba(0, 0, 0, .7);
  143.             color: #fff
  144.         }
  145.     </style>
  146. ";
  147.         
  148.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  149.         
  150.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  151.     }
  152.     // line 84
  153.     public function block_javascript($context, array $blocks = [])
  154.     {
  155.         $macros $this->macros;
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  159.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  160.         // line 85
  161.         echo "    <script>
  162.         eccube.productsClassCategories = {
  163.             ";
  164.         // line 87
  165.         $context['_parent'] = $context;
  166.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'87$this->source); })()));
  167.         $context['loop'] = [
  168.           'parent' => $context['_parent'],
  169.           'index0' => 0,
  170.           'index'  => 1,
  171.           'first'  => true,
  172.         ];
  173.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  174.             $length count($context['_seq']);
  175.             $context['loop']['revindex0'] = $length 1;
  176.             $context['loop']['revindex'] = $length;
  177.             $context['loop']['length'] = $length;
  178.             $context['loop']['last'] = === $length;
  179.         }
  180.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  181.             // line 88
  182.             echo "            \"";
  183.             echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue88), 88$this->source), "js"), "html"nulltrue);
  184.             echo "\": ";
  185.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($this->sandbox->ensureToStringAllowed($context["Product"], 88$this->source));
  186.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue88) == false)) {
  187.                 echo ", ";
  188.             }
  189.             // line 89
  190.             echo "            ";
  191.             ++$context['loop']['index0'];
  192.             ++$context['loop']['index'];
  193.             $context['loop']['first'] = false;
  194.             if (isset($context['loop']['length'])) {
  195.                 --$context['loop']['revindex0'];
  196.                 --$context['loop']['revindex'];
  197.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  198.             }
  199.         }
  200.         $_parent $context['_parent'];
  201.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  202.         $context array_intersect_key($context$_parent) + $_parent;
  203.         // line 90
  204.         echo "        };
  205.         \$(function() {
  206.             // 表示件数を変更
  207.             \$('.disp-number').change(function() {
  208.                 var dispNumber = \$(this).val();
  209.                 \$('#disp_number').val(dispNumber);
  210.                 \$('#pageno').val(1);
  211.                 checkAndSetVal();
  212.                 \$(\"#form1\").submit();
  213.             });
  214.             // 並び順を変更
  215.             \$('.order-by').change(function() {
  216.                 var orderBy = \$(this).val();
  217.                 \$('#orderby').val(orderBy);
  218.                 \$('#pageno').val(1);
  219.                 checkAndSetVal();
  220.                 \$(\"#form1\").submit();
  221.             });
  222. ";
  223.         // line 113
  224.         echo "            \$('.ball_type').change(function() {
  225.                 let selCnt = 0;
  226.                 const ballType = document.forms.formSelPC.ball_type;
  227.                 for( let i=0; i < ballType.length; i++ ) {
  228.                     if( ballType[i].checked ) {
  229.                         selCnt++;
  230.                     }
  231.                 }
  232.                 if( selCnt == ballType.length ) {
  233.                     for( let i=0; i < ballType.length; i++ ) {
  234.                         ballType[i].checked = false;
  235.                     }
  236.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  237.                     selAlert();
  238.                 }
  239.             });
  240.             \$('.ball_nums').change(function() {
  241.                 let selCnt = 0;
  242.                 const ballNums = document.forms.formSelPC.ball_nums;
  243.                 for( let i=0; i < ballNums.length; i++ ) {
  244.                     if( ballNums[i].checked ) {
  245.                         selCnt++;
  246.                     }
  247.                 }
  248.                 if( selCnt == ballNums.length ) {
  249.                     for( let i=0; i < ballNums.length; i++ ) {
  250.                         ballNums[i].checked = false;
  251.                     }
  252.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  253.                     selAlert();
  254.                 }
  255.             });
  256.             \$('.ball_price').change(function() {
  257.                 let selCnt = 0;
  258.                 const ballPrice = document.forms.formSelPC.ball_price;
  259.                 for( let i=0; i < ballPrice.length; i++ ) {
  260.                     if( ballPrice[i].checked ) {
  261.                         selCnt++;
  262.                     }
  263.                 }
  264.                 if( selCnt == ballPrice.length ) {
  265.                     for( let i=0; i < ballPrice.length; i++ ) {
  266.                         ballPrice[i].checked = false;
  267.                     }
  268.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  269.                     selAlert();
  270.                 }
  271.             });
  272.             \$('.ball_type_sp').change(function() {
  273.                 let selCnt = 0;
  274.                 const ballType = document.forms.formSelSP.ball_type;
  275.                 for( let i=0; i < ballType.length; i++ ) {
  276.                     if( ballType[i].checked ) {
  277.                         selCnt++;
  278.                     }
  279.                 }
  280.                 if( selCnt == ballType.length ) {
  281.                     for( let i=0; i < ballType.length; i++ ) {
  282.                         ballType[i].checked = false;
  283.                     }
  284.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  285.                     selAlert();
  286.                 }
  287.             });
  288.             \$('.ball_nums_sp').change(function() {
  289.                 let selCnt = 0;
  290.                 const ballNums = document.forms.formSelSP.ball_nums;
  291.                 for( let i=0; i < ballNums.length; i++ ) {
  292.                     if( ballNums[i].checked ) {
  293.                         selCnt++;
  294.                     }
  295.                 }
  296.                 if( selCnt == ballNums.length ) {
  297.                     for( let i=0; i < ballNums.length; i++ ) {
  298.                         ballNums[i].checked = false;
  299.                     }
  300.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  301.                     selAlert();
  302.                 }
  303.             });
  304.             \$('.ball_price_sp').change(function() {
  305.                 let selCnt = 0;
  306.                 const ballPrice = document.forms.formSelSP.ball_price;
  307.                 for( let i=0; i < ballPrice.length; i++ ) {
  308.                     if( ballPrice[i].checked ) {
  309.                         selCnt++;
  310.                     }
  311.                 }
  312.                 if( selCnt == ballPrice.length ) {
  313.                     for( let i=0; i < ballPrice.length; i++ ) {
  314.                         ballPrice[i].checked = false;
  315.                     }
  316.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  317.                     selAlert();
  318.                 }
  319.             });
  320. ";
  321.         // line 216
  322.         echo "
  323. ";
  324.         // line 218
  325.         echo "            \$('.design_cate').change(function() {
  326.                 let selCnt = 0;
  327.                 const designCate = document.forms.formSelPC.design_cate;
  328.                 for( let i=0; i < designCate.length; i++ ) {
  329.                     if( designCate[i].checked ) {
  330.                         selCnt++;
  331.                     }
  332.                 }
  333.                 if( selCnt == designCate.length ) {
  334.                     for( let i=0; i < designCate.length; i++ ) {
  335.                         designCate[i].checked = false;
  336.                     }
  337.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  338.                     selAlert();
  339.                 }
  340.             });
  341.             \$('.design_cate_sp').change(function() {
  342.                 let selCnt = 0;
  343.                 const designCate = document.forms.formSelSP.design_cate;
  344.                 for( let i=0; i < designCate.length; i++ ) {
  345.                     if( designCate[i].checked ) {
  346.                         selCnt++;
  347.                     }
  348.                 }
  349.                 if( selCnt == designCate.length ) {
  350.                     for( let i=0; i < designCate.length; i++ ) {
  351.                         designCate[i].checked = false;
  352.                     }
  353.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  354.                     selAlert();
  355.                 }
  356.             });
  357. ";
  358.         // line 253
  359.         echo "
  360.             \$('.add-cart').on('click', function(e) {
  361.                 var \$form = \$(this).parents('li').find('form');
  362.                 // 個数フォームのチェック
  363.                 var \$quantity = \$form.parent().find('.quantity');
  364.                 if (\$quantity.val() < 1) {
  365.                     \$quantity[0].setCustomValidity('";
  366.         // line 260
  367.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  368.         echo "');
  369.                     setTimeout(function() {
  370.                         loadingOverlay('hide');
  371.                     }, 100);
  372.                     return true;
  373.                 } else {
  374.                     \$quantity[0].setCustomValidity('');
  375.                 }
  376.                 e.preventDefault();
  377.                 \$.ajax({
  378.                     url: \$form.attr('action'),
  379.                     type: \$form.attr('method'),
  380.                     data: \$form.serialize(),
  381.                     dataType: 'json',
  382.                     beforeSend: function(xhr, settings) {
  383.                         // Buttonを無効にする
  384.                         \$('.add-cart').prop('disabled', true);
  385.                     }
  386.                 }).done(function(data) {
  387.                     // レスポンス内のメッセージをalertで表示
  388.                     \$.each(data.messages, function() {
  389.                         \$('#ec-modal-header').text(this);
  390.                     });
  391.                     \$('.ec-modal').show()
  392.                     // カートブロックを更新する
  393.                     \$.ajax({
  394.                         url: '";
  395.         // line 288
  396.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  397.         echo "',
  398.                         type: 'GET',
  399.                         dataType: 'html'
  400.                     }).done(function(html) {
  401.                         \$('.ec-headerRole__cart').html(html);
  402.                     });
  403.                 }).fail(function(data) {
  404.                     alert('";
  405.         // line 295
  406.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  407.         echo "');
  408.                 }).always(function(data) {
  409.                     // Buttonを有効にする
  410.                     \$('.add-cart').prop('disabled', false);
  411.                 });
  412.             });
  413.         });
  414.         \$('.ec-modal-wrap').on('click', function(e) {
  415.             // モーダル内の処理は外側にバブリングさせない
  416.             e.stopPropagation();
  417.         });
  418.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  419.             \$('.ec-modal').hide()
  420.         });
  421.     </script>
  422.     <script>
  423.     ";
  424.         // line 312
  425.         if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'312$this->source); })()))) {
  426.             // line 313
  427.             echo "    ";
  428.             if ((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.'313$this->source); })()), "id", [], "any"falsefalsetrue313) == 7)) {
  429.                 // line 314
  430.                 echo "        function setValPC( rst = 1 ) {
  431.             let sels_type = '';
  432.             const ballType = document.forms.formSelPC.ball_type;
  433.             for( let i=0; i < ballType.length; i++ ) {
  434.                 if( ballType[i].checked ) {
  435.                     if( sels_type ) {
  436.                         sels_type = sels_type + ',';
  437.                     }
  438.                     sels_type = sels_type + ballType[i].value;
  439.                 }
  440.             }
  441.             \$('#ball-type').val(sels_type);
  442.             let sels_nums = '';
  443.             const ballNums = document.forms.formSelPC.ball_nums;
  444.             for( let i=0; i < ballNums.length; i++ ) {
  445.                 if( ballNums[i].checked ) {
  446.                     if( sels_nums ) {
  447.                         sels_nums = sels_nums + ',';
  448.                     }
  449.                     sels_nums = sels_nums + ballNums[i].value;
  450.                 }
  451.             }
  452.             \$('#ball-nums').val(sels_nums);
  453.             let sels_price = '';
  454.             const ballPrice = document.forms.formSelPC.ball_price;
  455.             for( let i=0; i < ballPrice.length; i++ ) {
  456.                 if( ballPrice[i].checked ) {
  457.                     if( sels_price ) {
  458.                         sels_price = sels_price + ',';
  459.                     }
  460.                     sels_price = sels_price + ballPrice[i].value;
  461.                 }
  462.             }
  463.             \$('#ball-price').val(sels_price);
  464.             if( rst == 1 ) {
  465.                 \$('#pageno').val(1);
  466.                 \$('#disp_number').val(21);
  467.                 \$('#orderby').val(2);
  468.             }
  469.             \$(\"#form1\").submit();
  470.         }
  471.         function setValSP( rst = 1 ) {
  472.             let sels_type = '';
  473.             const ballType = document.forms.formSelSP.ball_type;
  474.             for( let i=0; i < ballType.length; i++ ) {
  475.                 if( ballType[i].checked ) {
  476.                     if( sels_type ) {
  477.                         sels_type = sels_type + ',';
  478.                     }
  479.                     sels_type = sels_type + ballType[i].value;
  480.                 }
  481.             }
  482.             \$('#ball-type').val(sels_type);
  483.             let sels_nums = '';
  484.             const ballNums = document.forms.formSelSP.ball_nums;
  485.             for( let i=0; i < ballNums.length; i++ ) {
  486.                 if( ballNums[i].checked ) {
  487.                     if( sels_nums ) {
  488.                         sels_nums = sels_nums + ',';
  489.                     }
  490.                     sels_nums = sels_nums + ballNums[i].value;
  491.                 }
  492.             }
  493.             \$('#ball-nums').val(sels_nums);
  494.             let sels_price = '';
  495.             const ballPrice = document.forms.formSelSP.ball_price;
  496.             for( let i=0; i < ballPrice.length; i++ ) {
  497.                 if( ballPrice[i].checked ) {
  498.                     if( sels_price ) {
  499.                         sels_price = sels_price + ',';
  500.                     }
  501.                     sels_price = sels_price + ballPrice[i].value;
  502.                 }
  503.             }
  504.             \$('#ball-price').val(sels_price);
  505.             if( rst == 1 ) {
  506.                 \$('#pageno').val(1);
  507.                 \$('#disp_number').val(21);
  508.                 \$('#orderby').val(2);
  509.             }
  510.             \$(\"#form1\").submit();
  511.         }
  512.         function checkAndSetVal() {
  513.             let selCntPC = 0;
  514.             const ballType = document.forms.formSelPC.ball_type;
  515.             for( let i=0; i < ballType.length; i++ ) {
  516.                 if( ballType[i].checked ) {
  517.                     selCntPC++;
  518.                 }
  519.             }
  520.             const ballNums = document.forms.formSelPC.ball_nums;
  521.             for( let i=0; i < ballNums.length; i++ ) {
  522.                 if( ballNums[i].checked ) {
  523.                     selCntPC++;
  524.                 }
  525.             }
  526.             const ballPrice = document.forms.formSelPC.ball_price;
  527.             for( let i=0; i < ballPrice.length; i++ ) {
  528.                 if( ballPrice[i].checked ) {
  529.                     selCntPC++;
  530.                 }
  531.             }
  532.             let selCntSP = 0;
  533.             const ballTypeSP = document.forms.formSelSP.ball_type;
  534.             for( let i=0; i < ballTypeSP.length; i++ ) {
  535.                 if( ballTypeSP[i].checked ) {
  536.                     selCntSP++;
  537.                 }
  538.             }
  539.             const ballNumsSP = document.forms.formSelSP.ball_nums;
  540.             for( let i=0; i < ballNumsSP.length; i++ ) {
  541.                 if( ballNumsSP[i].checked ) {
  542.                     selCntSP++;
  543.                 }
  544.             }
  545.             const ballPriceSP = document.forms.formSelSP.ball_price;
  546.             for( let i=0; i < ballPriceSP.length; i++ ) {
  547.                 if( ballPriceSP[i].checked ) {
  548.                     selCntSP++;
  549.                 }
  550.             }
  551.             if( selCntPC > 0 && selCntSP == 0 ) {
  552.                 setValPC(0);
  553.             }
  554.             else if( selCntPC == 0 && selCntSP > 0 ) {
  555.                 setValSP(0);
  556.             }
  557.             ";
  558.                 // line 444
  559.                 echo "            else if( selCntPC > 0 && selCntSP > 0 ) {
  560.                 setValPC(0);
  561.             }
  562.             else {
  563.                 return false;
  564.             }
  565.         }
  566.     ";
  567.             } elseif ((twig_get_attribute($this->env$this->source,             // line 451
  568. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'451$this->source); })()), "id", [], "any"falsefalsetrue451) == 8)) {
  569.                 // line 452
  570.                 echo "    ";
  571.             } elseif ((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.'452$this->source); })()), "id", [], "any"falsefalsetrue452) == 9)) {
  572.                 // line 453
  573.                 echo "        function setValPC( rst = 1 ) {
  574.             let sels_design = '';
  575.             const designCate = document.forms.formSelPC.design_cate;
  576.             for( let i=0; i < designCate.length; i++ ) {
  577.                 if( designCate[i].checked ) {
  578.                     if( sels_design ) {
  579.                         sels_design = sels_design + ',';
  580.                     }
  581.                     sels_design = sels_design + designCate[i].value;
  582.                 }
  583.             }
  584.             \$('#design-cate').val(sels_design);
  585.             if( rst == 1 ) {
  586.                 \$('#pageno').val(1);
  587.                 \$('#disp_number').val(21);
  588.                 \$('#orderby').val(2);
  589.             }
  590.             \$(\"#form1\").submit();
  591.         }
  592.         function setValSP( rst = 1 ) {
  593.             let sels_design = '';
  594.             const designCate = document.forms.formSelSP.design_cate;
  595.             for( let i=0; i < designCate.length; i++ ) {
  596.                 if( designCate[i].checked ) {
  597.                     if( sels_design ) {
  598.                         sels_design = sels_design + ',';
  599.                     }
  600.                     sels_design = sels_design + designCate[i].value;
  601.                 }
  602.             }
  603.             \$('#design-cate').val(sels_design);
  604.             if( rst == 1 ) {
  605.                 \$('#pageno').val(1);
  606.                 \$('#disp_number').val(21);
  607.                 \$('#orderby').val(2);
  608.             }
  609.             \$(\"#form1\").submit();
  610.         }
  611.         function checkAndSetVal() {
  612.             let selCntPC = 0;
  613.             const designCate = document.forms.formSelPC.design_cate;
  614.             for( let i=0; i < designCate.length; i++ ) {
  615.                 if( designCate[i].checked ) {
  616.                     selCntPC++;
  617.                 }
  618.             }
  619.             let selCntSP = 0;
  620.             const designCateSP = document.forms.formSelSP.design_cate;
  621.             for( let i=0; i < designCateSP.length; i++ ) {
  622.                 if( designCateSP[i].checked ) {
  623.                     selCntSP++;
  624.                 }
  625.             }
  626.             if( selCntPC > 0 && selCntSP == 0 ) {
  627.                 setValPC(0);
  628.             }
  629.             else if( selCntPC == 0 && selCntSP > 0 ) {
  630.                 setValSP(0);
  631.             }
  632.             ";
  633.                 // line 515
  634.                 echo "            else if( selCntPC > 0 && selCntSP > 0 ) {
  635.                 setValPC(0);
  636.             }
  637.             else {
  638.                 return false;
  639.             }
  640.         }
  641.     ";
  642.             } elseif ((twig_get_attribute($this->env$this->source,             // line 522
  643. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'522$this->source); })()), "id", [], "any"falsefalsetrue522) == 10)) {
  644.                 // line 523
  645.                 echo "    ";
  646.             }
  647.             // line 524
  648.             echo "    ";
  649.         }
  650.         // line 525
  651.         echo "    </script>
  652.     <script>
  653.         function selAlert() {
  654.             var modalThis = \$('body').find('#alert01');
  655.             //bodyの最下にwrapを作る 
  656.             \$('body').append('<div id=\"modalWrapAlert\" />');
  657.             var wrap = \$('#modalWrapAlert');
  658.             wrap.fadeIn('200');
  659.             modalThis.fadeIn('200');
  660.             //モーダルの高さを取ってくる 
  661.             function mdlHeight() {
  662.                 var wh = \$(window).innerHeight();
  663.                 var attH = modalThis.find('.modalInnerAlert').innerHeight();
  664.                 modalThis.css({
  665.                     height: attH
  666.                 });
  667.             }
  668.             mdlHeight();
  669.             \$(window).on('resize', function () {
  670.                 mdlHeight();
  671.             });
  672.             function clickAction() {
  673.                 modalThis.fadeOut('200');
  674.                 wrap.fadeOut('200', function () {
  675.                     wrap.remove();
  676.                 });
  677.             }
  678.             //wrapクリックされたら 
  679.             wrap.on('click', function () {
  680.                 clickAction();
  681.                 return false;
  682.             });
  683.             //2秒後に消える 
  684.             setTimeout(clickAction, 2000);
  685.             return false;
  686.         }
  687.     </script>
  688. ";
  689.         
  690.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  691.         
  692.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  693.     }
  694.     // line 568
  695.     public function block_main($context, array $blocks = [])
  696.     {
  697.         $macros $this->macros;
  698.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  699.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  700.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  701.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  702.         // line 569
  703.         echo "    ";
  704.         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.'569$this->source); })()), "category_id", [], "any"falsefalsetrue569), "vars", [], "any"falsefalsetrue569), "errors", [], "any"falsefalsetrue569)) > 0)) {
  705.             // line 570
  706.             echo "        <div class=\"ec-searchnavRole\">
  707.             <p class=\"errormsg text-danger\">";
  708.             // line 571
  709.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  710.             echo "</p>
  711.         </div>
  712.     ";
  713.         } else {
  714.             // line 574
  715.             echo "        <div class=\"container\">
  716.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  717.                 ";
  718.             // line 576
  719.             $context['_parent'] = $context;
  720.             $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.'576$this->source); })()));
  721.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  722.                 // line 577
  723.                 echo "                    <input type=\"hidden\" id=\"";
  724.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsetrue577), "id", [], "any"falsefalsetrue577), 577$this->source), "html"nulltrue);
  725.                 echo "\"
  726.                            name=\"";
  727.                 // line 578
  728.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsetrue578), "full_name", [], "any"falsefalsetrue578), 578$this->source), "html"nulltrue);
  729.                 echo "\"
  730.                            ";
  731.                 // line 579
  732.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsetrue579), "value", [], "any"falsefalsetrue579))) {
  733.                     echo "value=\"";
  734.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsetrue579), "value", [], "any"falsefalsetrue579), 579$this->source), "html"nulltrue);
  735.                     echo "\" ";
  736.                 }
  737.                 echo "/>
  738.                 ";
  739.             }
  740.             $_parent $context['_parent'];
  741.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  742.             $context array_intersect_key($context$_parent) + $_parent;
  743.             // line 581
  744.             echo "                ";
  745.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'581$this->source); })()))) {
  746.                 // line 582
  747.                 echo "                ";
  748.                 if ((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.'582$this->source); })()), "id", [], "any"falsefalsetrue582) == 7)) {
  749.                     // line 583
  750.                     echo "                <input type=\"hidden\" id=\"ball-type\" name=\"ball-type\">
  751.                 <input type=\"hidden\" id=\"ball-nums\" name=\"ball-nums\">
  752.                 <input type=\"hidden\" id=\"ball-price\" name=\"ball-price\">
  753.                 ";
  754.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 586
  755. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'586$this->source); })()), "id", [], "any"falsefalsetrue586) == 8)) {
  756.                     // line 587
  757.                     echo "                ";
  758.                 } elseif ((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.'587$this->source); })()), "id", [], "any"falsefalsetrue587) == 9)) {
  759.                     // line 588
  760.                     echo "                <input type=\"hidden\" id=\"design-cate\" name=\"design-cate\">
  761.                 ";
  762.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 589
  763. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'589$this->source); })()), "id", [], "any"falsefalsetrue589) == 10)) {
  764.                     // line 590
  765.                     echo "                ";
  766.                 }
  767.                 // line 591
  768.                 echo "                ";
  769.             }
  770.             // line 592
  771.             echo "            </form>
  772.             <!-- パンくずリスト -->
  773.             <nav aria-label=\"breadcrumb\" class=\"my-3\">
  774.                 <ol class=\"breadcrumb\">
  775.                     <li class=\"breadcrumb-item\"><a href=\"";
  776.             // line 596
  777.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  778.             echo "\">ホーム</a></li>
  779.                     ";
  780.             // line 597
  781.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'597$this->source); })()))) {
  782.                 // line 598
  783.                 echo "                    ";
  784.                 if ((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.'598$this->source); })()), "id", [], "any"falsefalsetrue598) == 7)) {
  785.                     // line 599
  786.                     echo "                        <li class=\"breadcrumb-item active\" aria-current=\"page\">ボールを選ぶ</li>
  787.                     ";
  788.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 600
  789. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'600$this->source); })()), "id", [], "any"falsefalsetrue600) == 8)) {
  790.                     // line 601
  791.                     echo "                    ";
  792.                 } elseif ((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.'601$this->source); })()), "id", [], "any"falsefalsetrue601) == 9)) {
  793.                     // line 602
  794.                     echo "                        <li class=\"breadcrumb-item active\" aria-current=\"page\">デザインを選ぶ</li>
  795.                     ";
  796.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 603
  797. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'603$this->source); })()), "id", [], "any"falsefalsetrue603) == 10)) {
  798.                     // line 604
  799.                     echo "                    ";
  800.                 }
  801.                 // line 605
  802.                 echo "                    ";
  803.             } else {
  804.                 // line 606
  805.                 echo "                        <li class=\"breadcrumb-item active\" aria-current=\"page\">全商品</li>
  806.                     ";
  807.             }
  808.             // line 608
  809.             echo "                </ol>
  810.             </nav>
  811.             <div class=\"layout-2colmun\">
  812.                 ";
  813.             // line 611
  814.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'611$this->source); })()))) {
  815.                 // line 612
  816.                 echo "                ";
  817.                 if ((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.'612$this->source); })()), "id", [], "any"falsefalsetrue612) == 7)) {
  818.                     // line 613
  819.                     echo "                    ";
  820.                     echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Product/aside_ball.twig");
  821.                     echo "
  822.                 ";
  823.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 614
  824. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'614$this->source); })()), "id", [], "any"falsefalsetrue614) == 8)) {
  825.                     // line 615
  826.                     echo "                ";
  827.                 } elseif ((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.'615$this->source); })()), "id", [], "any"falsefalsetrue615) == 9)) {
  828.                     // line 616
  829.                     echo "                    ";
  830.                     echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Product/aside_design.twig");
  831.                     echo "
  832.                 ";
  833.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 617
  834. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'617$this->source); })()), "id", [], "any"falsefalsetrue617) == 10)) {
  835.                     // line 618
  836.                     echo "                ";
  837.                 }
  838.                 // line 619
  839.                 echo "                ";
  840.             } else {
  841.                 // line 620
  842.                 echo "                    ";
  843.                 echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/aside_others.twig");
  844.                 echo "
  845.                 ";
  846.             }
  847.             // line 622
  848.             echo "                <main class=\"main\">
  849.                     ";
  850.             // line 623
  851.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'623$this->source); })()))) {
  852.                 // line 624
  853.                 echo "                    ";
  854.                 if ((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.'624$this->source); })()), "id", [], "any"falsefalsetrue624) == 7)) {
  855.                     // line 625
  856.                     echo "                        <h1 class=\"fw-bold mb-5\">名入れゴルフボール</h1>
  857.                         <p>
  858.                             お好きなデザインをゴルフボールに印刷します。<br>
  859.                             <span class=\"text-danger\">表示価格にはボール代・印刷代が税込みで含まれています。</span>
  860.                         </p>
  861.                     ";
  862.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 630
  863. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'630$this->source); })()), "id", [], "any"falsefalsetrue630) == 8)) {
  864.                     // line 631
  865.                     echo "                    ";
  866.                 } elseif ((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.'631$this->source); })()), "id", [], "any"falsefalsetrue631) == 9)) {
  867.                     // line 632
  868.                     echo "                        <h1 class=\"fw-bold mb-5\">名入れデザイン</h1>
  869.                         <p>
  870.                             お好きなデザインをゴルフボールに印刷します。<br>
  871.                             ボールに印刷したいデザインをカートに入れてご注文ください。<br>
  872.                             お客様の方でデザインのご用意がある場合は「<a href=\"";
  873.                     // line 636
  874.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => 99]);
  875.                     echo "\">デザインを入稿する</a>」を選んでデータをアップロードしてください。<br>
  876.                             <span class=\"text-danger\">デザインの内容によって料金・納期は変わりません。(印刷代も含め、全てボールの代金に含まれています)</span>
  877.                         </p>
  878.                         <p class=\"my-3\">導入事例から参考デザインを選ぶこともできます。</p>
  879.                         <a href=\"\" class=\"btn btn-lg btn-dark py-3 rounded-0\" data-bs-toggle=\"modal\" data-bs-target=\"#fullScreenModal\"><i class=\"icon-arrow_circle_right\"></i>導入事例参考デザインを見る</a>
  880.                     ";
  881.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 641
  882. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'641$this->source); })()), "id", [], "any"falsefalsetrue641) == 10)) {
  883.                     // line 642
  884.                     echo "                    ";
  885.                 }
  886.                 // line 643
  887.                 echo "                    ";
  888.             }
  889.             // line 644
  890.             echo "                    ";
  891.             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.'644$this->source); })()), "totalItemCount", [], "any"falsefalsetrue644) > 0)) {
  892.                 // line 645
  893.                 echo "                        <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
  894.                             ";
  895.                 // line 646
  896.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<div><span class=\"fw-bold\">%count%件</span>の商品が見つかりました。</div>", ["%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.'646$this->source); })()), "totalItemCount", [], "any"falsefalsetrue646)]);
  897.                 echo "
  898.                             <div class=\"d-flex mt-3 mt-md-0\">
  899.                                 <div class=\"me-2 d-block d-lg-none\">
  900.                                     ";
  901.                 // line 649
  902.                 if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'649$this->source); })()))) {
  903.                     // line 650
  904.                     echo "                                    ";
  905.                     if ((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.'650$this->source); })()), "id", [], "any"falsefalsetrue650) == 7)) {
  906.                         // line 651
  907.                         echo "                                    <a href=\"\" class=\"btn btn-outline-dark btn-sm\" data-bs-toggle=\"modal\" data-bs-target=\"#filterModalBall\">絞込</a>
  908.                                     ";
  909.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 652
  910. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'652$this->source); })()), "id", [], "any"falsefalsetrue652) == 8)) {
  911.                         // line 653
  912.                         echo "                                    ";
  913.                     } elseif ((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.'653$this->source); })()), "id", [], "any"falsefalsetrue653) == 9)) {
  914.                         // line 654
  915.                         echo "                                    <a href=\"\" class=\"btn btn-outline-dark btn-sm\" data-bs-toggle=\"modal\" data-bs-target=\"#filterModal\">絞込</a>
  916.                                     ";
  917.                     } elseif ((twig_get_attribute($this->env$this->source,                     // line 655
  918. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'655$this->source); })()), "id", [], "any"falsefalsetrue655) == 10)) {
  919.                         // line 656
  920.                         echo "                                    ";
  921.                     }
  922.                     // line 657
  923.                     echo "                                    ";
  924.                 }
  925.                 // line 658
  926.                 echo "                                </div>
  927.                                 ";
  928.                 // line 659
  929.                 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.'659$this->source); })()), "totalItemCount", [], "any"falsefalsetrue659) > 0)) {
  930.                     // line 660
  931.                     echo "                                    <div class=\"me-1\">
  932.                                         ";
  933.                     // line 661
  934.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'661$this->source); })()), "disp_number", [], "any"falsefalsetrue661), 661$this->source), 'widget', ["id" => """attr" => ["class" => "disp-number form-select form-select-sm"]]);
  935.                     echo "
  936.                                     </div>
  937.                                     ";
  938.                     // line 663
  939.                     if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'663$this->source); })()))) {
  940.                         // line 664
  941.                         echo "                                    <div class=\"ms-1";
  942.                         if ((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.'664$this->source); })()), "id", [], "any"falsefalsetrue664) == 9)) {
  943.                             echo " d-none";
  944.                         }
  945.                         echo "\">
  946.                                         ";
  947.                         // line 665
  948.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'665$this->source); })()), "orderby", [], "any"falsefalsetrue665), 665$this->source), 'widget', ["id" => """attr" => ["class" => "order-by form-select form-select-sm"]]);
  949.                         echo "
  950.                                     </div>
  951.                                     ";
  952.                     } else {
  953.                         // line 668
  954.                         echo "                                    <div class=\"ms-1\">
  955.                                         ";
  956.                         // line 669
  957.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(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.'669$this->source); })()), "orderby", [], "any"falsefalsetrue669), 669$this->source), 'widget', ["id" => """attr" => ["class" => "order-by form-select form-select-sm"]]);
  958.                         echo "
  959.                                     </div>
  960.                                     ";
  961.                     }
  962.                     // line 672
  963.                     echo "                                ";
  964.                 }
  965.                 // line 673
  966.                 echo "                            </div>
  967.                         </div>
  968.                         <div class=\"row\">
  969.                             ";
  970.                 // line 676
  971.                 $context['_parent'] = $context;
  972.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'676$this->source); })()));
  973.                 $context['loop'] = [
  974.                   'parent' => $context['_parent'],
  975.                   'index0' => 0,
  976.                   'index'  => 1,
  977.                   'first'  => true,
  978.                 ];
  979.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  980.                     $length count($context['_seq']);
  981.                     $context['loop']['revindex0'] = $length 1;
  982.                     $context['loop']['revindex'] = $length;
  983.                     $context['loop']['length'] = $length;
  984.                     $context['loop']['last'] = === $length;
  985.                 }
  986.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  987.                     // line 677
  988.                     echo "                                ";
  989.                     // line 678
  990.                     echo "                                <div class=\"col-6 col-lg-4 mb-4\">
  991.                                     <a href=\"";
  992.                     // line 679
  993.                     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"falsefalsetrue679)]), "html"nulltrue);
  994.                     echo "\" class=\"item-thumb\">
  995.                                         <img src=\"";
  996.                     // line 680
  997.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue680), 680$this->source)), "save_image"), "html"nulltrue);
  998.                     echo "\" class=\"thumb\" alt=\"";
  999.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue680), 680$this->source), "html"nulltrue);
  1000.                     echo "\" ";
  1001.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue680) > 5)) {
  1002.                         echo " loading=\"lazy\"";
  1003.                     }
  1004.                     echo ">
  1005.                                         <div class=\"name\">";
  1006.                     // line 681
  1007.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue681), 681$this->source), "html"nulltrue);
  1008.                     echo "</div>
  1009.                                         ";
  1010.                     // line 682
  1011.                     $context['_parent'] = $context;
  1012.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "ProductTag", [], "any"falsefalsetrue682));
  1013.                     foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  1014.                         // line 683
  1015.                         echo "                                            ";
  1016.                         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Tag"], "Tag", [], "any"falsefalsetrue683), "name", [], "any"falsefalsetrue683) == "一番人気")) {
  1017.                             // line 684
  1018.                             echo "                                                <span class=\"icon -popular\">一番人気</span>
  1019.                                             ";
  1020.                         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 685
  1021. $context["Tag"], "Tag", [], "any"falsefalsetrue685), "name", [], "any"falsefalsetrue685) == "即日配送")) {
  1022.                             // line 686
  1023.                             echo "                                                <span class=\"icon -rapid\">即日配送</span>
  1024.                                             ";
  1025.                         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 687
  1026. $context["Tag"], "Tag", [], "any"falsefalsetrue687), "name", [], "any"falsefalsetrue687) == "代引手数料無料")) {
  1027.                             // line 688
  1028.                             echo "                                                <span class=\"icon -free\">代引手数料無料</span>
  1029.                                             ";
  1030.                         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 689
  1031. $context["Tag"], "Tag", [], "any"falsefalsetrue689), "name", [], "any"falsefalsetrue689) == "送料無料")) {
  1032.                             // line 690
  1033.                             echo "                                                <span class=\"icon -free\">送料無料</span>
  1034.                                             ";
  1035.                         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 691
  1036. $context["Tag"], "Tag", [], "any"falsefalsetrue691), "name", [], "any"falsefalsetrue691) == "3%還元")) {
  1037.                             // line 692
  1038.                             echo "                                                <span class=\"icon -point\">3%還元</span>
  1039.                                             ";
  1040.                         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,                         // line 693
  1041. $context["Tag"], "Tag", [], "any"falsefalsetrue693), "name", [], "any"falsefalsetrue693) == "人気")) {
  1042.                             // line 694
  1043.                             echo "                                                <span class=\"icon -popular\">人気</span>
  1044.                                             ";
  1045.                         }
  1046.                         // line 696
  1047.                         echo "                                        ";
  1048.                     }
  1049.                     $_parent $context['_parent'];
  1050.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  1051.                     $context array_intersect_key($context$_parent) + $_parent;
  1052.                     // line 697
  1053.                     echo "                                        ";
  1054.                     if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'697$this->source); })()))) {
  1055.                         // line 698
  1056.                         echo "                                        ";
  1057.                         if ((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.'698$this->source); })()), "id", [], "any"falsefalsetrue698) == 7)) {
  1058.                             // line 699
  1059.                             echo "                                        <div class=\"price\">
  1060.                                             ";
  1061.                             // line 700
  1062.                             if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue700)) {
  1063.                                 // line 701
  1064.                                 echo "                                                ";
  1065.                                 if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue701) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue701))) {
  1066.                                     // line 702
  1067.                                     echo "                                                    ";
  1068.                                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue702), 702$this->source)), "html"nulltrue);
  1069.                                     echo " 円 (税込)
  1070.                                                 ";
  1071.                                 } else {
  1072.                                     // line 704
  1073.                                     echo "                                                    ";
  1074.                                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue704), 704$this->source)), "html"nulltrue);
  1075.                                     echo " ~ ";
  1076.                                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue704), 704$this->source)), "html"nulltrue);
  1077.                                     echo " 円 (税込)
  1078.                                                 ";
  1079.                                 }
  1080.                                 // line 706
  1081.                                 echo "                                            ";
  1082.                             } else {
  1083.                                 // line 707
  1084.                                 echo "                                                ";
  1085.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue707), 707$this->source)), "html"nulltrue);
  1086.                                 echo " 円 (税込)
  1087.                                             ";
  1088.                             }
  1089.                             // line 709
  1090.                             echo "                                        </div>
  1091.                                         ";
  1092.                         }
  1093.                         // line 711
  1094.                         echo "                                        ";
  1095.                     } else {
  1096.                         // line 712
  1097.                         echo "                                        <div class=\"price\">
  1098.                                             ";
  1099.                         // line 713
  1100.                         if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue713)) {
  1101.                             // line 714
  1102.                             echo "                                                ";
  1103.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue714) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue714))) {
  1104.                                 // line 715
  1105.                                 echo "                                                    ";
  1106.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue715), 715$this->source)), "html"nulltrue);
  1107.                                 echo " 円 (税込)
  1108.                                                 ";
  1109.                             } else {
  1110.                                 // line 717
  1111.                                 echo "                                                    ";
  1112.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue717), 717$this->source)), "html"nulltrue);
  1113.                                 echo " ~ ";
  1114.                                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue717), 717$this->source)), "html"nulltrue);
  1115.                                 echo " 円 (税込)
  1116.                                                 ";
  1117.                             }
  1118.                             // line 719
  1119.                             echo "                                            ";
  1120.                         } else {
  1121.                             // line 720
  1122.                             echo "                                                ";
  1123.                             echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue720), 720$this->source)), "html"nulltrue);
  1124.                             echo " 円 (税込)
  1125.                                             ";
  1126.                         }
  1127.                         // line 722
  1128.                         echo "                                        </div>
  1129.                                         ";
  1130.                     }
  1131.                     // line 724
  1132.                     echo "                                    </a>
  1133.                                 </div>
  1134.                             ";
  1135.                     ++$context['loop']['index0'];
  1136.                     ++$context['loop']['index'];
  1137.                     $context['loop']['first'] = false;
  1138.                     if (isset($context['loop']['length'])) {
  1139.                         --$context['loop']['revindex0'];
  1140.                         --$context['loop']['revindex'];
  1141.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  1142.                     }
  1143.                 }
  1144.                 $_parent $context['_parent'];
  1145.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  1146.                 $context array_intersect_key($context$_parent) + $_parent;
  1147.                 // line 727
  1148.                 echo "                        </div>
  1149. ";
  1150.                 // line 737
  1151.                 echo "                        ";
  1152.                 $this->loadTemplate("pager.twig""Product/list.twig"737)->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.'737$this->source); })()), "paginationData", [], "any"falsefalsetrue737)]));
  1153.                 // line 738
  1154.                 echo "                    ";
  1155.             } else {
  1156.                 // line 739
  1157.                 echo "                        <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
  1158.                             <div><span>";
  1159.                 // line 740
  1160.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま準備中です"), "html"nulltrue);
  1161.                 echo "</span></div>
  1162.                         </div>
  1163.                     ";
  1164.             }
  1165.             // line 743
  1166.             echo "                    <div class=\"modalBoxAlert\" id=\"alert01\">
  1167.                         <div class=\"modalInnerAlert\">
  1168.                             絞り込みたい項目がある場合のみチェックしてください。
  1169.                         </div>
  1170.                     </div>
  1171.                 </main>
  1172.             </div>
  1173.         </div>
  1174.         <!-- modal -->
  1175.         ";
  1176.             // line 753
  1177.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'753$this->source); })()))) {
  1178.                 // line 754
  1179.                 echo "        ";
  1180.                 if ((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.'754$this->source); })()), "id", [], "any"falsefalsetrue754) == 7)) {
  1181.                     // line 755
  1182.                     echo "        <div class=\"modal fade\" id=\"filterModalBall\" tabindex=\"-1\" aria-labelledby=\"filterModalBallLabel\" aria-hidden=\"true\">
  1183.             <div class=\"modal-dialog\">
  1184.                 <div class=\"modal-content\">
  1185.                     <div class=\"modal-header\">
  1186.                         <h5 class=\"modal-title\" id=\"filterModalBallLabel\">絞り込み</h5>
  1187.                         <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  1188.                     </div>
  1189.                     <form name=\"formSelSP\" id=\"formSelSP\" method=\"get\" action=\"?\">
  1190.                     <div class=\"modal-body\">
  1191.                         <!-- 絞り込みフォームの内容をここに追加 -->
  1192.                         <div class=\"aside-filter _modal\">
  1193.                         <div class=\"title\">
  1194.                             ボールの種類から選ぶ
  1195.                         </div>
  1196.                         <ul class=\"list-unstyled mb-0 list\">
  1197.                             <li>
  1198.                                 <label>
  1199.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"14\"";
  1200.                     // line 772
  1201.                     if (twig_in_filter(14twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'772$this->source); })()), "ball-type", [], "array"falsefalsetrue772))) {
  1202.                         echo " checked";
  1203.                     }
  1204.                     echo ">
  1205.                                     持ち込みボール
  1206.                                 </label>
  1207.                             </li>
  1208.                             <li>
  1209.                                 <label>
  1210.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"11\"";
  1211.                     // line 778
  1212.                     if (twig_in_filter(11twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'778$this->source); })()), "ball-type", [], "array"falsefalsetrue778))) {
  1213.                         echo " checked";
  1214.                     }
  1215.                     echo ">
  1216.                                     スリクソン
  1217.                                 </label>
  1218.                             </li>
  1219.                             <li>
  1220.                                 <label>
  1221.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"12\"";
  1222.                     // line 784
  1223.                     if (twig_in_filter(12twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'784$this->source); })()), "ball-type", [], "array"falsefalsetrue784))) {
  1224.                         echo " checked";
  1225.                     }
  1226.                     echo ">
  1227.                                     ゼクシオ
  1228.                                 </label>
  1229.                             </li>
  1230.                             <li>
  1231.                                 <label>
  1232.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"13\"";
  1233.                     // line 790
  1234.                     if (twig_in_filter(13twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'790$this->source); })()), "ball-type", [], "array"falsefalsetrue790))) {
  1235.                         echo " checked";
  1236.                     }
  1237.                     echo ">
  1238.                                     ツアースペシャル
  1239.                                 </label>
  1240.                             </li>
  1241.                         </ul>
  1242.                         <div class=\"title\">
  1243.                             ボールの球数から選ぶ
  1244.                         </div>
  1245.                         <ul class=\"list-unstyled mb-0 list\">
  1246.                             <li>
  1247.                                 <label>
  1248.                                     <input type=\"checkbox\" name=\"ball_nums\" class=\"ball_nums_sp\" value=\"8,13\"";
  1249.                     // line 801
  1250.                     if ((twig_in_filter(8twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'801$this->source); })()), "ball-nums", [], "array"falsefalsetrue801)) || twig_in_filter(13twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'801$this->source); })()), "ball-nums", [], "array"falsefalsetrue801)))) {
  1251.                         echo " checked";
  1252.                     }
  1253.                     echo ">
  1254.                                     3球
  1255.                                 </label>
  1256.                             </li>
  1257.                             <li>
  1258.                                 <label>
  1259.                                     <input type=\"checkbox\" name=\"ball_nums\" class=\"ball_nums_sp\" value=\"11,14\"";
  1260.                     // line 807
  1261.                     if ((twig_in_filter(11twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'807$this->source); })()), "ball-nums", [], "array"falsefalsetrue807)) || twig_in_filter(14twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'807$this->source); })()), "ball-nums", [], "array"falsefalsetrue807)))) {
  1262.                         echo " checked";
  1263.                     }
  1264.                     echo ">
  1265.                                     6球
  1266.                                 </label>
  1267.                             </li>
  1268.                             <li>
  1269.                                 <label>
  1270.                                     <input type=\"checkbox\" name=\"ball_nums\" class=\"ball_nums_sp\" value=\"12,15\"";
  1271.                     // line 813
  1272.                     if ((twig_in_filter(12twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'813$this->source); })()), "ball-nums", [], "array"falsefalsetrue813)) || twig_in_filter(15twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'813$this->source); })()), "ball-nums", [], "array"falsefalsetrue813)))) {
  1273.                         echo " checked";
  1274.                     }
  1275.                     echo ">
  1276.                                     12球
  1277.                                 </label>
  1278.                             </li>
  1279.                         </ul>
  1280.                         <div class=\"title\">
  1281.                             価格で選ぶ
  1282.                         </div>
  1283.                         <ul class=\"list-unstyled mb-0 list\">
  1284.                             <li>
  1285.                                 <label>
  1286.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"1\"";
  1287.                     // line 824
  1288.                     if (twig_in_filter(1twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'824$this->source); })()), "ball-price", [], "array"falsefalsetrue824))) {
  1289.                         echo " checked";
  1290.                     }
  1291.                     echo ">
  1292.                                     ~2,999円
  1293.                                 </label>
  1294.                             </li>
  1295.                             <li>
  1296.                                 <label>
  1297.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"2\"";
  1298.                     // line 830
  1299.                     if (twig_in_filter(2twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'830$this->source); })()), "ball-price", [], "array"falsefalsetrue830))) {
  1300.                         echo " checked";
  1301.                     }
  1302.                     echo ">
  1303.                                     3,000円~4,999円
  1304.                                 </label>
  1305.                             </li>
  1306.                             <li>
  1307.                                 <label>
  1308.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"3\"";
  1309.                     // line 836
  1310.                     if (twig_in_filter(3twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'836$this->source); })()), "ball-price", [], "array"falsefalsetrue836))) {
  1311.                         echo " checked";
  1312.                     }
  1313.                     echo ">
  1314.                                     5,000円~9,999円
  1315.                                 </label>
  1316.                             </li>
  1317.                             <li>
  1318.                                 <label>
  1319.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"4\"";
  1320.                     // line 842
  1321.                     if (twig_in_filter(4twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'842$this->source); })()), "ball-price", [], "array"falsefalsetrue842))) {
  1322.                         echo " checked";
  1323.                     }
  1324.                     echo ">
  1325.                                     10,000円以上
  1326.                                 </label>
  1327.                             </li>
  1328.                         </ul>
  1329.                         </div>
  1330.                     </div>
  1331.                     <div class=\"modal-footer\">
  1332.                         <button type=\"button\" class=\"btn btn-outline-dark\" data-bs-dismiss=\"modal\">閉じる</button>
  1333.                         <button type=\"button\" class=\"btn btn-outline-dark\" onclick=\"location.href='";
  1334.                     // line 851
  1335.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  1336.                     echo "?category_id=7'\">クリア</button>
  1337.                         <button type=\"button\" class=\"btn btn-primary\" onclick=\"setValSP();\">絞り込む</button>
  1338.                     </div>
  1339.                     </form>
  1340.                 </div>
  1341.             </div>
  1342.         </div>
  1343.         ";
  1344.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 858
  1345. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'858$this->source); })()), "id", [], "any"falsefalsetrue858) == 8)) {
  1346.                     // line 859
  1347.                     echo "        ";
  1348.                 } elseif ((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.'859$this->source); })()), "id", [], "any"falsefalsetrue859) == 9)) {
  1349.                     // line 860
  1350.                     echo "        <div class=\"modal fade\" id=\"filterModal\" tabindex=\"-1\" aria-labelledby=\"filterModalLabel\" aria-hidden=\"true\">
  1351.             <div class=\"modal-dialog\">
  1352.                 <div class=\"modal-content\">
  1353.                     <div class=\"modal-header\">
  1354.                         <h5 class=\"modal-title\" id=\"filterModalLabel\">絞り込み</h5>
  1355.                         <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  1356.                     </div>
  1357.                     <form name=\"formSelSP\" id=\"formSelSP\" method=\"get\" action=\"?\">
  1358.                     <div class=\"modal-body\">
  1359.                         <!-- 絞り込みフォームの内容をここに追加 -->
  1360.                         <div class=\"aside-filter _modal\">
  1361.                             <div class=\"title\">
  1362.                             カテゴリから選ぶ
  1363.                         </div>
  1364.                         <ul class=\"list-unstyled mb-0 list\">
  1365.                             <li>
  1366.                                 <label>
  1367.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"15\"";
  1368.                     // line 877
  1369.                     if (twig_in_filter(15twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'877$this->source); })()), "design-cate", [], "array"falsefalsetrue877))) {
  1370.                         echo " checked";
  1371.                     }
  1372.                     echo ">
  1373.                                     誕生日祝い
  1374.                                 </label>
  1375.                             </li>
  1376.                             <li>
  1377.                                 <label>
  1378.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"16\"";
  1379.                     // line 883
  1380.                     if (twig_in_filter(16twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'883$this->source); })()), "design-cate", [], "array"falsefalsetrue883))) {
  1381.                         echo " checked";
  1382.                     }
  1383.                     echo ">
  1384.                                     定年退職祝い
  1385.                                 </label>
  1386.                             </li>
  1387.                             <li>
  1388.                                 <label>
  1389.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"17\"";
  1390.                     // line 889
  1391.                     if (twig_in_filter(17twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'889$this->source); })()), "design-cate", [], "array"falsefalsetrue889))) {
  1392.                         echo " checked";
  1393.                     }
  1394.                     echo ">
  1395.                                     還暦祝い
  1396.                                 </label>
  1397.                             </li>
  1398.                             <li>
  1399.                                 <label>
  1400.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"18\"";
  1401.                     // line 895
  1402.                     if (twig_in_filter(18twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'895$this->source); })()), "design-cate", [], "array"falsefalsetrue895))) {
  1403.                         echo " checked";
  1404.                     }
  1405.                     echo ">
  1406.                                     コンペ景品
  1407.                                 </label>
  1408.                             </li>
  1409.                             <li>
  1410.                                 <label>
  1411.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"19\"";
  1412.                     // line 901
  1413.                     if (twig_in_filter(19twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'901$this->source); })()), "design-cate", [], "array"falsefalsetrue901))) {
  1414.                         echo " checked";
  1415.                     }
  1416.                     echo ">
  1417.                                     父の日祝い
  1418.                                 </label>
  1419.                             </li>
  1420.                             <li>
  1421.                                 <label>
  1422.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"20\"";
  1423.                     // line 907
  1424.                     if (twig_in_filter(20twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'907$this->source); })()), "design-cate", [], "array"falsefalsetrue907))) {
  1425.                         echo " checked";
  1426.                     }
  1427.                     echo ">
  1428.                                     母の日祝い
  1429.                                 </label>
  1430.                             </li>
  1431.                             <li>
  1432.                                 <label>
  1433.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"21\"";
  1434.                     // line 913
  1435.                     if (twig_in_filter(21twig_get_attribute($this->env$this->source, (isset($context["Selects"]) || array_key_exists("Selects"$context) ? $context["Selects"] : (function () { throw new RuntimeError('Variable "Selects" does not exist.'913$this->source); })()), "design-cate", [], "array"falsefalsetrue913))) {
  1436.                         echo " checked";
  1437.                     }
  1438.                     echo ">
  1439.                                     GOLFPRINT オリジナル
  1440.                                 </label>
  1441.                             </li>
  1442.                         </ul>
  1443.                         </div>
  1444.                     </div>
  1445.                     <div class=\"modal-footer\">
  1446.                         <button type=\"button\" class=\"btn btn-outline-dark\" data-bs-dismiss=\"modal\">閉じる</button>
  1447.                         <button type=\"button\" class=\"btn btn-outline-dark\" onclick=\"location.href='";
  1448.                     // line 922
  1449.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  1450.                     echo "?category_id=9'\">クリア</button>
  1451.                         <button type=\"button\" class=\"btn btn-primary\" onclick=\"setValSP();\">絞り込む</button>
  1452.                     </div>
  1453.                     </form>
  1454.                 </div>
  1455.             </div>
  1456.         </div>
  1457.         <!-- modal 導入事例事例参考デザイン -->
  1458.         <div class=\"modal fade\" id=\"fullScreenModal\" tabindex=\"-1\" aria-labelledby=\"fullScreenModalLabel\" aria-hidden=\"true\">
  1459.             <div class=\"modal-dialog modal-dialog-centered modal-dialog-scrollable\" style=\"max-width: 100vw; margin: 0;\">
  1460.                 <div class=\"modal-content\" style=\"height: 100vh;\">
  1461.                     <div class=\"modal-header\">
  1462.                         <h5 class=\"modal-title\" id=\"fullScreenModalLabel\">導入事例参考デザイン</h5>
  1463.                         <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  1464.                     </div>
  1465.                     <div class=\"modal-body\">
  1466.                         <div class=\"row\">
  1467. ";
  1468.                     // line 940
  1469.                     $context['_parent'] = $context;
  1470.                     $context['_seq'] = twig_ensure_traversable((isset($context["CaseDataList"]) || array_key_exists("CaseDataList"$context) ? $context["CaseDataList"] : (function () { throw new RuntimeError('Variable "CaseDataList" does not exist.'940$this->source); })()));
  1471.                     foreach ($context['_seq'] as $context["_key"] => $context["CaseData"]) {
  1472.                         // line 941
  1473.                         echo "                            <div class=\"col-6 col-md-4 col-lg-3 col-xxl-2 mb-4\">
  1474.                                 <div class=\"bg-secondary p-3 rounded\">
  1475.                                     <form name=\"formCase";
  1476.                         // line 943
  1477.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue943), 943$this->source), "html"nulltrue);
  1478.                         echo "\" id=\"productFormCase";
  1479.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue943), 943$this->source), "html"nulltrue);
  1480.                         echo "\" action=\"";
  1481.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart_case", ["id" => twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue943)]), "html"nulltrue);
  1482.                         echo "\" method=\"post\">
  1483.                                         <input type=\"hidden\" id=\"quantityCase";
  1484.                         // line 944
  1485.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue944), 944$this->source), "html"nulltrue);
  1486.                         echo "\" name=\"quantity\" value=\"1\">
  1487.                                         <input type=\"hidden\" id=\"product_idCase";
  1488.                         // line 945
  1489.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue945), 945$this->source), "html"nulltrue);
  1490.                         echo "\" name=\"product_id\" value=\"101\">
  1491.                                         <input type=\"hidden\" id=\"ProductClassCase";
  1492.                         // line 946
  1493.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue946), 946$this->source), "html"nulltrue);
  1494.                         echo "\" name=\"ProductClass\" value=\"320\">
  1495.                                         <input type=\"hidden\" id=\"_tokenCase";
  1496.                         // line 947
  1497.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue947), 947$this->source), "html"nulltrue);
  1498.                         echo "\" name=\"_token\" value=\"";
  1499.                         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("_token"), "html"nulltrue);
  1500.                         echo "\">
  1501.                                     <a href=\"javascript:formCase";
  1502.                         // line 948
  1503.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue948), 948$this->source), "html"nulltrue);
  1504.                         echo ".submit()\" class=\"numbering-container\">
  1505.                                         <div class=\"number\">";
  1506.                         // line 949
  1507.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue949), 949$this->source), "html"nulltrue);
  1508.                         echo "</div>
  1509.                                         <img src=\"/icms/user_data/image/Voice1/";
  1510.                         // line 950
  1511.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "thumbnail_gazo", [], "any"falsefalsetrue950), 950$this->source), "html"nulltrue);
  1512.                         echo "\" class=\"img-fluid text-dark mb-3\" alt=\"";
  1513.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "title", [], "any"falsefalsetrue950), 950$this->source), "html"nulltrue);
  1514.                         echo "\" width=\"500\" height=\"500\">
  1515.                                         <p class=\"text-center text-dark mb-1\">[NO.";
  1516.                         // line 951
  1517.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue951), 951$this->source), "html"nulltrue);
  1518.                         echo "]</p>
  1519.                                         <p class=\"text-center text-dark mb-0\">";
  1520.                         // line 952
  1521.                         echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "title", [], "any"falsefalsetrue952), 952$this->source);
  1522.                         echo "</p>
  1523.                                     </a>
  1524.                                     </form>
  1525.                                 </div>
  1526.                             </div>
  1527. ";
  1528.                     }
  1529.                     $_parent $context['_parent'];
  1530.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CaseData'], $context['_parent'], $context['loop']);
  1531.                     $context array_intersect_key($context$_parent) + $_parent;
  1532.                     // line 958
  1533.                     echo "                        </div>
  1534.                     </div>
  1535.                     <div class=\"modal-footer\">
  1536.                         <button type=\"button\" class=\"btn btn-outline-dark\" data-bs-dismiss=\"modal\">閉じる</button>
  1537.                     </div>
  1538.                 </div>
  1539.             </div>
  1540.         </div>
  1541.         ";
  1542.                 } elseif ((twig_get_attribute($this->env$this->source,                 // line 967
  1543. (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'967$this->source); })()), "id", [], "any"falsefalsetrue967) == 10)) {
  1544.                     // line 968
  1545.                     echo "        ";
  1546.                 }
  1547.                 // line 969
  1548.                 echo "        ";
  1549.             }
  1550.             // line 970
  1551.             echo "    ";
  1552.         }
  1553.         
  1554.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1555.         
  1556.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1557.     }
  1558.     public function getTemplateName()
  1559.     {
  1560.         return "Product/list.twig";
  1561.     }
  1562.     public function isTraitable()
  1563.     {
  1564.         return false;
  1565.     }
  1566.     public function getDebugInfo()
  1567.     {
  1568.         return array (  1604 => 970,  1601 => 969,  1598 => 968,  1596 => 967,  1585 => 958,  1573 => 952,  1569 => 951,  1563 => 950,  1559 => 949,  1555 => 948,  1549 => 947,  1545 => 946,  1541 => 945,  1537 => 944,  1529 => 943,  1525 => 941,  1521 => 940,  1500 => 922,  1486 => 913,  1475 => 907,  1464 => 901,  1453 => 895,  1442 => 889,  1431 => 883,  1420 => 877,  1401 => 860,  1398 => 859,  1396 => 858,  1386 => 851,  1372 => 842,  1361 => 836,  1350 => 830,  1339 => 824,  1323 => 813,  1312 => 807,  1301 => 801,  1285 => 790,  1274 => 784,  1263 => 778,  1252 => 772,  1233 => 755,  1230 => 754,  1228 => 753,  1216 => 743,  1210 => 740,  1207 => 739,  1204 => 738,  1201 => 737,  1198 => 727,  1182 => 724,  1178 => 722,  1172 => 720,  1169 => 719,  1161 => 717,  1155 => 715,  1152 => 714,  1150 => 713,  1147 => 712,  1144 => 711,  1140 => 709,  1134 => 707,  1131 => 706,  1123 => 704,  1117 => 702,  1114 => 701,  1112 => 700,  1109 => 699,  1106 => 698,  1103 => 697,  1097 => 696,  1093 => 694,  1091 => 693,  1088 => 692,  1086 => 691,  1083 => 690,  1081 => 689,  1078 => 688,  1076 => 687,  1073 => 686,  1071 => 685,  1068 => 684,  1065 => 683,  1061 => 682,  1057 => 681,  1047 => 680,  1043 => 679,  1040 => 678,  1038 => 677,  1021 => 676,  1016 => 673,  1013 => 672,  1007 => 669,  1004 => 668,  998 => 665,  991 => 664,  989 => 663,  984 => 661,  981 => 660,  979 => 659,  976 => 658,  973 => 657,  970 => 656,  968 => 655,  965 => 654,  962 => 653,  960 => 652,  957 => 651,  954 => 650,  952 => 649,  946 => 646,  943 => 645,  940 => 644,  937 => 643,  934 => 642,  932 => 641,  924 => 636,  918 => 632,  915 => 631,  913 => 630,  906 => 625,  903 => 624,  901 => 623,  898 => 622,  892 => 620,  889 => 619,  886 => 618,  884 => 617,  879 => 616,  876 => 615,  874 => 614,  869 => 613,  866 => 612,  864 => 611,  859 => 608,  855 => 606,  852 => 605,  849 => 604,  847 => 603,  844 => 602,  841 => 601,  839 => 600,  836 => 599,  833 => 598,  831 => 597,  827 => 596,  821 => 592,  818 => 591,  815 => 590,  813 => 589,  810 => 588,  807 => 587,  805 => 586,  800 => 583,  797 => 582,  794 => 581,  782 => 579,  778 => 578,  773 => 577,  769 => 576,  765 => 574,  759 => 571,  756 => 570,  753 => 569,  743 => 568,  692 => 525,  689 => 524,  686 => 523,  684 => 522,  675 => 515,  612 => 453,  609 => 452,  607 => 451,  598 => 444,  467 => 314,  464 => 313,  462 => 312,  442 => 295,  432 => 288,  401 => 260,  392 => 253,  356 => 218,  353 => 216,  249 => 113,  225 => 90,  211 => 89,  203 => 88,  186 => 87,  182 => 85,  172 => 84,  124 => 44,  114 => 43,  103 => 11,  101 => 41,  97 => 36,  95 => 35,  93 => 34,  91 => 33,  89 => 32,  87 => 31,  85 => 30,  83 => 29,  81 => 28,  79 => 27,  77 => 26,  75 => 25,  73 => 24,  71 => 23,  68 => 21,  66 => 20,  64 => 19,  62 => 18,  60 => 17,  58 => 16,  56 => 15,  54 => 14,  52 => 13,  39 => 11,);
  1569.     }
  1570.     public function getSourceContext()
  1571.     {
  1572.         return new Source("{#
  1573. This file is part of EC-CUBE
  1574. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1575. http://www.ec-cube.co.jp/
  1576. For the full copyright and license information, please view the LICENSE
  1577. file that was distributed with this source code.
  1578. #}
  1579. {% extends 'default_frame.twig' %}
  1580. {% if Category is not null %}
  1581. {% if Category.id == 7 and 14 in Selects['ball-type'] %}
  1582.     {% set subtitle = '持ち込みボール' %}
  1583. {% elseif Category.id == 7 and 11 in Selects['ball-type'] %}
  1584.     {% set subtitle = 'スリクソン' %}
  1585. {% elseif Category.id == 7 and 12 in Selects['ball-type'] %}
  1586.     {% set subtitle = 'ゼクシオ' %}
  1587. {% elseif Category.id == 7 and 13 in Selects['ball-type'] %}
  1588.     {% set subtitle = 'ツアースペシャル' %}
  1589. {% endif %}
  1590. {% if Category.id == 9 and 15 in Selects['design-cate'] %}
  1591.     {% set subtitle = '誕生日祝い' %}
  1592. {% elseif Category.id == 9 and 16 in Selects['design-cate'] %}
  1593.     {% set subtitle = '定年退職祝い' %}
  1594. {% elseif Category.id == 9 and 17 in Selects['design-cate'] %}
  1595.     {% set subtitle = '還暦祝い' %}
  1596. {% elseif Category.id == 9 and 18 in Selects['design-cate'] %}
  1597.     {% set subtitle = 'コンペ景品' %}
  1598. {% elseif Category.id == 9 and 19 in Selects['design-cate'] %}
  1599.     {% set subtitle = '父の日祝い' %}
  1600. {% elseif Category.id == 9 and 20 in Selects['design-cate'] %}
  1601.     {% set subtitle = '母の日祝い' %}
  1602. {% elseif Category.id == 9 and 21 in Selects['design-cate'] %}
  1603.     {% set subtitle = 'GOLFPRINT オリジナル' %}
  1604. {% endif %}
  1605. {% endif %}
  1606. {% set body_class = 'product_page' %}
  1607. {% block stylesheet %}
  1608.     <style>
  1609.         #modalWrapAlert {
  1610.             display: none;
  1611.             background: 0 0;
  1612.             width: 100%;
  1613.             height: 100%;
  1614.             position: fixed;
  1615.             top: 0;
  1616.             left: 0;
  1617.             z-index: 100;
  1618.             overflow: hidden
  1619.         }
  1620.         .modalBoxAlert {
  1621.             position: fixed;
  1622.             width: 85%;
  1623.             max-width: 420px;
  1624.             height: 0;
  1625.             top: 0;
  1626.             bottom: 0;
  1627.             left: 0;
  1628.             right: 0;
  1629.             margin: auto;
  1630.             overflow: hidden;
  1631.             opacity: 1;
  1632.             display: none;
  1633.             border-radius: 3px;
  1634.             z-index: 1000
  1635.         }
  1636.         .modalInnerAlert {
  1637.             padding: 10px;
  1638.             text-align: center;
  1639.             box-sizing: border-box;
  1640.             background: rgba(0, 0, 0, .7);
  1641.             color: #fff
  1642.         }
  1643.     </style>
  1644. {% endblock %}
  1645. {% block javascript %}
  1646.     <script>
  1647.         eccube.productsClassCategories = {
  1648.             {% for Product in pagination %}
  1649.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  1650.             {% endfor %}
  1651.         };
  1652.         \$(function() {
  1653.             // 表示件数を変更
  1654.             \$('.disp-number').change(function() {
  1655.                 var dispNumber = \$(this).val();
  1656.                 \$('#disp_number').val(dispNumber);
  1657.                 \$('#pageno').val(1);
  1658.                 checkAndSetVal();
  1659.                 \$(\"#form1\").submit();
  1660.             });
  1661.             // 並び順を変更
  1662.             \$('.order-by').change(function() {
  1663.                 var orderBy = \$(this).val();
  1664.                 \$('#orderby').val(orderBy);
  1665.                 \$('#pageno').val(1);
  1666.                 checkAndSetVal();
  1667.                 \$(\"#form1\").submit();
  1668.             });
  1669. {# Category.id:7 ボールを選ぶ用 #}
  1670.             \$('.ball_type').change(function() {
  1671.                 let selCnt = 0;
  1672.                 const ballType = document.forms.formSelPC.ball_type;
  1673.                 for( let i=0; i < ballType.length; i++ ) {
  1674.                     if( ballType[i].checked ) {
  1675.                         selCnt++;
  1676.                     }
  1677.                 }
  1678.                 if( selCnt == ballType.length ) {
  1679.                     for( let i=0; i < ballType.length; i++ ) {
  1680.                         ballType[i].checked = false;
  1681.                     }
  1682.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1683.                     selAlert();
  1684.                 }
  1685.             });
  1686.             \$('.ball_nums').change(function() {
  1687.                 let selCnt = 0;
  1688.                 const ballNums = document.forms.formSelPC.ball_nums;
  1689.                 for( let i=0; i < ballNums.length; i++ ) {
  1690.                     if( ballNums[i].checked ) {
  1691.                         selCnt++;
  1692.                     }
  1693.                 }
  1694.                 if( selCnt == ballNums.length ) {
  1695.                     for( let i=0; i < ballNums.length; i++ ) {
  1696.                         ballNums[i].checked = false;
  1697.                     }
  1698.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1699.                     selAlert();
  1700.                 }
  1701.             });
  1702.             \$('.ball_price').change(function() {
  1703.                 let selCnt = 0;
  1704.                 const ballPrice = document.forms.formSelPC.ball_price;
  1705.                 for( let i=0; i < ballPrice.length; i++ ) {
  1706.                     if( ballPrice[i].checked ) {
  1707.                         selCnt++;
  1708.                     }
  1709.                 }
  1710.                 if( selCnt == ballPrice.length ) {
  1711.                     for( let i=0; i < ballPrice.length; i++ ) {
  1712.                         ballPrice[i].checked = false;
  1713.                     }
  1714.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1715.                     selAlert();
  1716.                 }
  1717.             });
  1718.             \$('.ball_type_sp').change(function() {
  1719.                 let selCnt = 0;
  1720.                 const ballType = document.forms.formSelSP.ball_type;
  1721.                 for( let i=0; i < ballType.length; i++ ) {
  1722.                     if( ballType[i].checked ) {
  1723.                         selCnt++;
  1724.                     }
  1725.                 }
  1726.                 if( selCnt == ballType.length ) {
  1727.                     for( let i=0; i < ballType.length; i++ ) {
  1728.                         ballType[i].checked = false;
  1729.                     }
  1730.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1731.                     selAlert();
  1732.                 }
  1733.             });
  1734.             \$('.ball_nums_sp').change(function() {
  1735.                 let selCnt = 0;
  1736.                 const ballNums = document.forms.formSelSP.ball_nums;
  1737.                 for( let i=0; i < ballNums.length; i++ ) {
  1738.                     if( ballNums[i].checked ) {
  1739.                         selCnt++;
  1740.                     }
  1741.                 }
  1742.                 if( selCnt == ballNums.length ) {
  1743.                     for( let i=0; i < ballNums.length; i++ ) {
  1744.                         ballNums[i].checked = false;
  1745.                     }
  1746.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1747.                     selAlert();
  1748.                 }
  1749.             });
  1750.             \$('.ball_price_sp').change(function() {
  1751.                 let selCnt = 0;
  1752.                 const ballPrice = document.forms.formSelSP.ball_price;
  1753.                 for( let i=0; i < ballPrice.length; i++ ) {
  1754.                     if( ballPrice[i].checked ) {
  1755.                         selCnt++;
  1756.                     }
  1757.                 }
  1758.                 if( selCnt == ballPrice.length ) {
  1759.                     for( let i=0; i < ballPrice.length; i++ ) {
  1760.                         ballPrice[i].checked = false;
  1761.                     }
  1762.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1763.                     selAlert();
  1764.                 }
  1765.             });
  1766. {# Category.id:8 マーカーを選ぶ用 #}
  1767. {# Category.id:9 デザインを選ぶ用 #}
  1768.             \$('.design_cate').change(function() {
  1769.                 let selCnt = 0;
  1770.                 const designCate = document.forms.formSelPC.design_cate;
  1771.                 for( let i=0; i < designCate.length; i++ ) {
  1772.                     if( designCate[i].checked ) {
  1773.                         selCnt++;
  1774.                     }
  1775.                 }
  1776.                 if( selCnt == designCate.length ) {
  1777.                     for( let i=0; i < designCate.length; i++ ) {
  1778.                         designCate[i].checked = false;
  1779.                     }
  1780.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1781.                     selAlert();
  1782.                 }
  1783.             });
  1784.             \$('.design_cate_sp').change(function() {
  1785.                 let selCnt = 0;
  1786.                 const designCate = document.forms.formSelSP.design_cate;
  1787.                 for( let i=0; i < designCate.length; i++ ) {
  1788.                     if( designCate[i].checked ) {
  1789.                         selCnt++;
  1790.                     }
  1791.                 }
  1792.                 if( selCnt == designCate.length ) {
  1793.                     for( let i=0; i < designCate.length; i++ ) {
  1794.                         designCate[i].checked = false;
  1795.                     }
  1796.                     //alert('絞り込みたい項目がある場合のみチェックしてください。');
  1797.                     selAlert();
  1798.                 }
  1799.             });
  1800. {# Category.id:10 ラッピング用 #}
  1801.             \$('.add-cart').on('click', function(e) {
  1802.                 var \$form = \$(this).parents('li').find('form');
  1803.                 // 個数フォームのチェック
  1804.                 var \$quantity = \$form.parent().find('.quantity');
  1805.                 if (\$quantity.val() < 1) {
  1806.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1807.                     setTimeout(function() {
  1808.                         loadingOverlay('hide');
  1809.                     }, 100);
  1810.                     return true;
  1811.                 } else {
  1812.                     \$quantity[0].setCustomValidity('');
  1813.                 }
  1814.                 e.preventDefault();
  1815.                 \$.ajax({
  1816.                     url: \$form.attr('action'),
  1817.                     type: \$form.attr('method'),
  1818.                     data: \$form.serialize(),
  1819.                     dataType: 'json',
  1820.                     beforeSend: function(xhr, settings) {
  1821.                         // Buttonを無効にする
  1822.                         \$('.add-cart').prop('disabled', true);
  1823.                     }
  1824.                 }).done(function(data) {
  1825.                     // レスポンス内のメッセージをalertで表示
  1826.                     \$.each(data.messages, function() {
  1827.                         \$('#ec-modal-header').text(this);
  1828.                     });
  1829.                     \$('.ec-modal').show()
  1830.                     // カートブロックを更新する
  1831.                     \$.ajax({
  1832.                         url: '{{ url('block_cart') }}',
  1833.                         type: 'GET',
  1834.                         dataType: 'html'
  1835.                     }).done(function(html) {
  1836.                         \$('.ec-headerRole__cart').html(html);
  1837.                     });
  1838.                 }).fail(function(data) {
  1839.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1840.                 }).always(function(data) {
  1841.                     // Buttonを有効にする
  1842.                     \$('.add-cart').prop('disabled', false);
  1843.                 });
  1844.             });
  1845.         });
  1846.         \$('.ec-modal-wrap').on('click', function(e) {
  1847.             // モーダル内の処理は外側にバブリングさせない
  1848.             e.stopPropagation();
  1849.         });
  1850.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  1851.             \$('.ec-modal').hide()
  1852.         });
  1853.     </script>
  1854.     <script>
  1855.     {% if Category is not null %}
  1856.     {% if Category.id == 7 %}{# ボールを選ぶ #}
  1857.         function setValPC( rst = 1 ) {
  1858.             let sels_type = '';
  1859.             const ballType = document.forms.formSelPC.ball_type;
  1860.             for( let i=0; i < ballType.length; i++ ) {
  1861.                 if( ballType[i].checked ) {
  1862.                     if( sels_type ) {
  1863.                         sels_type = sels_type + ',';
  1864.                     }
  1865.                     sels_type = sels_type + ballType[i].value;
  1866.                 }
  1867.             }
  1868.             \$('#ball-type').val(sels_type);
  1869.             let sels_nums = '';
  1870.             const ballNums = document.forms.formSelPC.ball_nums;
  1871.             for( let i=0; i < ballNums.length; i++ ) {
  1872.                 if( ballNums[i].checked ) {
  1873.                     if( sels_nums ) {
  1874.                         sels_nums = sels_nums + ',';
  1875.                     }
  1876.                     sels_nums = sels_nums + ballNums[i].value;
  1877.                 }
  1878.             }
  1879.             \$('#ball-nums').val(sels_nums);
  1880.             let sels_price = '';
  1881.             const ballPrice = document.forms.formSelPC.ball_price;
  1882.             for( let i=0; i < ballPrice.length; i++ ) {
  1883.                 if( ballPrice[i].checked ) {
  1884.                     if( sels_price ) {
  1885.                         sels_price = sels_price + ',';
  1886.                     }
  1887.                     sels_price = sels_price + ballPrice[i].value;
  1888.                 }
  1889.             }
  1890.             \$('#ball-price').val(sels_price);
  1891.             if( rst == 1 ) {
  1892.                 \$('#pageno').val(1);
  1893.                 \$('#disp_number').val(21);
  1894.                 \$('#orderby').val(2);
  1895.             }
  1896.             \$(\"#form1\").submit();
  1897.         }
  1898.         function setValSP( rst = 1 ) {
  1899.             let sels_type = '';
  1900.             const ballType = document.forms.formSelSP.ball_type;
  1901.             for( let i=0; i < ballType.length; i++ ) {
  1902.                 if( ballType[i].checked ) {
  1903.                     if( sels_type ) {
  1904.                         sels_type = sels_type + ',';
  1905.                     }
  1906.                     sels_type = sels_type + ballType[i].value;
  1907.                 }
  1908.             }
  1909.             \$('#ball-type').val(sels_type);
  1910.             let sels_nums = '';
  1911.             const ballNums = document.forms.formSelSP.ball_nums;
  1912.             for( let i=0; i < ballNums.length; i++ ) {
  1913.                 if( ballNums[i].checked ) {
  1914.                     if( sels_nums ) {
  1915.                         sels_nums = sels_nums + ',';
  1916.                     }
  1917.                     sels_nums = sels_nums + ballNums[i].value;
  1918.                 }
  1919.             }
  1920.             \$('#ball-nums').val(sels_nums);
  1921.             let sels_price = '';
  1922.             const ballPrice = document.forms.formSelSP.ball_price;
  1923.             for( let i=0; i < ballPrice.length; i++ ) {
  1924.                 if( ballPrice[i].checked ) {
  1925.                     if( sels_price ) {
  1926.                         sels_price = sels_price + ',';
  1927.                     }
  1928.                     sels_price = sels_price + ballPrice[i].value;
  1929.                 }
  1930.             }
  1931.             \$('#ball-price').val(sels_price);
  1932.             if( rst == 1 ) {
  1933.                 \$('#pageno').val(1);
  1934.                 \$('#disp_number').val(21);
  1935.                 \$('#orderby').val(2);
  1936.             }
  1937.             \$(\"#form1\").submit();
  1938.         }
  1939.         function checkAndSetVal() {
  1940.             let selCntPC = 0;
  1941.             const ballType = document.forms.formSelPC.ball_type;
  1942.             for( let i=0; i < ballType.length; i++ ) {
  1943.                 if( ballType[i].checked ) {
  1944.                     selCntPC++;
  1945.                 }
  1946.             }
  1947.             const ballNums = document.forms.formSelPC.ball_nums;
  1948.             for( let i=0; i < ballNums.length; i++ ) {
  1949.                 if( ballNums[i].checked ) {
  1950.                     selCntPC++;
  1951.                 }
  1952.             }
  1953.             const ballPrice = document.forms.formSelPC.ball_price;
  1954.             for( let i=0; i < ballPrice.length; i++ ) {
  1955.                 if( ballPrice[i].checked ) {
  1956.                     selCntPC++;
  1957.                 }
  1958.             }
  1959.             let selCntSP = 0;
  1960.             const ballTypeSP = document.forms.formSelSP.ball_type;
  1961.             for( let i=0; i < ballTypeSP.length; i++ ) {
  1962.                 if( ballTypeSP[i].checked ) {
  1963.                     selCntSP++;
  1964.                 }
  1965.             }
  1966.             const ballNumsSP = document.forms.formSelSP.ball_nums;
  1967.             for( let i=0; i < ballNumsSP.length; i++ ) {
  1968.                 if( ballNumsSP[i].checked ) {
  1969.                     selCntSP++;
  1970.                 }
  1971.             }
  1972.             const ballPriceSP = document.forms.formSelSP.ball_price;
  1973.             for( let i=0; i < ballPriceSP.length; i++ ) {
  1974.                 if( ballPriceSP[i].checked ) {
  1975.                     selCntSP++;
  1976.                 }
  1977.             }
  1978.             if( selCntPC > 0 && selCntSP == 0 ) {
  1979.                 setValPC(0);
  1980.             }
  1981.             else if( selCntPC == 0 && selCntSP > 0 ) {
  1982.                 setValSP(0);
  1983.             }
  1984.             {# 絞り込み2回目以降はPC版、SP版両方の絞り込みが選択されている #}
  1985.             else if( selCntPC > 0 && selCntSP > 0 ) {
  1986.                 setValPC(0);
  1987.             }
  1988.             else {
  1989.                 return false;
  1990.             }
  1991.         }
  1992.     {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  1993.     {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  1994.         function setValPC( rst = 1 ) {
  1995.             let sels_design = '';
  1996.             const designCate = document.forms.formSelPC.design_cate;
  1997.             for( let i=0; i < designCate.length; i++ ) {
  1998.                 if( designCate[i].checked ) {
  1999.                     if( sels_design ) {
  2000.                         sels_design = sels_design + ',';
  2001.                     }
  2002.                     sels_design = sels_design + designCate[i].value;
  2003.                 }
  2004.             }
  2005.             \$('#design-cate').val(sels_design);
  2006.             if( rst == 1 ) {
  2007.                 \$('#pageno').val(1);
  2008.                 \$('#disp_number').val(21);
  2009.                 \$('#orderby').val(2);
  2010.             }
  2011.             \$(\"#form1\").submit();
  2012.         }
  2013.         function setValSP( rst = 1 ) {
  2014.             let sels_design = '';
  2015.             const designCate = document.forms.formSelSP.design_cate;
  2016.             for( let i=0; i < designCate.length; i++ ) {
  2017.                 if( designCate[i].checked ) {
  2018.                     if( sels_design ) {
  2019.                         sels_design = sels_design + ',';
  2020.                     }
  2021.                     sels_design = sels_design + designCate[i].value;
  2022.                 }
  2023.             }
  2024.             \$('#design-cate').val(sels_design);
  2025.             if( rst == 1 ) {
  2026.                 \$('#pageno').val(1);
  2027.                 \$('#disp_number').val(21);
  2028.                 \$('#orderby').val(2);
  2029.             }
  2030.             \$(\"#form1\").submit();
  2031.         }
  2032.         function checkAndSetVal() {
  2033.             let selCntPC = 0;
  2034.             const designCate = document.forms.formSelPC.design_cate;
  2035.             for( let i=0; i < designCate.length; i++ ) {
  2036.                 if( designCate[i].checked ) {
  2037.                     selCntPC++;
  2038.                 }
  2039.             }
  2040.             let selCntSP = 0;
  2041.             const designCateSP = document.forms.formSelSP.design_cate;
  2042.             for( let i=0; i < designCateSP.length; i++ ) {
  2043.                 if( designCateSP[i].checked ) {
  2044.                     selCntSP++;
  2045.                 }
  2046.             }
  2047.             if( selCntPC > 0 && selCntSP == 0 ) {
  2048.                 setValPC(0);
  2049.             }
  2050.             else if( selCntPC == 0 && selCntSP > 0 ) {
  2051.                 setValSP(0);
  2052.             }
  2053.             {# 絞り込み2回目以降はPC版、SP版両方の絞り込みが選択されている #}
  2054.             else if( selCntPC > 0 && selCntSP > 0 ) {
  2055.                 setValPC(0);
  2056.             }
  2057.             else {
  2058.                 return false;
  2059.             }
  2060.         }
  2061.     {% elseif Category.id == 10 %}{# ラッピング #}
  2062.     {% endif %}
  2063.     {% endif %}
  2064.     </script>
  2065.     <script>
  2066.         function selAlert() {
  2067.             var modalThis = \$('body').find('#alert01');
  2068.             //bodyの最下にwrapを作る 
  2069.             \$('body').append('<div id=\"modalWrapAlert\" />');
  2070.             var wrap = \$('#modalWrapAlert');
  2071.             wrap.fadeIn('200');
  2072.             modalThis.fadeIn('200');
  2073.             //モーダルの高さを取ってくる 
  2074.             function mdlHeight() {
  2075.                 var wh = \$(window).innerHeight();
  2076.                 var attH = modalThis.find('.modalInnerAlert').innerHeight();
  2077.                 modalThis.css({
  2078.                     height: attH
  2079.                 });
  2080.             }
  2081.             mdlHeight();
  2082.             \$(window).on('resize', function () {
  2083.                 mdlHeight();
  2084.             });
  2085.             function clickAction() {
  2086.                 modalThis.fadeOut('200');
  2087.                 wrap.fadeOut('200', function () {
  2088.                     wrap.remove();
  2089.                 });
  2090.             }
  2091.             //wrapクリックされたら 
  2092.             wrap.on('click', function () {
  2093.                 clickAction();
  2094.                 return false;
  2095.             });
  2096.             //2秒後に消える 
  2097.             setTimeout(clickAction, 2000);
  2098.             return false;
  2099.         }
  2100.     </script>
  2101. {% endblock %}
  2102. {% block main %}
  2103.     {% if search_form.category_id.vars.errors|length > 0 %}
  2104.         <div class=\"ec-searchnavRole\">
  2105.             <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  2106.         </div>
  2107.     {% else %}
  2108.         <div class=\"container\">
  2109.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  2110.                 {% for item in search_form %}
  2111.                     <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  2112.                            name=\"{{ item.vars.full_name }}\"
  2113.                            {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  2114.                 {% endfor %}
  2115.                 {% if Category is not null %}
  2116.                 {% if Category.id == 7 %}{# ボールを選ぶ #}
  2117.                 <input type=\"hidden\" id=\"ball-type\" name=\"ball-type\">
  2118.                 <input type=\"hidden\" id=\"ball-nums\" name=\"ball-nums\">
  2119.                 <input type=\"hidden\" id=\"ball-price\" name=\"ball-price\">
  2120.                 {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  2121.                 {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  2122.                 <input type=\"hidden\" id=\"design-cate\" name=\"design-cate\">
  2123.                 {% elseif Category.id == 10 %}{# ラッピング #}
  2124.                 {% endif %}
  2125.                 {% endif %}
  2126.             </form>
  2127.             <!-- パンくずリスト -->
  2128.             <nav aria-label=\"breadcrumb\" class=\"my-3\">
  2129.                 <ol class=\"breadcrumb\">
  2130.                     <li class=\"breadcrumb-item\"><a href=\"{{ url('homepage') }}\">ホーム</a></li>
  2131.                     {% if Category is not null %}
  2132.                     {% if Category.id == 7 %}
  2133.                         <li class=\"breadcrumb-item active\" aria-current=\"page\">ボールを選ぶ</li>
  2134.                     {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  2135.                     {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  2136.                         <li class=\"breadcrumb-item active\" aria-current=\"page\">デザインを選ぶ</li>
  2137.                     {% elseif Category.id == 10 %}{# ラッピング #}
  2138.                     {% endif %}
  2139.                     {% else %}
  2140.                         <li class=\"breadcrumb-item active\" aria-current=\"page\">全商品</li>
  2141.                     {% endif %}
  2142.                 </ol>
  2143.             </nav>
  2144.             <div class=\"layout-2colmun\">
  2145.                 {% if Category is not null %}
  2146.                 {% if Category.id == 7 %}{# ボールを選ぶ #}
  2147.                     {{ include('Product/aside_ball.twig') }}
  2148.                 {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  2149.                 {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  2150.                     {{ include('Product/aside_design.twig') }}
  2151.                 {% elseif Category.id == 10 %}{# ラッピング #}
  2152.                 {% endif %}
  2153.                 {% else %}
  2154.                     {{ include('Block/aside_others.twig') }}
  2155.                 {% endif %}
  2156.                 <main class=\"main\">
  2157.                     {% if Category is not null %}
  2158.                     {% if Category.id == 7 %}{# ボールを選ぶ #}
  2159.                         <h1 class=\"fw-bold mb-5\">名入れゴルフボール</h1>
  2160.                         <p>
  2161.                             お好きなデザインをゴルフボールに印刷します。<br>
  2162.                             <span class=\"text-danger\">表示価格にはボール代・印刷代が税込みで含まれています。</span>
  2163.                         </p>
  2164.                     {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  2165.                     {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  2166.                         <h1 class=\"fw-bold mb-5\">名入れデザイン</h1>
  2167.                         <p>
  2168.                             お好きなデザインをゴルフボールに印刷します。<br>
  2169.                             ボールに印刷したいデザインをカートに入れてご注文ください。<br>
  2170.                             お客様の方でデザインのご用意がある場合は「<a href=\"{{ url('product_detail', {'id': 99}) }}\">デザインを入稿する</a>」を選んでデータをアップロードしてください。<br>
  2171.                             <span class=\"text-danger\">デザインの内容によって料金・納期は変わりません。(印刷代も含め、全てボールの代金に含まれています)</span>
  2172.                         </p>
  2173.                         <p class=\"my-3\">導入事例から参考デザインを選ぶこともできます。</p>
  2174.                         <a href=\"\" class=\"btn btn-lg btn-dark py-3 rounded-0\" data-bs-toggle=\"modal\" data-bs-target=\"#fullScreenModal\"><i class=\"icon-arrow_circle_right\"></i>導入事例参考デザインを見る</a>
  2175.                     {% elseif Category.id == 10 %}{# ラッピング #}
  2176.                     {% endif %}
  2177.                     {% endif %}
  2178.                     {% if pagination.totalItemCount > 0 %}
  2179.                         <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
  2180.                             {{ '<div><span class=\"fw-bold\">%count%件</span>の商品が見つかりました。</div>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  2181.                             <div class=\"d-flex mt-3 mt-md-0\">
  2182.                                 <div class=\"me-2 d-block d-lg-none\">
  2183.                                     {% if Category is not null %}
  2184.                                     {% if Category.id == 7 %}{# ボールを選ぶ #}
  2185.                                     <a href=\"\" class=\"btn btn-outline-dark btn-sm\" data-bs-toggle=\"modal\" data-bs-target=\"#filterModalBall\">絞込</a>
  2186.                                     {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  2187.                                     {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  2188.                                     <a href=\"\" class=\"btn btn-outline-dark btn-sm\" data-bs-toggle=\"modal\" data-bs-target=\"#filterModal\">絞込</a>
  2189.                                     {% elseif Category.id == 10 %}{# ラッピング #}
  2190.                                     {% endif %}
  2191.                                     {% endif %}
  2192.                                 </div>
  2193.                                 {% if pagination.totalItemCount > 0 %}
  2194.                                     <div class=\"me-1\">
  2195.                                         {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number form-select form-select-sm'}}) }}
  2196.                                     </div>
  2197.                                     {% if Category is not null %}
  2198.                                     <div class=\"ms-1{% if Category.id == 9 %} d-none{% endif %}\">
  2199.                                         {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by form-select form-select-sm'}}) }}
  2200.                                     </div>
  2201.                                     {% else %}
  2202.                                     <div class=\"ms-1\">
  2203.                                         {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by form-select form-select-sm'}}) }}
  2204.                                     </div>
  2205.                                     {% endif %}
  2206.                                 {% endif %}
  2207.                             </div>
  2208.                         </div>
  2209.                         <div class=\"row\">
  2210.                             {% for Product in pagination %}
  2211.                                 {# ▼ 導入事例参考デザインは表示しない #}
  2212.                                 <div class=\"col-6 col-lg-4 mb-4\">
  2213.                                     <a href=\"{{ url('product_detail', {'id': Product.id}) }}\" class=\"item-thumb\">
  2214.                                         <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" class=\"thumb\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  2215.                                         <div class=\"name\">{{ Product.name }}</div>
  2216.                                         {% for Tag in Product.ProductTag %}
  2217.                                             {% if Tag.Tag.name == '一番人気' %}
  2218.                                                 <span class=\"icon -popular\">一番人気</span>
  2219.                                             {% elseif Tag.Tag.name == '即日配送' %}
  2220.                                                 <span class=\"icon -rapid\">即日配送</span>
  2221.                                             {% elseif Tag.Tag.name == '代引手数料無料' %}
  2222.                                                 <span class=\"icon -free\">代引手数料無料</span>
  2223.                                             {% elseif Tag.Tag.name == '送料無料' %}
  2224.                                                 <span class=\"icon -free\">送料無料</span>
  2225.                                             {% elseif Tag.Tag.name == '3%還元' %}
  2226.                                                 <span class=\"icon -point\">3%還元</span>
  2227.                                             {% elseif Tag.Tag.name == '人気' %}
  2228.                                                 <span class=\"icon -popular\">人気</span>
  2229.                                             {% endif %}
  2230.                                         {% endfor %}
  2231.                                         {% if Category is not null %}
  2232.                                         {% if Category.id == 7 %}{# ボールを選ぶ #}
  2233.                                         <div class=\"price\">
  2234.                                             {% if Product.hasProductClass %}
  2235.                                                 {% if Product.getPrice02Min == Product.getPrice02Max %}
  2236.                                                     {{ Product.getPrice02IncTaxMin|number_format }} 円 (税込)
  2237.                                                 {% else %}
  2238.                                                     {{ Product.getPrice02IncTaxMin|number_format }} ~ {{ Product.getPrice02IncTaxMax|number_format }} 円 (税込)
  2239.                                                 {% endif %}
  2240.                                             {% else %}
  2241.                                                 {{ Product.getPrice02IncTaxMin|number_format }} 円 (税込)
  2242.                                             {% endif %}
  2243.                                         </div>
  2244.                                         {% endif %}
  2245.                                         {% else %}
  2246.                                         <div class=\"price\">
  2247.                                             {% if Product.hasProductClass %}
  2248.                                                 {% if Product.getPrice02Min == Product.getPrice02Max %}
  2249.                                                     {{ Product.getPrice02IncTaxMin|number_format }} 円 (税込)
  2250.                                                 {% else %}
  2251.                                                     {{ Product.getPrice02IncTaxMin|number_format }} ~ {{ Product.getPrice02IncTaxMax|number_format }} 円 (税込)
  2252.                                                 {% endif %}
  2253.                                             {% else %}
  2254.                                                 {{ Product.getPrice02IncTaxMin|number_format }} 円 (税込)
  2255.                                             {% endif %}
  2256.                                         </div>
  2257.                                         {% endif %}
  2258.                                     </a>
  2259.                                 </div>
  2260.                             {% endfor %}
  2261.                         </div>
  2262. {#
  2263.                         <ul class=\"pagination justify-content-center mt-5\">
  2264.                             <li class=\"page-item\"><a class=\"page-link text-dark\" href=\"#\">前へ</a></li>
  2265.                             <li class=\"page-item\"><a class=\"page-link text-dark active\" href=\"#\">1</a></li>
  2266.                             <li class=\"page-item\"><a class=\"page-link text-dark\" href=\"#\">2</a></li>
  2267.                             <li class=\"page-item\"><a class=\"page-link text-dark\" href=\"#\">3</a></li>
  2268.                             <li class=\"page-item\"><a class=\"page-link text-dark\" href=\"#\">次へ</a></li>
  2269.                         </ul>
  2270. #}
  2271.                         {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  2272.                     {% else %}
  2273.                         <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
  2274.                             <div><span>{{ 'ただいま準備中です'|trans }}</span></div>
  2275.                         </div>
  2276.                     {% endif %}
  2277.                     <div class=\"modalBoxAlert\" id=\"alert01\">
  2278.                         <div class=\"modalInnerAlert\">
  2279.                             絞り込みたい項目がある場合のみチェックしてください。
  2280.                         </div>
  2281.                     </div>
  2282.                 </main>
  2283.             </div>
  2284.         </div>
  2285.         <!-- modal -->
  2286.         {% if Category is not null %}
  2287.         {% if Category.id == 7 %}{# ボールを選ぶ #}
  2288.         <div class=\"modal fade\" id=\"filterModalBall\" tabindex=\"-1\" aria-labelledby=\"filterModalBallLabel\" aria-hidden=\"true\">
  2289.             <div class=\"modal-dialog\">
  2290.                 <div class=\"modal-content\">
  2291.                     <div class=\"modal-header\">
  2292.                         <h5 class=\"modal-title\" id=\"filterModalBallLabel\">絞り込み</h5>
  2293.                         <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  2294.                     </div>
  2295.                     <form name=\"formSelSP\" id=\"formSelSP\" method=\"get\" action=\"?\">
  2296.                     <div class=\"modal-body\">
  2297.                         <!-- 絞り込みフォームの内容をここに追加 -->
  2298.                         <div class=\"aside-filter _modal\">
  2299.                         <div class=\"title\">
  2300.                             ボールの種類から選ぶ
  2301.                         </div>
  2302.                         <ul class=\"list-unstyled mb-0 list\">
  2303.                             <li>
  2304.                                 <label>
  2305.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"14\"{% if( 14 in Selects['ball-type'] ) %} checked{% endif %}>
  2306.                                     持ち込みボール
  2307.                                 </label>
  2308.                             </li>
  2309.                             <li>
  2310.                                 <label>
  2311.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"11\"{% if( 11 in Selects['ball-type'] ) %} checked{% endif %}>
  2312.                                     スリクソン
  2313.                                 </label>
  2314.                             </li>
  2315.                             <li>
  2316.                                 <label>
  2317.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"12\"{% if( 12 in Selects['ball-type'] ) %} checked{% endif %}>
  2318.                                     ゼクシオ
  2319.                                 </label>
  2320.                             </li>
  2321.                             <li>
  2322.                                 <label>
  2323.                                     <input type=\"checkbox\" name=\"ball_type\" class=\"ball_type_sp\" value=\"13\"{% if( 13 in Selects['ball-type'] ) %} checked{% endif %}>
  2324.                                     ツアースペシャル
  2325.                                 </label>
  2326.                             </li>
  2327.                         </ul>
  2328.                         <div class=\"title\">
  2329.                             ボールの球数から選ぶ
  2330.                         </div>
  2331.                         <ul class=\"list-unstyled mb-0 list\">
  2332.                             <li>
  2333.                                 <label>
  2334.                                     <input type=\"checkbox\" name=\"ball_nums\" class=\"ball_nums_sp\" value=\"8,13\"{% if( 8 in Selects['ball-nums'] or 13 in Selects['ball-nums'] ) %} checked{% endif %}>
  2335.                                     3球
  2336.                                 </label>
  2337.                             </li>
  2338.                             <li>
  2339.                                 <label>
  2340.                                     <input type=\"checkbox\" name=\"ball_nums\" class=\"ball_nums_sp\" value=\"11,14\"{% if( 11 in Selects['ball-nums'] or 14 in Selects['ball-nums'] ) %} checked{% endif %}>
  2341.                                     6球
  2342.                                 </label>
  2343.                             </li>
  2344.                             <li>
  2345.                                 <label>
  2346.                                     <input type=\"checkbox\" name=\"ball_nums\" class=\"ball_nums_sp\" value=\"12,15\"{% if( 12 in Selects['ball-nums'] or 15 in Selects['ball-nums'] ) %} checked{% endif %}>
  2347.                                     12球
  2348.                                 </label>
  2349.                             </li>
  2350.                         </ul>
  2351.                         <div class=\"title\">
  2352.                             価格で選ぶ
  2353.                         </div>
  2354.                         <ul class=\"list-unstyled mb-0 list\">
  2355.                             <li>
  2356.                                 <label>
  2357.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"1\"{% if( 1 in Selects['ball-price'] ) %} checked{% endif %}>
  2358.                                     ~2,999円
  2359.                                 </label>
  2360.                             </li>
  2361.                             <li>
  2362.                                 <label>
  2363.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"2\"{% if( 2 in Selects['ball-price'] ) %} checked{% endif %}>
  2364.                                     3,000円~4,999円
  2365.                                 </label>
  2366.                             </li>
  2367.                             <li>
  2368.                                 <label>
  2369.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"3\"{% if( 3 in Selects['ball-price'] ) %} checked{% endif %}>
  2370.                                     5,000円~9,999円
  2371.                                 </label>
  2372.                             </li>
  2373.                             <li>
  2374.                                 <label>
  2375.                                     <input type=\"checkbox\" name=\"ball_price\" class=\"ball_price_sp\" value=\"4\"{% if( 4 in Selects['ball-price'] ) %} checked{% endif %}>
  2376.                                     10,000円以上
  2377.                                 </label>
  2378.                             </li>
  2379.                         </ul>
  2380.                         </div>
  2381.                     </div>
  2382.                     <div class=\"modal-footer\">
  2383.                         <button type=\"button\" class=\"btn btn-outline-dark\" data-bs-dismiss=\"modal\">閉じる</button>
  2384.                         <button type=\"button\" class=\"btn btn-outline-dark\" onclick=\"location.href='{{ url('product_list') }}?category_id=7'\">クリア</button>
  2385.                         <button type=\"button\" class=\"btn btn-primary\" onclick=\"setValSP();\">絞り込む</button>
  2386.                     </div>
  2387.                     </form>
  2388.                 </div>
  2389.             </div>
  2390.         </div>
  2391.         {% elseif Category.id == 8 %}{# マーカーを選ぶ #}
  2392.         {% elseif Category.id == 9 %}{# デザインを選ぶ #}
  2393.         <div class=\"modal fade\" id=\"filterModal\" tabindex=\"-1\" aria-labelledby=\"filterModalLabel\" aria-hidden=\"true\">
  2394.             <div class=\"modal-dialog\">
  2395.                 <div class=\"modal-content\">
  2396.                     <div class=\"modal-header\">
  2397.                         <h5 class=\"modal-title\" id=\"filterModalLabel\">絞り込み</h5>
  2398.                         <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  2399.                     </div>
  2400.                     <form name=\"formSelSP\" id=\"formSelSP\" method=\"get\" action=\"?\">
  2401.                     <div class=\"modal-body\">
  2402.                         <!-- 絞り込みフォームの内容をここに追加 -->
  2403.                         <div class=\"aside-filter _modal\">
  2404.                             <div class=\"title\">
  2405.                             カテゴリから選ぶ
  2406.                         </div>
  2407.                         <ul class=\"list-unstyled mb-0 list\">
  2408.                             <li>
  2409.                                 <label>
  2410.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"15\"{% if( 15 in Selects['design-cate'] ) %} checked{% endif %}>
  2411.                                     誕生日祝い
  2412.                                 </label>
  2413.                             </li>
  2414.                             <li>
  2415.                                 <label>
  2416.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"16\"{% if( 16 in Selects['design-cate'] ) %} checked{% endif %}>
  2417.                                     定年退職祝い
  2418.                                 </label>
  2419.                             </li>
  2420.                             <li>
  2421.                                 <label>
  2422.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"17\"{% if( 17 in Selects['design-cate'] ) %} checked{% endif %}>
  2423.                                     還暦祝い
  2424.                                 </label>
  2425.                             </li>
  2426.                             <li>
  2427.                                 <label>
  2428.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"18\"{% if( 18 in Selects['design-cate'] ) %} checked{% endif %}>
  2429.                                     コンペ景品
  2430.                                 </label>
  2431.                             </li>
  2432.                             <li>
  2433.                                 <label>
  2434.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"19\"{% if( 19 in Selects['design-cate'] ) %} checked{% endif %}>
  2435.                                     父の日祝い
  2436.                                 </label>
  2437.                             </li>
  2438.                             <li>
  2439.                                 <label>
  2440.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"20\"{% if( 20 in Selects['design-cate'] ) %} checked{% endif %}>
  2441.                                     母の日祝い
  2442.                                 </label>
  2443.                             </li>
  2444.                             <li>
  2445.                                 <label>
  2446.                                     <input type=\"checkbox\" name=\"design_cate\" class=\"design_cate_sp\" value=\"21\"{% if( 21 in Selects['design-cate'] ) %} checked{% endif %}>
  2447.                                     GOLFPRINT オリジナル
  2448.                                 </label>
  2449.                             </li>
  2450.                         </ul>
  2451.                         </div>
  2452.                     </div>
  2453.                     <div class=\"modal-footer\">
  2454.                         <button type=\"button\" class=\"btn btn-outline-dark\" data-bs-dismiss=\"modal\">閉じる</button>
  2455.                         <button type=\"button\" class=\"btn btn-outline-dark\" onclick=\"location.href='{{ url('product_list') }}?category_id=9'\">クリア</button>
  2456.                         <button type=\"button\" class=\"btn btn-primary\" onclick=\"setValSP();\">絞り込む</button>
  2457.                     </div>
  2458.                     </form>
  2459.                 </div>
  2460.             </div>
  2461.         </div>
  2462.         <!-- modal 導入事例事例参考デザイン -->
  2463.         <div class=\"modal fade\" id=\"fullScreenModal\" tabindex=\"-1\" aria-labelledby=\"fullScreenModalLabel\" aria-hidden=\"true\">
  2464.             <div class=\"modal-dialog modal-dialog-centered modal-dialog-scrollable\" style=\"max-width: 100vw; margin: 0;\">
  2465.                 <div class=\"modal-content\" style=\"height: 100vh;\">
  2466.                     <div class=\"modal-header\">
  2467.                         <h5 class=\"modal-title\" id=\"fullScreenModalLabel\">導入事例参考デザイン</h5>
  2468.                         <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>
  2469.                     </div>
  2470.                     <div class=\"modal-body\">
  2471.                         <div class=\"row\">
  2472. {% for CaseData in CaseDataList %}
  2473.                             <div class=\"col-6 col-md-4 col-lg-3 col-xxl-2 mb-4\">
  2474.                                 <div class=\"bg-secondary p-3 rounded\">
  2475.                                     <form name=\"formCase{{ CaseData.id }}\" id=\"productFormCase{{ CaseData.id }}\" action=\"{{ url('product_add_cart_case', {id:CaseData.id}) }}\" method=\"post\">
  2476.                                         <input type=\"hidden\" id=\"quantityCase{{ CaseData.id }}\" name=\"quantity\" value=\"1\">
  2477.                                         <input type=\"hidden\" id=\"product_idCase{{ CaseData.id }}\" name=\"product_id\" value=\"101\">
  2478.                                         <input type=\"hidden\" id=\"ProductClassCase{{ CaseData.id }}\" name=\"ProductClass\" value=\"320\">
  2479.                                         <input type=\"hidden\" id=\"_tokenCase{{ CaseData.id }}\" name=\"_token\" value=\"{{ csrf_token('_token') }}\">
  2480.                                     <a href=\"javascript:formCase{{ CaseData.id }}.submit()\" class=\"numbering-container\">
  2481.                                         <div class=\"number\">{{ CaseData.id }}</div>
  2482.                                         <img src=\"/icms/user_data/image/Voice1/{{ CaseData.thumbnail_gazo }}\" class=\"img-fluid text-dark mb-3\" alt=\"{{ CaseData.title }}\" width=\"500\" height=\"500\">
  2483.                                         <p class=\"text-center text-dark mb-1\">[NO.{{ CaseData.id }}]</p>
  2484.                                         <p class=\"text-center text-dark mb-0\">{{ CaseData.title|raw }}</p>
  2485.                                     </a>
  2486.                                     </form>
  2487.                                 </div>
  2488.                             </div>
  2489. {% endfor %}
  2490.                         </div>
  2491.                     </div>
  2492.                     <div class=\"modal-footer\">
  2493.                         <button type=\"button\" class=\"btn btn-outline-dark\" data-bs-dismiss=\"modal\">閉じる</button>
  2494.                     </div>
  2495.                 </div>
  2496.             </div>
  2497.         </div>
  2498.         {% elseif Category.id == 10 %}{# ラッピング #}
  2499.         {% endif %}
  2500.         {% endif %}
  2501.     {% endif %}
  2502. {% endblock %}
  2503. ""Product/list.twig""/home/insp/insp.sixcore.jp/public_html/app/template/default/Product/list.twig");
  2504.     }
  2505.     
  2506.     public function checkSecurity()
  2507.     {
  2508.         static $tags = array("if" => 13"set" => 15"for" => 87"include" => 737);
  2509.         static $filters = array("escape" => 88"raw" => 88"trans" => 260"length" => 569"no_image_product" => 680"number_format" => 702);
  2510.         static $functions = array("class_categories_as_json" => 88"url" => 288"include" => 613"form_widget" => 661"asset" => 680"csrf_token" => 947);
  2511.         try {
  2512.             $this->sandbox->checkSecurity(
  2513.                 ['if''set''for''include'],
  2514.                 ['escape''raw''trans''length''no_image_product''number_format'],
  2515.                 ['class_categories_as_json''url''include''form_widget''asset''csrf_token']
  2516.             );
  2517.         } catch (SecurityError $e) {
  2518.             $e->setSourceContext($this->source);
  2519.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  2520.                 $e->setTemplateLine($tags[$e->getTagName()]);
  2521.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  2522.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  2523.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  2524.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  2525.             }
  2526.             throw $e;
  2527.         }
  2528.     }
  2529. }