var/cache/dev/twig/52/5210736d93b46635a0f87192ecfc8773.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* __string_template__9c6ac0772783a8d55f9aebe8425d88ba */
  14. class __TwigTemplate_02ea38849f655d93740194ee6f31d8bc extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__9c6ac0772783a8d55f9aebe8425d88ba"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__9c6ac0772783a8d55f9aebe8425d88ba"));
  39.         // line 13
  40.         $context["body_class"] = "product_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__9c6ac0772783a8d55f9aebe8425d88ba"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script>
  59.         eccube.productsClassCategories = {
  60.             ";
  61.         // line 18
  62.         $context['_parent'] = $context;
  63.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'18$this->source); })()));
  64.         $context['loop'] = [
  65.           'parent' => $context['_parent'],
  66.           'index0' => 0,
  67.           'index'  => 1,
  68.           'first'  => true,
  69.         ];
  70.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  71.             $length count($context['_seq']);
  72.             $context['loop']['revindex0'] = $length 1;
  73.             $context['loop']['revindex'] = $length;
  74.             $context['loop']['length'] = $length;
  75.             $context['loop']['last'] = === $length;
  76.         }
  77.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  78.             // line 19
  79.             echo "            \"";
  80.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse19), "js"), "html"nulltrue);
  81.             echo "\": ";
  82.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  83.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse19) == false)) {
  84.                 echo ", ";
  85.             }
  86.             // line 20
  87.             echo "            ";
  88.             ++$context['loop']['index0'];
  89.             ++$context['loop']['index'];
  90.             $context['loop']['first'] = false;
  91.             if (isset($context['loop']['length'])) {
  92.                 --$context['loop']['revindex0'];
  93.                 --$context['loop']['revindex'];
  94.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  95.             }
  96.         }
  97.         $_parent $context['_parent'];
  98.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  99.         $context array_intersect_key($context$_parent) + $_parent;
  100.         // line 21
  101.         echo "        };
  102.         \$(function() {
  103.             // 表示件数を変更
  104.             \$('.disp-number').change(function() {
  105.                 var dispNumber = \$(this).val();
  106.                 \$('#disp_number').val(dispNumber);
  107.                 \$('#pageno').val(1);
  108.                 \$(\"#form1\").submit();
  109.             });
  110.             // 並び順を変更
  111.             \$('.order-by').change(function() {
  112.                 var orderBy = \$(this).val();
  113.                 \$('#orderby').val(orderBy);
  114.                 \$('#pageno').val(1);
  115.                 \$(\"#form1\").submit();
  116.             });
  117.             \$('.add-cart').on('click', function(e) {
  118.                 var \$form = \$(this).parents('li').find('form');
  119.                 // 個数フォームのチェック
  120.                 var \$quantity = \$form.parent().find('.quantity');
  121.                 if (\$quantity.val() < 1) {
  122.                     \$quantity[0].setCustomValidity('";
  123.         // line 47
  124.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  125.         echo "');
  126.                     setTimeout(function() {
  127.                         loadingOverlay('hide');
  128.                     }, 100);
  129.                     return true;
  130.                 } else {
  131.                     \$quantity[0].setCustomValidity('');
  132.                 }
  133.                 e.preventDefault();
  134.                 \$.ajax({
  135.                     url: \$form.attr('action'),
  136.                     type: \$form.attr('method'),
  137.                     data: \$form.serialize(),
  138.                     dataType: 'json',
  139.                     beforeSend: function(xhr, settings) {
  140.                         // Buttonを無効にする
  141.                         \$('.add-cart').prop('disabled', true);
  142.                     }
  143.                 }).done(function(data) {
  144.                     // レスポンス内のメッセージをalertで表示
  145.                     \$.each(data.messages, function() {
  146.                         \$('#ec-modal-header').html(this);
  147.                     });
  148.                     \$('.ec-modal').show()
  149.                     // カートブロックを更新する
  150.                     \$.ajax({
  151.                         url: '";
  152.         // line 75
  153.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  154.         echo "',
  155.                         type: 'GET',
  156.                         dataType: 'html'
  157.                     }).done(function(html) {
  158.                         \$('.ec-headerRole__cart').html(html);
  159.                     });
  160.                 }).fail(function(data) {
  161.                     alert('";
  162.         // line 82
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  164.         echo "');
  165.                 }).always(function(data) {
  166.                     // Buttonを有効にする
  167.                     \$('.add-cart').prop('disabled', false);
  168.                 });
  169.             });
  170.         });
  171.         \$('.ec-modal-wrap').on('click', function(e) {
  172.             // モーダル内の処理は外側にバブリングさせない
  173.             e.stopPropagation();
  174.         });
  175.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  176.             \$('.ec-modal').hide()
  177.         });
  178.     </script>
  179. ";
  180.         
  181.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  182.         
  183.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  184.     }
  185.     // line 100
  186.     public function block_main($context, array $blocks = [])
  187.     {
  188.         $macros $this->macros;
  189.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  190.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  191.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  192.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  193.         // line 101
  194.         echo "
  195. <div class=\"main_visual\" 
  196.     data-imgpc=\"";
  197.         // line 103
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/main_visual.jpg""user_data"), "html"nulltrue);
  199.         echo "\" 
  200.     data-imgsmp=\"";
  201.         // line 104
  202.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/main_visualsmp.jpg""user_data"), "html"nulltrue);
  203.         echo "\">
  204.     <div class=\"container\">
  205.         <h2 class=\"main_visual_title\">
  206.             <span class=\"_big\">G-Laboウクレレラインナップ</span>
  207.             <span class=\"_small\">ベトナム工房で生まれる、世界に一つだけの音色。<br>職人の手で一つひとつ丁寧に作られた、G-Laboウクレレのラインナップをご覧ください。</span>
  208.         </h2>
  209.     </div>
  210. </div>
  211. <div class=\"product_list container\">
  212.     <div class=\"product_list_category\">
  213.         <p class=\"_list\"><a href=\"";
  214.         // line 115
  215.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  216.         echo "\">すべての商品</a></p>
  217.         ";
  218.         // line 116
  219.         echo twig_include($this->env$context"Block/category.twig");
  220.         echo "
  221.     </div>
  222.     <div class=\"product_list_container\">
  223.         <div id=\"main_side\" class=\"side\">
  224.                 <script>
  225.     \$(function() {
  226.         \$(\".product_btn_search\").click(function(){
  227.             \$(this).parent().submit();
  228.         });
  229.         \$(\".product_btn_del\").click(function(){
  230.             \$(\".search-form-custom\").find(\"input[type='text'], input[type='checkbox'], select\").val(\"\");
  231.             \$(this).parent().submit();
  232.         });
  233.     });
  234.     </script>
  235. <div class=\"ec-headerNaviRole__search\">
  236.     <form method=\"get\" action=\"/products/search\" class=\"search-form-custom product_form_search\">
  237.         <div class=\"ec-headerSearch__keyword\">
  238.             <div class=\"ec-input\">
  239.                 <p class=\"_title02\">キーワード</p>
  240.                 <div class='cus-input-search'>
  241.                     <input type=\"text\" id=\"keyword\" name=\"keyword\" placeholder=\"\" class=\"form-control form-control\" />
  242.                     <button class=\"ec-headerSearch__keywordBtn\" type=\"submit\"></button>
  243.                 </div>
  244.             </div>
  245.         </div>
  246.         <h3 class=\"product_form_title \">
  247.             <span>カテゴリー</span>
  248.         </h3>
  249.         <ul class=\"product_form_checkbox\" >
  250.                         <li>
  251.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_0\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_20\" value=\"20\" />
  252.         <label class=\"form-check-label\" for=\"category_0\">ガズのわがままウクレレ</label></div>
  253.             </li>
  254.                         <li>
  255.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_1\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_21\" value=\"21\" />
  256.         <label class=\"form-check-label\" for=\"category_1\">ウスレレ</label></div>
  257.             </li>
  258.                         <li>
  259.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_2\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_22\" value=\"22\" />
  260.         <label class=\"form-check-label\" for=\"category_2\">たびレレ</label></div>
  261.             </li>
  262.                         <li>
  263.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_3\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_23\" value=\"23\" />
  264.         <label class=\"form-check-label\" for=\"category_3\">竹レレ</label></div>
  265.             </li>
  266.                         <li>
  267.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_4\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_24\" value=\"24\" />
  268.         <label class=\"form-check-label\" for=\"category_4\">THE CLASSIC</label></div>
  269.             </li>
  270.                         <li>
  271.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_5\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_25\" value=\"25\" />
  272.         <label class=\"form-check-label\" for=\"category_5\">コズモデル</label></div>
  273.             </li>
  274.                         <li>
  275.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_6\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_26\" value=\"26\" />
  276.         <label class=\"form-check-label\" for=\"category_6\">GM Vintage</label></div>
  277.             </li>
  278.                         <li>
  279.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_7\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_27\" value=\"27\" />
  280.         <label class=\"form-check-label\" for=\"category_7\">ガズモデル</label></div>
  281.             </li>
  282.                         <li>
  283.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_8\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_28\" value=\"28\" />
  284.         <label class=\"form-check-label\" for=\"category_8\">その他(グッズ)</label></div>
  285.             </li>
  286.                     </ul>
  287.         <h3 class=\"product_form_title _icon01 \">
  288.             <span>ライフスタイル</span>
  289.         </h3>
  290.         <ul class=\"product_form_checkbox\" >
  291.                         <li>
  292.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_0\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_33\" value=\"33\" />
  293.         <label class=\"form-check-label\" for=\"category_17_0\">自宅でリラックスして楽しむ</label></div>
  294.             </li>
  295.                         <li>
  296.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_1\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_34\" value=\"34\" />
  297.         <label class=\"form-check-label\" for=\"category_17_1\">ビジネスの合間に楽しむ</label></div>
  298.             </li>
  299.                         <li>
  300.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_2\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_35\" value=\"35\" />
  301.         <label class=\"form-check-label\" for=\"category_17_2\">アウトドアで楽しむ</label></div>
  302.             </li>
  303.                         <li>
  304.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_3\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_36\" value=\"36\" />
  305.         <label class=\"form-check-label\" for=\"category_17_3\">カフェでのひととき</label></div>
  306.             </li>
  307.                         <li>
  308.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_4\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_37\" value=\"37\" />
  309.         <label class=\"form-check-label\" for=\"category_17_4\">旅行へのお供に</label></div>
  310.             </li>
  311.                         <li>
  312.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_5\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_38\" value=\"38\" />
  313.         <label class=\"form-check-label\" for=\"category_17_5\">ライブ&パフォーマンスに</label></div>
  314.             </li>
  315.                         <li>
  316.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_6\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_39\" value=\"39\" />
  317.         <label class=\"form-check-label\" for=\"category_17_6\">友人や家族とセッション</label></div>
  318.             </li>
  319.                         <li>
  320.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_7\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_40\" value=\"40\" />
  321.         <label class=\"form-check-label\" for=\"category_17_7\">子供と一緒にに楽しむ</label></div>
  322.             </li>
  323.                         <li>
  324.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_8\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_41\" value=\"41\" />
  325.         <label class=\"form-check-label\" for=\"category_17_8\">作曲・クリエイティブ用途</label></div>
  326.             </li>
  327.                         <li>
  328.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_9\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_42\" value=\"42\" />
  329.         <label class=\"form-check-label\" for=\"category_17_9\">SNS・動画配信用</label></div>
  330.             </li>
  331.                     </ul>
  332.         <h3 class=\"product_form_title _icon02\"><span>こだわり条件から探す</span></h3>
  333.         <p class=\"_title02\">商品ステータス</p>
  334.         <select id=\"category_19\" name=\"category_19\" class=\"product_form_select form-select\"><option value=\"\">カテゴリを選択してください</option><option value=\"29\">在庫有り商品</option><option value=\"30\">予約商品</option><option value=\"31\">新着商品</option><option value=\"32\">おすすめ商品</option></select>
  335.         
  336.         <p class=\"_title02\">サイズ</p>
  337.         <ul class=\"product_size_checkbox\">
  338.                         <li>
  339.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_2_0\" name=\"class_name_2[]\" class=\"form-check-input form-check-input\" id=\"category_7\" value=\"7\" />
  340.         <label class=\"form-check-label\" for=\"class_name_2_0\">ソプラノ</label></div>
  341.             </li>
  342.                         <li>
  343.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_2_1\" name=\"class_name_2[]\" class=\"form-check-input form-check-input\" id=\"category_8\" value=\"8\" />
  344.         <label class=\"form-check-label\" for=\"class_name_2_1\">コンサート</label></div>
  345.             </li>
  346.                         <li>
  347.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_2_2\" name=\"class_name_2[]\" class=\"form-check-input form-check-input\" id=\"category_9\" value=\"9\" />
  348.         <label class=\"form-check-label\" for=\"class_name_2_2\">テナー</label></div>
  349.             </li>
  350.                     </ul>
  351.         <div class=\"_column\">
  352.             <p class=\"_title02\">塗装</p>
  353.             <a class=\"_tooltip _left\" href=\"#\" data-tooltip=\"ツヤありは光沢があり、ツヤなしは落ち着いたマット仕上げになります。\"></a>
  354.         </div>
  355.         <ul class=\"product_coating_checkbox\">
  356.                         <li>
  357.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_4_0\" name=\"class_name_4[]\" class=\"form-check-input form-check-input\" id=\"category_13\" value=\"13\" />
  358.         <label class=\"form-check-label\" for=\"class_name_4_0\">艶あり(グロス)</label></div>
  359.             </li>
  360.                         <li>
  361.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_4_1\" name=\"class_name_4[]\" class=\"form-check-input form-check-input\" id=\"category_12\" value=\"12\" />
  362.         <label class=\"form-check-label\" for=\"class_name_4_1\">艶なし(マット)</label></div>
  363.             </li>
  364.                     </ul>
  365.         <p class=\"_title02\">ボディタイプ</p>
  366.         <select id=\"class_name_3\" name=\"class_name_3\" class=\"product_form_select form-select\"><option value=\"\">カテゴリを選択してください</option><option value=\"11\">薄ボディ(〇〇mm)</option><option value=\"10\">ノーマル(標準〇〇mm)</option></select>
  367.         
  368.         <div class=\"_column\">
  369.             <p class=\"_title02\">フレット数</p>
  370.             <a class=\"_tooltip _left\" href=\"#\" data-tooltip=\"弦を押さえる金属の数です。フレットが多いほど高い音まで演奏できます。\"></a>
  371.         </div>
  372.         <select id=\"class_name_1\" name=\"class_name_1\" class=\"product_form_select form-select\"><option value=\"\">15フレット(標準)</option><option value=\"1\">15フレット</option><option value=\"2\">12フレット</option></select>
  373.         <div class=\"_column\">
  374.             <p class=\"_title02\">ピックアップ</p>
  375.             <a class=\"_tooltip _left\" href=\"#\" data-tooltip=\"アンプにつなぐための機能です。ライブ演奏や録音にも使えます。\"></a>
  376.         </div>
  377.         <select id=\"class_name_5\" name=\"class_name_5\" class=\"product_form_select form-select\"><option value=\"\">なし(標準)</option><option value=\"15\">あり(+¥0,000)</option><option value=\"14\">なし(標準)</option></select>
  378.         <p class=\"_title02\">価格帯</p>
  379.         <div class=\"product_form_price\">
  380.             <select id=\"price_min\" name=\"price_min\" class=\"product_form_select form-select\"><option value=\"\">選択してください</option><option value=\"0\">0</option><option value=\"10000\">10,000</option><option value=\"20000\">20,000</option><option value=\"30000\">30,000</option><option value=\"40000\">40,000</option><option value=\"50000\">50,000</option><option value=\"60000\">60,000</option><option value=\"70000\">70,000</option><option value=\"80000\">80,000</option><option value=\"90000\">90,000</option><option value=\"100000\">100,000</option><option value=\"110000\">110,000</option><option value=\"120000\">120,000</option><option value=\"130000\">130,000</option><option value=\"140000\">140,000</option><option value=\"150000\">150,000</option><option value=\"160000\">160,000</option><option value=\"170000\">170,000</option><option value=\"180000\">180,000</option><option value=\"190000\">190,000</option><option value=\"200000\">200,000</option></select>
  381.             </select><span class=\"_yen\">円</span><span class=\"_to\">〜</span>
  382.             <select id=\"price_max\" name=\"price_max\" class=\"product_form_select form-select\"><option value=\"\">選択してください</option><option value=\"10000\">10,000</option><option value=\"20000\">20,000</option><option value=\"30000\">30,000</option><option value=\"40000\">40,000</option><option value=\"50000\">50,000</option><option value=\"60000\">60,000</option><option value=\"70000\">70,000</option><option value=\"80000\">80,000</option><option value=\"90000\">90,000</option><option value=\"100000\">100,000</option><option value=\"110000\">110,000</option><option value=\"120000\">120,000</option><option value=\"130000\">130,000</option><option value=\"140000\">140,000</option><option value=\"150000\">150,000</option><option value=\"160000\">160,000</option><option value=\"170000\">170,000</option><option value=\"180000\">180,000</option><option value=\"190000\">190,000</option><option value=\"200000\">200,000</option></select>
  383.             <span class=\"_yen\">円</span>
  384.         </div>
  385.         <p class=\"product_btn_search\">この条件で絞り込む</p>
  386.         <p class=\"product_btn_del\">リセット</p>
  387.     </form>
  388. </div><div class=\"product_form_search\"></div>
  389.         </div>
  390.         <div id=\"main_content\">
  391.             ";
  392.         // line 302
  393.         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.'302$this->source); })()), "category_id", [], "any"falsefalsefalse302), "vars", [], "any"falsefalsefalse302), "errors", [], "any"falsefalsefalse302)) > 0)) {
  394.             // line 303
  395.             echo "
  396.                 <div class=\"ec-searchnavRole\">
  397.                     <p class=\"errormsg text-danger\">";
  398.             // line 305
  399.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  400.             echo "</p>
  401.                 </div>
  402.             ";
  403.         } else {
  404.             // line 309
  405.             echo "
  406.                 <div class=\"ec-searchnavRole\">
  407.                     <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  408.                         ";
  409.             // line 312
  410.             $context['_parent'] = $context;
  411.             $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.'312$this->source); })()));
  412.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  413.                 // line 313
  414.                 echo "                            <input type=\"hidden\" id=\"";
  415.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse313), "id", [], "any"falsefalsefalse313), "html"nulltrue);
  416.                 echo "\"
  417.                                 name=\"";
  418.                 // line 314
  419.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse314), "full_name", [], "any"falsefalsefalse314), "html"nulltrue);
  420.                 echo "\"
  421.                                 ";
  422.                 // line 315
  423.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse315), "value", [], "any"falsefalsefalse315))) {
  424.                     echo "value=\"";
  425.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse315), "value", [], "any"falsefalsefalse315), "html"nulltrue);
  426.                     echo "\" ";
  427.                 }
  428.                 echo "/>
  429.                         ";
  430.             }
  431.             $_parent $context['_parent'];
  432.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  433.             $context array_intersect_key($context$_parent) + $_parent;
  434.             // line 317
  435.             echo "                    </form>
  436.                     <div class=\"product_list_navi\">
  437.                         <p class=\"_count_item\">
  438.                             ";
  439.             // line 320
  440.             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.'320$this->source); })()), "totalItemCount", [], "any"falsefalsefalse320) > 0)) {
  441.                 // line 321
  442.                 echo "                                ";
  443.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<span class=\"ec-font-bold\">%count%件</span>", ["%count%" => twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'321$this->source); })()), "totalItemCount", [], "any"falsefalsefalse321)]);
  444.                 echo "
  445.                             ";
  446.             } else {
  447.                 // line 323
  448.                 echo "                                <span>";
  449.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html"nulltrue);
  450.                 echo "</span>
  451.                             ";
  452.             }
  453.             // line 325
  454.             echo "                        </p>
  455.                         ";
  456.             // line 326
  457.             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.'326$this->source); })()), "totalItemCount", [], "any"falsefalsefalse326) > 0)) {
  458.                 // line 327
  459.                 echo "                            <div class=\"product_list_navi_role\">
  460.                                 <div class=\"ec-select\">
  461.                                     ";
  462.                 // line 329
  463.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'329$this->source); })()), "disp_number", [], "any"falsefalsefalse329), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  464.                 echo "
  465.                                     ";
  466.                 // line 330
  467.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'330$this->source); })()), "orderby", [], "any"falsefalsefalse330), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  468.                 echo "
  469.                                 </div>
  470.                             </div>
  471.                         ";
  472.             }
  473.             // line 334
  474.             echo "                    </div>
  475.                 </div>
  476.                 
  477.                 ";
  478.             // line 337
  479.             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.'337$this->source); })()), "totalItemCount", [], "any"falsefalsefalse337) > 0)) {
  480.                 // line 338
  481.                 echo "                    <div class=\"product_list_block\">
  482.                         ";
  483.                 // line 339
  484.                 $context['_parent'] = $context;
  485.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'339$this->source); })()));
  486.                 $context['loop'] = [
  487.                   'parent' => $context['_parent'],
  488.                   'index0' => 0,
  489.                   'index'  => 1,
  490.                   'first'  => true,
  491.                 ];
  492.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  493.                     $length count($context['_seq']);
  494.                     $context['loop']['revindex0'] = $length 1;
  495.                     $context['loop']['revindex'] = $length;
  496.                     $context['loop']['length'] = $length;
  497.                     $context['loop']['last'] = === $length;
  498.                 }
  499.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  500.                     // line 340
  501.                     echo "                            <div class=\"product_list_item\">
  502.                                 <a href=\"";
  503.                     // line 341
  504.                     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"falsefalsefalse341)]), "html"nulltrue);
  505.                     echo "\">
  506.                                     <div class=\"_img\">
  507.                                         <img src=\"";
  508.                     // line 343
  509.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsefalse343)), "save_image"), "html"nulltrue);
  510.                     echo "\" alt=\"";
  511.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse343), "html"nulltrue);
  512.                     echo "\" ";
  513.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse343) > 5)) {
  514.                         echo " loading=\"lazy\"";
  515.                     }
  516.                     echo ">
  517.                                     </div>
  518.                                     <div class=\"_content\">
  519.                                         <ul class=\"_tag\">
  520.                                             ";
  521.                     // line 347
  522.                     $context['_parent'] = $context;
  523.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse347));
  524.                     foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  525.                         // line 348
  526.                         echo "                                                <li>";
  527.                         echo twig_escape_filter($this->env$context["Tag"], "html"nulltrue);
  528.                         echo "</li>
  529.                                             ";
  530.                     }
  531.                     $_parent $context['_parent'];
  532.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  533.                     $context array_intersect_key($context$_parent) + $_parent;
  534.                     // line 350
  535.                     echo "                                        </ul>
  536.                                         <p class=\"_title\">";
  537.                     // line 351
  538.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse351), "html"nulltrue);
  539.                     echo "</p>
  540.                                     </div>
  541.                                     <p class=\"_price\">
  542.                                         ";
  543.                     // line 354
  544.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse354)) {
  545.                         // line 355
  546.                         echo "                                            ";
  547.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsefalse355) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsefalse355))) {
  548.                             // line 356
  549.                             echo "                                                ";
  550.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse356)), "html"nulltrue);
  551.                             echo "<span class=\"_included\">(税込)</span>
  552.                                             ";
  553.                         } else {
  554.                             // line 358
  555.                             echo "                                                ";
  556.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse358)), "html"nulltrue);
  557.                             echo " ~ ";
  558.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse358)), "html"nulltrue);
  559.                             echo "<span class=\"_included\">(税込)</span>
  560.                                             ";
  561.                         }
  562.                         // line 360
  563.                         echo "                                        ";
  564.                     } else {
  565.                         // line 361
  566.                         echo "                                            ";
  567.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse361)), "html"nulltrue);
  568.                         echo "<span class=\"_included\">(税込)</span>
  569.                                         ";
  570.                     }
  571.                     // line 363
  572.                     echo "                                    </p>
  573.                                 </a>
  574.                             </div>
  575.                         ";
  576.                     ++$context['loop']['index0'];
  577.                     ++$context['loop']['index'];
  578.                     $context['loop']['first'] = false;
  579.                     if (isset($context['loop']['length'])) {
  580.                         --$context['loop']['revindex0'];
  581.                         --$context['loop']['revindex'];
  582.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  583.                     }
  584.                 }
  585.                 $_parent $context['_parent'];
  586.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  587.                 $context array_intersect_key($context$_parent) + $_parent;
  588.                 // line 367
  589.                 echo "                    </div>
  590.                     <div class=\"ec-modal\">
  591.                         <div class=\"ec-modal-overlay\">
  592.                             <div class=\"ec-modal-wrap\">
  593.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  594.                 // line 371
  595.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  596.                 echo "\" alt=\"\"/></span></span>
  597.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  598.                 // line 372
  599.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  600.                 echo "</div>
  601.                                 <div class=\"ec-modal-box\">
  602.                                     <div class=\"ec-role\">
  603.                                         <span class=\"ec-inlineBtn--cancel\">";
  604.                 // line 375
  605.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  606.                 echo "</span>
  607.                                         <a href=\"";
  608.                 // line 376
  609.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  610.                 echo "\" class=\"ec-inlineBtn--action\">";
  611.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  612.                 echo "</a>
  613.                                     </div>
  614.                                 </div>
  615.                             </div>
  616.                         </div>
  617.                     </div>
  618.                     <div class=\"ec-pagerRole\">
  619.                         ";
  620.                 // line 383
  621.                 $this->loadTemplate("pager.twig""__string_template__9c6ac0772783a8d55f9aebe8425d88ba"383)->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.'383$this->source); })()), "paginationData", [], "any"falsefalsefalse383)]));
  622.                 // line 384
  623.                 echo "                    </div>
  624.                 ";
  625.             }
  626.             // line 386
  627.             echo "            ";
  628.         }
  629.         // line 387
  630.         echo "        </div>
  631.     </div>
  632. </div>
  633. ";
  634.         
  635.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  636.         
  637.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  638.     }
  639.     public function getTemplateName()
  640.     {
  641.         return "__string_template__9c6ac0772783a8d55f9aebe8425d88ba";
  642.     }
  643.     public function isTraitable()
  644.     {
  645.         return false;
  646.     }
  647.     public function getDebugInfo()
  648.     {
  649.         return array (  674 => 387,  671 => 386,  667 => 384,  665 => 383,  653 => 376,  649 => 375,  643 => 372,  639 => 371,  633 => 367,  616 => 363,  610 => 361,  607 => 360,  599 => 358,  593 => 356,  590 => 355,  588 => 354,  582 => 351,  579 => 350,  570 => 348,  566 => 347,  553 => 343,  548 => 341,  545 => 340,  528 => 339,  525 => 338,  523 => 337,  518 => 334,  511 => 330,  507 => 329,  503 => 327,  501 => 326,  498 => 325,  492 => 323,  486 => 321,  484 => 320,  479 => 317,  467 => 315,  463 => 314,  458 => 313,  454 => 312,  449 => 309,  442 => 305,  438 => 303,  436 => 302,  247 => 116,  243 => 115,  229 => 104,  225 => 103,  221 => 101,  211 => 100,  184 => 82,  174 => 75,  143 => 47,  115 => 21,  101 => 20,  93 => 19,  76 => 18,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  650.     }
  651.     public function getSourceContext()
  652.     {
  653.         return new Source("{#
  654. This file is part of EC-CUBE
  655. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  656. http://www.ec-cube.co.jp/
  657. For the full copyright and license information, please view the LICENSE
  658. file that was distributed with this source code.
  659. #}
  660. {% extends 'default_frame.twig' %}
  661. {% set body_class = 'product_page' %}
  662. {% block javascript %}
  663.     <script>
  664.         eccube.productsClassCategories = {
  665.             {% for Product in pagination %}
  666.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  667.             {% endfor %}
  668.         };
  669.         \$(function() {
  670.             // 表示件数を変更
  671.             \$('.disp-number').change(function() {
  672.                 var dispNumber = \$(this).val();
  673.                 \$('#disp_number').val(dispNumber);
  674.                 \$('#pageno').val(1);
  675.                 \$(\"#form1\").submit();
  676.             });
  677.             // 並び順を変更
  678.             \$('.order-by').change(function() {
  679.                 var orderBy = \$(this).val();
  680.                 \$('#orderby').val(orderBy);
  681.                 \$('#pageno').val(1);
  682.                 \$(\"#form1\").submit();
  683.             });
  684.             \$('.add-cart').on('click', function(e) {
  685.                 var \$form = \$(this).parents('li').find('form');
  686.                 // 個数フォームのチェック
  687.                 var \$quantity = \$form.parent().find('.quantity');
  688.                 if (\$quantity.val() < 1) {
  689.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  690.                     setTimeout(function() {
  691.                         loadingOverlay('hide');
  692.                     }, 100);
  693.                     return true;
  694.                 } else {
  695.                     \$quantity[0].setCustomValidity('');
  696.                 }
  697.                 e.preventDefault();
  698.                 \$.ajax({
  699.                     url: \$form.attr('action'),
  700.                     type: \$form.attr('method'),
  701.                     data: \$form.serialize(),
  702.                     dataType: 'json',
  703.                     beforeSend: function(xhr, settings) {
  704.                         // Buttonを無効にする
  705.                         \$('.add-cart').prop('disabled', true);
  706.                     }
  707.                 }).done(function(data) {
  708.                     // レスポンス内のメッセージをalertで表示
  709.                     \$.each(data.messages, function() {
  710.                         \$('#ec-modal-header').html(this);
  711.                     });
  712.                     \$('.ec-modal').show()
  713.                     // カートブロックを更新する
  714.                     \$.ajax({
  715.                         url: '{{ url('block_cart') }}',
  716.                         type: 'GET',
  717.                         dataType: 'html'
  718.                     }).done(function(html) {
  719.                         \$('.ec-headerRole__cart').html(html);
  720.                     });
  721.                 }).fail(function(data) {
  722.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  723.                 }).always(function(data) {
  724.                     // Buttonを有効にする
  725.                     \$('.add-cart').prop('disabled', false);
  726.                 });
  727.             });
  728.         });
  729.         \$('.ec-modal-wrap').on('click', function(e) {
  730.             // モーダル内の処理は外側にバブリングさせない
  731.             e.stopPropagation();
  732.         });
  733.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  734.             \$('.ec-modal').hide()
  735.         });
  736.     </script>
  737. {% endblock %}
  738. {% block main %}
  739. <div class=\"main_visual\" 
  740.     data-imgpc=\"{{ asset('assets/img/common/main_visual.jpg','user_data') }}\" 
  741.     data-imgsmp=\"{{ asset('assets/img/common/main_visualsmp.jpg','user_data') }}\">
  742.     <div class=\"container\">
  743.         <h2 class=\"main_visual_title\">
  744.             <span class=\"_big\">G-Laboウクレレラインナップ</span>
  745.             <span class=\"_small\">ベトナム工房で生まれる、世界に一つだけの音色。<br>職人の手で一つひとつ丁寧に作られた、G-Laboウクレレのラインナップをご覧ください。</span>
  746.         </h2>
  747.     </div>
  748. </div>
  749. <div class=\"product_list container\">
  750.     <div class=\"product_list_category\">
  751.         <p class=\"_list\"><a href=\"{{ url('product_list') }}\">すべての商品</a></p>
  752.         {{ include('Block/category.twig') }}
  753.     </div>
  754.     <div class=\"product_list_container\">
  755.         <div id=\"main_side\" class=\"side\">
  756.                 <script>
  757.     \$(function() {
  758.         \$(\".product_btn_search\").click(function(){
  759.             \$(this).parent().submit();
  760.         });
  761.         \$(\".product_btn_del\").click(function(){
  762.             \$(\".search-form-custom\").find(\"input[type='text'], input[type='checkbox'], select\").val(\"\");
  763.             \$(this).parent().submit();
  764.         });
  765.     });
  766.     </script>
  767. <div class=\"ec-headerNaviRole__search\">
  768.     <form method=\"get\" action=\"/products/search\" class=\"search-form-custom product_form_search\">
  769.         <div class=\"ec-headerSearch__keyword\">
  770.             <div class=\"ec-input\">
  771.                 <p class=\"_title02\">キーワード</p>
  772.                 <div class='cus-input-search'>
  773.                     <input type=\"text\" id=\"keyword\" name=\"keyword\" placeholder=\"\" class=\"form-control form-control\" />
  774.                     <button class=\"ec-headerSearch__keywordBtn\" type=\"submit\"></button>
  775.                 </div>
  776.             </div>
  777.         </div>
  778.         <h3 class=\"product_form_title \">
  779.             <span>カテゴリー</span>
  780.         </h3>
  781.         <ul class=\"product_form_checkbox\" >
  782.                         <li>
  783.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_0\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_20\" value=\"20\" />
  784.         <label class=\"form-check-label\" for=\"category_0\">ガズのわがままウクレレ</label></div>
  785.             </li>
  786.                         <li>
  787.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_1\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_21\" value=\"21\" />
  788.         <label class=\"form-check-label\" for=\"category_1\">ウスレレ</label></div>
  789.             </li>
  790.                         <li>
  791.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_2\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_22\" value=\"22\" />
  792.         <label class=\"form-check-label\" for=\"category_2\">たびレレ</label></div>
  793.             </li>
  794.                         <li>
  795.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_3\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_23\" value=\"23\" />
  796.         <label class=\"form-check-label\" for=\"category_3\">竹レレ</label></div>
  797.             </li>
  798.                         <li>
  799.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_4\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_24\" value=\"24\" />
  800.         <label class=\"form-check-label\" for=\"category_4\">THE CLASSIC</label></div>
  801.             </li>
  802.                         <li>
  803.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_5\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_25\" value=\"25\" />
  804.         <label class=\"form-check-label\" for=\"category_5\">コズモデル</label></div>
  805.             </li>
  806.                         <li>
  807.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_6\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_26\" value=\"26\" />
  808.         <label class=\"form-check-label\" for=\"category_6\">GM Vintage</label></div>
  809.             </li>
  810.                         <li>
  811.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_7\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_27\" value=\"27\" />
  812.         <label class=\"form-check-label\" for=\"category_7\">ガズモデル</label></div>
  813.             </li>
  814.                         <li>
  815.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_8\" name=\"category[]\" class=\"form-check-input form-check-input\" id=\"category_28\" value=\"28\" />
  816.         <label class=\"form-check-label\" for=\"category_8\">その他(グッズ)</label></div>
  817.             </li>
  818.                     </ul>
  819.         <h3 class=\"product_form_title _icon01 \">
  820.             <span>ライフスタイル</span>
  821.         </h3>
  822.         <ul class=\"product_form_checkbox\" >
  823.                         <li>
  824.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_0\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_33\" value=\"33\" />
  825.         <label class=\"form-check-label\" for=\"category_17_0\">自宅でリラックスして楽しむ</label></div>
  826.             </li>
  827.                         <li>
  828.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_1\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_34\" value=\"34\" />
  829.         <label class=\"form-check-label\" for=\"category_17_1\">ビジネスの合間に楽しむ</label></div>
  830.             </li>
  831.                         <li>
  832.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_2\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_35\" value=\"35\" />
  833.         <label class=\"form-check-label\" for=\"category_17_2\">アウトドアで楽しむ</label></div>
  834.             </li>
  835.                         <li>
  836.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_3\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_36\" value=\"36\" />
  837.         <label class=\"form-check-label\" for=\"category_17_3\">カフェでのひととき</label></div>
  838.             </li>
  839.                         <li>
  840.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_4\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_37\" value=\"37\" />
  841.         <label class=\"form-check-label\" for=\"category_17_4\">旅行へのお供に</label></div>
  842.             </li>
  843.                         <li>
  844.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_5\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_38\" value=\"38\" />
  845.         <label class=\"form-check-label\" for=\"category_17_5\">ライブ&パフォーマンスに</label></div>
  846.             </li>
  847.                         <li>
  848.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_6\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_39\" value=\"39\" />
  849.         <label class=\"form-check-label\" for=\"category_17_6\">友人や家族とセッション</label></div>
  850.             </li>
  851.                         <li>
  852.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_7\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_40\" value=\"40\" />
  853.         <label class=\"form-check-label\" for=\"category_17_7\">子供と一緒にに楽しむ</label></div>
  854.             </li>
  855.                         <li>
  856.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_8\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_41\" value=\"41\" />
  857.         <label class=\"form-check-label\" for=\"category_17_8\">作曲・クリエイティブ用途</label></div>
  858.             </li>
  859.                         <li>
  860.             <div class=\"form-check\"><input type=\"checkbox\" id=\"category_17_9\" name=\"category_17[]\" class=\"form-check-input form-check-input\" id=\"category_42\" value=\"42\" />
  861.         <label class=\"form-check-label\" for=\"category_17_9\">SNS・動画配信用</label></div>
  862.             </li>
  863.                     </ul>
  864.         <h3 class=\"product_form_title _icon02\"><span>こだわり条件から探す</span></h3>
  865.         <p class=\"_title02\">商品ステータス</p>
  866.         <select id=\"category_19\" name=\"category_19\" class=\"product_form_select form-select\"><option value=\"\">カテゴリを選択してください</option><option value=\"29\">在庫有り商品</option><option value=\"30\">予約商品</option><option value=\"31\">新着商品</option><option value=\"32\">おすすめ商品</option></select>
  867.         
  868.         <p class=\"_title02\">サイズ</p>
  869.         <ul class=\"product_size_checkbox\">
  870.                         <li>
  871.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_2_0\" name=\"class_name_2[]\" class=\"form-check-input form-check-input\" id=\"category_7\" value=\"7\" />
  872.         <label class=\"form-check-label\" for=\"class_name_2_0\">ソプラノ</label></div>
  873.             </li>
  874.                         <li>
  875.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_2_1\" name=\"class_name_2[]\" class=\"form-check-input form-check-input\" id=\"category_8\" value=\"8\" />
  876.         <label class=\"form-check-label\" for=\"class_name_2_1\">コンサート</label></div>
  877.             </li>
  878.                         <li>
  879.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_2_2\" name=\"class_name_2[]\" class=\"form-check-input form-check-input\" id=\"category_9\" value=\"9\" />
  880.         <label class=\"form-check-label\" for=\"class_name_2_2\">テナー</label></div>
  881.             </li>
  882.                     </ul>
  883.         <div class=\"_column\">
  884.             <p class=\"_title02\">塗装</p>
  885.             <a class=\"_tooltip _left\" href=\"#\" data-tooltip=\"ツヤありは光沢があり、ツヤなしは落ち着いたマット仕上げになります。\"></a>
  886.         </div>
  887.         <ul class=\"product_coating_checkbox\">
  888.                         <li>
  889.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_4_0\" name=\"class_name_4[]\" class=\"form-check-input form-check-input\" id=\"category_13\" value=\"13\" />
  890.         <label class=\"form-check-label\" for=\"class_name_4_0\">艶あり(グロス)</label></div>
  891.             </li>
  892.                         <li>
  893.             <div class=\"form-check\"><input type=\"checkbox\" id=\"class_name_4_1\" name=\"class_name_4[]\" class=\"form-check-input form-check-input\" id=\"category_12\" value=\"12\" />
  894.         <label class=\"form-check-label\" for=\"class_name_4_1\">艶なし(マット)</label></div>
  895.             </li>
  896.                     </ul>
  897.         <p class=\"_title02\">ボディタイプ</p>
  898.         <select id=\"class_name_3\" name=\"class_name_3\" class=\"product_form_select form-select\"><option value=\"\">カテゴリを選択してください</option><option value=\"11\">薄ボディ(〇〇mm)</option><option value=\"10\">ノーマル(標準〇〇mm)</option></select>
  899.         
  900.         <div class=\"_column\">
  901.             <p class=\"_title02\">フレット数</p>
  902.             <a class=\"_tooltip _left\" href=\"#\" data-tooltip=\"弦を押さえる金属の数です。フレットが多いほど高い音まで演奏できます。\"></a>
  903.         </div>
  904.         <select id=\"class_name_1\" name=\"class_name_1\" class=\"product_form_select form-select\"><option value=\"\">15フレット(標準)</option><option value=\"1\">15フレット</option><option value=\"2\">12フレット</option></select>
  905.         <div class=\"_column\">
  906.             <p class=\"_title02\">ピックアップ</p>
  907.             <a class=\"_tooltip _left\" href=\"#\" data-tooltip=\"アンプにつなぐための機能です。ライブ演奏や録音にも使えます。\"></a>
  908.         </div>
  909.         <select id=\"class_name_5\" name=\"class_name_5\" class=\"product_form_select form-select\"><option value=\"\">なし(標準)</option><option value=\"15\">あり(+¥0,000)</option><option value=\"14\">なし(標準)</option></select>
  910.         <p class=\"_title02\">価格帯</p>
  911.         <div class=\"product_form_price\">
  912.             <select id=\"price_min\" name=\"price_min\" class=\"product_form_select form-select\"><option value=\"\">選択してください</option><option value=\"0\">0</option><option value=\"10000\">10,000</option><option value=\"20000\">20,000</option><option value=\"30000\">30,000</option><option value=\"40000\">40,000</option><option value=\"50000\">50,000</option><option value=\"60000\">60,000</option><option value=\"70000\">70,000</option><option value=\"80000\">80,000</option><option value=\"90000\">90,000</option><option value=\"100000\">100,000</option><option value=\"110000\">110,000</option><option value=\"120000\">120,000</option><option value=\"130000\">130,000</option><option value=\"140000\">140,000</option><option value=\"150000\">150,000</option><option value=\"160000\">160,000</option><option value=\"170000\">170,000</option><option value=\"180000\">180,000</option><option value=\"190000\">190,000</option><option value=\"200000\">200,000</option></select>
  913.             </select><span class=\"_yen\">円</span><span class=\"_to\">〜</span>
  914.             <select id=\"price_max\" name=\"price_max\" class=\"product_form_select form-select\"><option value=\"\">選択してください</option><option value=\"10000\">10,000</option><option value=\"20000\">20,000</option><option value=\"30000\">30,000</option><option value=\"40000\">40,000</option><option value=\"50000\">50,000</option><option value=\"60000\">60,000</option><option value=\"70000\">70,000</option><option value=\"80000\">80,000</option><option value=\"90000\">90,000</option><option value=\"100000\">100,000</option><option value=\"110000\">110,000</option><option value=\"120000\">120,000</option><option value=\"130000\">130,000</option><option value=\"140000\">140,000</option><option value=\"150000\">150,000</option><option value=\"160000\">160,000</option><option value=\"170000\">170,000</option><option value=\"180000\">180,000</option><option value=\"190000\">190,000</option><option value=\"200000\">200,000</option></select>
  915.             <span class=\"_yen\">円</span>
  916.         </div>
  917.         <p class=\"product_btn_search\">この条件で絞り込む</p>
  918.         <p class=\"product_btn_del\">リセット</p>
  919.     </form>
  920. </div><div class=\"product_form_search\"></div>
  921.         </div>
  922.         <div id=\"main_content\">
  923.             {% if search_form.category_id.vars.errors|length > 0 %}
  924.                 <div class=\"ec-searchnavRole\">
  925.                     <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  926.                 </div>
  927.             {% else %}
  928.                 <div class=\"ec-searchnavRole\">
  929.                     <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  930.                         {% for item in search_form %}
  931.                             <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  932.                                 name=\"{{ item.vars.full_name }}\"
  933.                                 {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  934.                         {% endfor %}
  935.                     </form>
  936.                     <div class=\"product_list_navi\">
  937.                         <p class=\"_count_item\">
  938.                             {% if pagination.totalItemCount > 0 %}
  939.                                 {{ '<span class=\"ec-font-bold\">%count%件</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  940.                             {% else %}
  941.                                 <span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
  942.                             {% endif %}
  943.                         </p>
  944.                         {% if pagination.totalItemCount > 0 %}
  945.                             <div class=\"product_list_navi_role\">
  946.                                 <div class=\"ec-select\">
  947.                                     {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  948.                                     {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }}
  949.                                 </div>
  950.                             </div>
  951.                         {% endif %}
  952.                     </div>
  953.                 </div>
  954.                 
  955.                 {% if pagination.totalItemCount > 0 %}
  956.                     <div class=\"product_list_block\">
  957.                         {% for Product in pagination %}
  958.                             <div class=\"product_list_item\">
  959.                                 <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  960.                                     <div class=\"_img\">
  961.                                         <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  962.                                     </div>
  963.                                     <div class=\"_content\">
  964.                                         <ul class=\"_tag\">
  965.                                             {% for Tag in Product.Tags %}
  966.                                                 <li>{{ Tag }}</li>
  967.                                             {% endfor %}
  968.                                         </ul>
  969.                                         <p class=\"_title\">{{ Product.name }}</p>
  970.                                     </div>
  971.                                     <p class=\"_price\">
  972.                                         {% if Product.hasProductClass %}
  973.                                             {% if Product.getPrice02Min == Product.getPrice02Max %}
  974.                                                 {{ Product.getPrice02IncTaxMin|price }}<span class=\"_included\">(税込)</span>
  975.                                             {% else %}
  976.                                                 {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}<span class=\"_included\">(税込)</span>
  977.                                             {% endif %}
  978.                                         {% else %}
  979.                                             {{ Product.getPrice02IncTaxMin|price }}<span class=\"_included\">(税込)</span>
  980.                                         {% endif %}
  981.                                     </p>
  982.                                 </a>
  983.                             </div>
  984.                         {% endfor %}
  985.                     </div>
  986.                     <div class=\"ec-modal\">
  987.                         <div class=\"ec-modal-overlay\">
  988.                             <div class=\"ec-modal-wrap\">
  989.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  990.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  991.                                 <div class=\"ec-modal-box\">
  992.                                     <div class=\"ec-role\">
  993.                                         <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  994.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  995.                                     </div>
  996.                                 </div>
  997.                             </div>
  998.                         </div>
  999.                     </div>
  1000.                     <div class=\"ec-pagerRole\">
  1001.                         {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  1002.                     </div>
  1003.                 {% endif %}
  1004.             {% endif %}
  1005.         </div>
  1006.     </div>
  1007. </div>
  1008. {% endblock %}""__string_template__9c6ac0772783a8d55f9aebe8425d88ba""");
  1009.     }
  1010. }