var/cache/dev/twig/ba/ba0a953c8a3f22722e211875d2b6ec16.php line 55

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__7d553b6484c188d36805282a68be9e1d */
  14. class __TwigTemplate_a21fd4125aac7037bdc46e1d2c98244a 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 125
  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""__string_template__7d553b6484c188d36805282a68be9e1d"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__7d553b6484c188d36805282a68be9e1d"));
  42.         // line 127
  43.         $context["body_class"] = "product_page";
  44.         // line 125
  45.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__7d553b6484c188d36805282a68be9e1d"125);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 1
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 2
  61.         echo "        <style>
  62.             .ec-blockBtn--action {
  63.                 background-color: #E65F6E;
  64.                 border-radius: 5px;
  65.             }
  66.             .ec-blockBtn--cancel {
  67.                 border-radius: 5px;
  68.             }
  69.             .freeze {
  70.                 position: absolute;
  71.                 top: 5px;
  72.                 left: 5px;
  73.                 width: 40px;
  74.                 line-height: 1em;
  75.                 padding: 5px 0;
  76.                 background-color: #00B0EC;
  77.                 color: white;
  78.                 text-align: center;
  79.                 font-size: 10px;
  80.                 font-weight: 700;
  81.                 border-radius: 5px;
  82.                 margin-bottom: 5px;
  83.             }
  84.             .original {
  85.                 position: absolute;
  86.                 top: 5px;
  87.                 left: 50px;
  88.                 width: 60px;
  89.                 line-height: 1em;
  90.                 padding: 5px 0;
  91.                 background-color: #fff100;
  92.                 color: black;
  93.                 text-align: center;
  94.                 font-size: 10px;
  95.                 font-weight: 700;
  96.                 border-radius: 5px;
  97.                 margin-bottom: 5px;
  98.             }
  99.             .ec-select {
  100.                 margin-bottom: 5px;
  101.             }
  102.             .ec-select select {
  103.                 font-size: 12px;
  104.             }
  105.             .ec-shelfRole img.product_image {
  106.                 float: left;
  107.                 width: 40%;
  108.                 object-fit: cover;
  109.                 height: 120px;
  110.             }
  111.             .product_info {
  112.                 width: 60%; float: inline-end; padding-left: 5px;
  113.             }
  114.             .product_hr {
  115.                 width: 100%; color: #DDDDDD;
  116.             }
  117.             .about_shikomel {
  118.                 font-size: 14px; letter-spacing: normal; color: black; max-width: 120px; float: inline-end; display: none; font-weight: bold;
  119.             }
  120.             /* PC(画面幅768px以上)の場合 */
  121.             @media screen and (min-width: 768px) {
  122.                 .ec-shelfGrid {
  123.                     margin-left: 0px;
  124.                     margin-right: 0px;
  125.                 }
  126.                 .ec-shelfRole img.product_image {
  127.                     width: 100%;
  128.                     height: auto;
  129.                 }
  130.                 .product_li {
  131.                     width: 25%;
  132.                     margin-bottom: 15px;
  133.                 }
  134.                 .product_li:nth-of-type(4n + 1) {
  135.                     padding-left: 0px;
  136.                     padding-right: 14px;
  137.                 }
  138.                 .product_li:nth-of-type(4n + 2) {
  139.                     padding-left: 0px;
  140.                     padding-right: 7px;
  141.                 }
  142.                 .product_li:nth-of-type(4n + 3) {
  143.                     padding-left: 7px;
  144.                     padding-right: 0px;
  145.                 }
  146.                 .product_li:nth-of-type(4n + 4) {
  147.                     padding-left: 14px;
  148.                     padding-right: 0px;
  149.                 }
  150.                 .product_info {
  151.                     width: 100%;
  152.                     padding-left: 0px;
  153.                     margin-top: 10px;
  154.                 }
  155.                 .product_hr {
  156.                     display: none;
  157.                 }
  158.                 .about_shikomel {
  159.                     display: block;
  160.                 }
  161.             }
  162.         </style>
  163.     ";
  164.         
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  166.         
  167.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  168.     }
  169.     // line 129
  170.     public function block_javascript($context, array $blocks = [])
  171.     {
  172.         $macros $this->macros;
  173.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  174.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  175.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  176.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  177.         // line 130
  178.         echo "        <script>
  179.             eccube.productsClassCategories = {
  180.                 ";
  181.         // line 132
  182.         $context['_parent'] = $context;
  183.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'132$this->source); })()));
  184.         $context['loop'] = [
  185.           'parent' => $context['_parent'],
  186.           'index0' => 0,
  187.           'index'  => 1,
  188.           'first'  => true,
  189.         ];
  190.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  191.             $length count($context['_seq']);
  192.             $context['loop']['revindex0'] = $length 1;
  193.             $context['loop']['revindex'] = $length;
  194.             $context['loop']['length'] = $length;
  195.             $context['loop']['last'] = === $length;
  196.         }
  197.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  198.             // line 133
  199.             echo "                \"";
  200.             echo twig_escape_filter($this->envtwig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue133), 133$this->source), "js"), "html"nulltrue);
  201.             echo "\": ";
  202.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($this->sandbox->ensureToStringAllowed($context["Product"], 133$this->source));
  203.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue133) == false)) {
  204.                 echo ", ";
  205.             }
  206.             // line 134
  207.             echo "                ";
  208.             ++$context['loop']['index0'];
  209.             ++$context['loop']['index'];
  210.             $context['loop']['first'] = false;
  211.             if (isset($context['loop']['length'])) {
  212.                 --$context['loop']['revindex0'];
  213.                 --$context['loop']['revindex'];
  214.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  215.             }
  216.         }
  217.         $_parent $context['_parent'];
  218.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  219.         $context array_intersect_key($context$_parent) + $_parent;
  220.         // line 135
  221.         echo "            };
  222.             ";
  223.         // line 137
  224.         $context["current_domain"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'137$this->source); })()), "request", [], "any"falsefalsetrue137), "getHost", [], "method"falsefalsetrue137);
  225.         // line 138
  226.         echo "
  227.             ";
  228.         // line 139
  229.         $context["is_prod"] = twig_in_filter("web-order.shikomel.com", (isset($context["current_domain"]) || array_key_exists("current_domain"$context) ? $context["current_domain"] : (function () { throw new RuntimeError('Variable "current_domain" does not exist.'139$this->source); })()));
  230.         // line 140
  231.         echo "            ";
  232.         $context["is_stg"] = twig_in_filter("web-order-stg.shikomel.com", (isset($context["current_domain"]) || array_key_exists("current_domain"$context) ? $context["current_domain"] : (function () { throw new RuntimeError('Variable "current_domain" does not exist.'140$this->source); })()));
  233.         // line 141
  234.         echo "
  235.             \$(function() {
  236.                 // 表示件数を変更
  237.                 \$('.disp-number').change(function() {
  238.                     var dispNumber = \$(this).val();
  239.                     \$('#disp_number').val(dispNumber);
  240.                     \$('#pageno').val(1);
  241.                     \$(\"#form1\").submit();
  242.                 });
  243.                 // 並び順を変更
  244.                 \$('.order-by').change(function() {
  245.                     var orderBy = \$(this).val();
  246.                     \$('#orderby').val(orderBy);
  247.                     \$('#pageno').val(1);
  248.                     \$(\"#form1\").submit();
  249.                 });
  250.                 \$('.add-cart').on('click', function(e) {
  251.                     var \$form = \$(this).parents('li').find('form');
  252.                     var cartid = \$(this).attr(\"data-cartid\");
  253.                     // 個数フォームのチェック
  254.                     var \$quantity = \$form.parent().find('.quantity');
  255.                     if (\$quantity.val() < 1) {
  256.                         \$quantity[0].setCustomValidity('";
  257.         // line 168
  258.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  259.         echo "');
  260.                         setTimeout(function() {
  261.                             loadingOverlay('hide');
  262.                         }, 100);
  263.                         return true;
  264.                     } else {
  265.                         \$quantity[0].setCustomValidity('');
  266.                     }
  267.                     e.preventDefault();
  268.                     \$.ajax({
  269.                         url: \$form.attr('action'),
  270.                         type: \$form.attr('method'),
  271.                         data: \$form.serialize(),
  272.                         dataType: 'json',
  273.                         beforeSend: function(xhr, settings) {
  274.                             // Buttonを無効にする
  275.                             \$('.add-cart').prop('disabled', true);
  276.                         }
  277.                     }).done(function(data) {
  278.                         // レスポンス内のメッセージをalertで表示
  279.                         \$.each(data.messages, function() {
  280.                             
  281.     var \$cartBtn = \$('div.ec-modal-overlay').find('a.ec-inlineBtn--action');
  282.     \$cartBtn.removeAttr('disabled');
  283.     \$cartBtn.off('click');
  284.     // responseを判別
  285.     if(data.product_id !== undefined) {
  286.         var product_id = data.product_id;
  287.         var under_quantity = data.under_quantity;
  288.         // 最低購入数を下回る場合は、選択数量を最低購入数に変更
  289.         if(\$('#quantity' + product_id).length) {
  290.             \$('#quantity' + product_id).val(under_quantity);
  291.         } else {
  292.             \$('#quantity').val(under_quantity);
  293.         }
  294.         // カートに進むボタンを無効化
  295.         \$cartBtn.attr('disabled', 'disabled');
  296.         \$cartBtn.on('click', function() {
  297.             return false;
  298.         })
  299.     }
  300.     \$('#ec-modal-header').text(this);
  301.                         });
  302.                         \$('.ec-modal').show()
  303.                         // カートブロックを更新する
  304.                         \$.ajax({
  305.                             url: '";
  306.         // line 223
  307.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  308.         echo "',
  309.                             type: 'GET',
  310.                             dataType: 'html'
  311.                         }).done(function(html) {
  312.                             \$('.ec-headerRole__cart').html(html);
  313.                         });
  314.                         \$.ajax({
  315.                             url: '";
  316.         // line 231
  317.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("modal_cart");
  318.         echo "',
  319.                             type: 'GET',
  320.                             dataType: 'html'
  321.                         }).done(function(html) {
  322.                             \$('.ec-Modalfooter__cart').html(html);
  323.                         });
  324.                         \$.ajax({
  325.                             url: '";
  326.         // line 239
  327.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("header_cart_icon");
  328.         echo "',
  329.                             type: 'GET',
  330.                             dataType: 'html'
  331.                         }).done(function(html) {
  332.                             console.log(html)
  333.                             \$('.cart_icon_outer').html(html);
  334.                         });
  335.                         ";
  336.         // line 247
  337.         if ((isset($context["is_prod"]) || array_key_exists("is_prod"$context) ? $context["is_prod"] : (function () { throw new RuntimeError('Variable "is_prod" does not exist.'247$this->source); })())) {
  338.             // line 248
  339.             echo "
  340.                             fbq('track', 'AddToCart', {
  341.                                 content_type: \"Product\",
  342.                                 content_ids: cartid,
  343.                                 contents:
  344.                                     [{
  345.                                         id: cartid,
  346.                                         quantity: 1
  347.                                     }],
  348.                                 content_name: \"\",
  349.                                 currency: \"JPY\",
  350.                                 value: 50,
  351.                             });
  352.                             fbq('trackCustom', 'ce_add_to_cart', {
  353.                                 content_type: \"Product\",
  354.                                 content_ids: cartid,
  355.                                 contents:
  356.                                     [{
  357.                                         id: cartid,
  358.                                         quantity: 1
  359.                                     }],
  360.                                 content_name: \"\",
  361.                                 currency: \"JPY\",
  362.                                 value: 50,
  363.                             });
  364.                             window.dataLayer.push({
  365.                                 event: 'ce_add_to_cart',
  366.                                 custom_event_name: 'ce_add_to_cart',
  367.                                 custom_product_id: cartid,
  368.                                 custom_product_name: '',
  369.                                 custom_quantity: 1,
  370.                                 custom_customer_id: '',
  371.                                 custom_user_agent: \$(\"#user_agent\").val(),
  372.                                 custom_is_ig: \$(\"#is_ig\").val(),
  373.                                 custom_is_line: \$(\"#is_line\").val(),
  374.                                 custom_referer: \$(\"#referer\").val(),
  375.                                 custom_real_ip: \$(\"#real_ip\").val(),
  376.                             });
  377.                             _lt('send', 'cv', {
  378.                                 type: 'add_to_cart'
  379.                             },['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
  380.                         ";
  381.         }
  382.         // line 294
  383.         echo "
  384.                     }).fail(function(data) {
  385.                         alert('";
  386.         // line 296
  387.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  388.         echo "');
  389.                     }).always(function(data) {
  390.                         // Buttonを有効にする
  391.                         \$('.add-cart').prop('disabled', false);
  392.                     });
  393.                 });
  394.             });
  395.             \$('.ec-modal-wrap').on('click', function(e) {
  396.                 // モーダル内の処理は外側にバブリングさせない
  397.                 e.stopPropagation();
  398.             });
  399.             \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  400.                 \$('.ec-modal').hide()
  401.             });
  402.             // Lineバナークリックイベント
  403.             \$('#line_link_list').on('click', function(event) {
  404.                 const currentPageUrl = window.location.href;
  405.                 fbq('trackCustom', 'ce_click_line_btn', {
  406.                     content_type: \"ClickLineBtn\",
  407.                     content_name: currentPageUrl,
  408.                     value: 50
  409.                 });
  410.                 window.dataLayer.push({
  411.                     event: 'ce_click_line_btn',
  412.                     custom_event_name: 'ce_click_line_btn',
  413.                     custom_page_url: currentPageUrl,
  414.                     custom_customer_id: '',
  415.                     custom_user_agent: \$(\"#user_agent\").val(),
  416.                     custom_is_ig: \$(\"#is_ig\").val(),
  417.                     custom_is_line: \$(\"#is_line\").val(),
  418.                     custom_referer: \$(\"#referer\").val(),
  419.                     custom_real_ip: \$(\"#real_ip\").val(),
  420.                 });
  421.                 _lt('send', 'cv', {
  422.                     type: 'ce_click_line_btn'
  423.                 },['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
  424.             });
  425.         </script>
  426.     ";
  427.         
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  429.         
  430.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  431.     }
  432.     // line 342
  433.     public function block_main($context, array $blocks = [])
  434.     {
  435.         $macros $this->macros;
  436.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  437.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  439.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  440.         // line 343
  441.         echo "        ";
  442.         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.'343$this->source); })()), "category_id", [], "any"falsefalsetrue343), "vars", [], "any"falsefalsetrue343), "errors", [], "any"falsefalsetrue343)) > 0)) {
  443.             // line 344
  444.             echo "            <div class=\"ec-searchnavRole\">
  445.                 <p class=\"errormsg text-danger\">";
  446.             // line 345
  447.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  448.             echo "</p>
  449.             </div>
  450.         ";
  451.         } else {
  452.             // line 348
  453.             echo "            <div class=\"ec-searchnavRole\">
  454.                 <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  455.                     ";
  456.             // line 350
  457.             $context['_parent'] = $context;
  458.             $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.'350$this->source); })()));
  459.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  460.                 // line 351
  461.                 echo "                        <input type=\"hidden\" id=\"";
  462.                 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"falsefalsetrue351), "id", [], "any"falsefalsetrue351), 351$this->source), "html"nulltrue);
  463.                 echo "\"
  464.                             name=\"";
  465.                 // line 352
  466.                 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"falsefalsetrue352), "full_name", [], "any"falsefalsetrue352), 352$this->source), "html"nulltrue);
  467.                 echo "\"
  468.                             ";
  469.                 // line 353
  470.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsetrue353), "value", [], "any"falsefalsetrue353))) {
  471.                     echo "value=\"";
  472.                     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"falsefalsetrue353), "value", [], "any"falsefalsetrue353), 353$this->source), "html"nulltrue);
  473.                     echo "\" ";
  474.                 }
  475.                 echo "/>
  476.                     ";
  477.             }
  478.             $_parent $context['_parent'];
  479.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  480.             $context array_intersect_key($context$_parent) + $_parent;
  481.             // line 355
  482.             echo "                </form>
  483.                 <div class=\"ec-searchnavRole__topicpath\" style=\"\">
  484.                     <ol class=\"ec-topicpath\" style=\"border-top: none; border-bottom: 1px solid #ccc;\">
  485.                         <div class=\"about_shikomel\">
  486.                             <a href=\"https://shikomel.com/\" style=\"color: #337AB7;\" target=\"_blank\">
  487.                                 シコメルとは
  488.                                 <i class=\"far fa-question-circle\" style=\"margin-left: 5px;\"></i>
  489.                             </a>
  490.                         </div>
  491.                         ";
  492.             // line 365
  493.             echo "                        ";
  494.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'365$this->source); })()))) {
  495.                 // line 366
  496.                 echo "                            <div class=\"\" style=\"font-size: 11px; letter-spacing: normal; color: black;\">
  497.                                 <div><a href=\"";
  498.                 // line 367
  499.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  500.                 echo "\" style=\"color: #337ab7;\">ホーム</a> > ";
  501.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(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.'367$this->source); })()), "name", [], "any"falsefalsetrue367), 367$this->source), "html"nulltrue);
  502.                 echo "</div>
  503.                             </div>
  504.                         ";
  505.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 369
  506. (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'369$this->source); })()), "vars", [], "any"falsefalsetrue369), "value", [], "any"falsefalsetrue369) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'369$this->source); })()), "vars", [], "any"falsefalsetrue369), "value", [], "any"falsefalsetrue369), "name", [], "any"falsefalsetrue369))) {
  507.                 // line 370
  508.                 echo "                            <div class=\"\" style=\"font-size: 11px; letter-spacing: normal; color: black;\">
  509.                                 <div><a href=\"";
  510.                 // line 371
  511.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  512.                 echo "\" style=\"color: #337ab7;\">ホーム</a> > ";
  513.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%name%」に一致する商品一覧", ["%name%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'371$this->source); })()), "vars", [], "any"falsefalsetrue371), "value", [], "any"falsefalsetrue371), "name", [], "any"falsefalsetrue371)]), "html"nulltrue);
  514.                 echo "</div>
  515.                             </div>
  516.                         ";
  517.             } else {
  518.                 // line 374
  519.                 echo "                            <div class=\"\" style=\"font-size: 11px; letter-spacing: normal; color: black; max-width: 900px;\">
  520.                                 <div><a href=\"";
  521.                 // line 375
  522.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  523.                 echo "\" style=\"color: #337ab7;\">ホーム</a> > 全ての商品</div>
  524.                             </div>
  525.                         ";
  526.             }
  527.             // line 378
  528.             echo "                    </ol>
  529.                 </div>
  530.                 <div class=\"cu-ec-searchnavRole__infos\" style=\"margin-top: 10px; display: block;\">
  531.                     ";
  532.             // line 381
  533.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'381$this->source); })()))) {
  534.                 // line 382
  535.                 echo "                        ";
  536.                 $context['_parent'] = $context;
  537.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'382$this->source); })()), "path", [], "any"falsefalsetrue382));
  538.                 $context['loop'] = [
  539.                   'parent' => $context['_parent'],
  540.                   'index0' => 0,
  541.                   'index'  => 1,
  542.                   'first'  => true,
  543.                 ];
  544.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  545.                     $length count($context['_seq']);
  546.                     $context['loop']['revindex0'] = $length 1;
  547.                     $context['loop']['revindex'] = $length;
  548.                     $context['loop']['length'] = $length;
  549.                     $context['loop']['last'] = === $length;
  550.                 }
  551.                 foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
  552.                     // line 383
  553.                     echo "                            <div class=\"ec-topicpath__item";
  554.                     if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue383)) {
  555.                         echo "--active";
  556.                     }
  557.                     echo "\">
  558.                                 <a href=\"";
  559.                     // line 384
  560.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  561.                     echo "?category_id=";
  562.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsetrue384), 384$this->source), "html"nulltrue);
  563.                     echo "\" style=\"color: black; font-weight: bold; font-size: 14px;\">";
  564.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Path"], "name", [], "any"falsefalsetrue384), 384$this->source), "html"nulltrue);
  565.                     echo "</a>
  566.                             </div>
  567.                         ";
  568.                     ++$context['loop']['index0'];
  569.                     ++$context['loop']['index'];
  570.                     $context['loop']['first'] = false;
  571.                     if (isset($context['loop']['length'])) {
  572.                         --$context['loop']['revindex0'];
  573.                         --$context['loop']['revindex'];
  574.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  575.                     }
  576.                 }
  577.                 $_parent $context['_parent'];
  578.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
  579.                 $context array_intersect_key($context$_parent) + $_parent;
  580.                 // line 387
  581.                 echo "                    ";
  582.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'387$this->source); })()), "vars", [], "any"falsefalsetrue387), "value", [], "any"falsefalsetrue387) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'387$this->source); })()), "vars", [], "any"falsefalsetrue387), "value", [], "any"falsefalsetrue387), "name", [], "any"falsefalsetrue387))) {
  583.                 // line 388
  584.                 echo "                        <div class=\"ec-topicpath__item\" style=\"color: black; font-weight: bold; font-size: 16px;\">";
  585.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%name%」に一致する商品一覧", ["%name%" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'388$this->source); })()), "vars", [], "any"falsefalsetrue388), "value", [], "any"falsefalsetrue388), "name", [], "any"falsefalsetrue388)]), "html"nulltrue);
  586.                 echo "</div>
  587.                     ";
  588.             } else {
  589.                 // line 390
  590.                 echo "                        <div class=\"ec-topicpath__item\" style=\"color: black; font-weight: bold; font-size: 16px;\">全ての商品</div>
  591.                     ";
  592.             }
  593.             // line 392
  594.             echo "                    <div class=\"ec-searchnavRole__counter\" style=\"margin-top: 10px; margin-bottom: 0px; width: 100%;\">
  595.                         ";
  596.             // line 393
  597.             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.'393$this->source); })()), "totalItemCount", [], "any"falsefalsetrue393) > 0)) {
  598.                 // line 394
  599.                 echo "                            ";
  600.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<span class=\"ec-font-bold\" style=\"font-size: 13px; font-weight: 500; float: left; line-height: 32px;\">%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.'394$this->source); })()), "totalItemCount", [], "any"falsefalsetrue394)]);
  601.                 echo "
  602.                             ";
  603.                 // line 395
  604.                 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.'395$this->source); })()), "totalItemCount", [], "any"falsefalsetrue395) > 0)) {
  605.                     // line 396
  606.                     echo "                                <div class=\"ec-searchnavRole__actions\" style=\"width: 100%;\">
  607.                                     <div class=\"ec-select\">
  608.                                         ";
  609.                     // line 399
  610.                     echo "                                        ";
  611.                     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.'399$this->source); })()), "orderby", [], "any"falsefalsetrue399), 399$this->source), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  612.                     echo "
  613.                                     </div>
  614.                                 </div>
  615.                             ";
  616.                 }
  617.                 // line 403
  618.                 echo "                        ";
  619.             } else {
  620.                 // line 404
  621.                 echo "                            <span>";
  622.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html"nulltrue);
  623.                 echo "</span>
  624.                         ";
  625.             }
  626.             // line 406
  627.             echo "                    </div>
  628.                 </div>
  629.             </div>
  630.             ";
  631.             // line 409
  632.             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.'409$this->source); })()), "totalItemCount", [], "any"falsefalsetrue409) > 0)) {
  633.                 // line 410
  634.                 echo "                <div class=\"ec-shelfRole\">
  635.                     <ul class=\"ec-shelfGrid\">
  636.                         ";
  637.                 // line 412
  638.                 $context['_parent'] = $context;
  639.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'412$this->source); })()));
  640.                 $context['loop'] = [
  641.                   'parent' => $context['_parent'],
  642.                   'index0' => 0,
  643.                   'index'  => 1,
  644.                   'first'  => true,
  645.                 ];
  646.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  647.                     $length count($context['_seq']);
  648.                     $context['loop']['revindex0'] = $length 1;
  649.                     $context['loop']['revindex'] = $length;
  650.                     $context['loop']['length'] = $length;
  651.                     $context['loop']['last'] = === $length;
  652.                 }
  653.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  654.                     // line 413
  655.                     echo "                            <li class=\"product_li\">
  656.                                 <a href=\"";
  657.                     // line 414
  658.                     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"falsefalsetrue414)]), "html"nulltrue);
  659.                     echo "\">
  660.                                     <div class=\"ec-shelfGrid__item-image\" style=\"margin-bottom: 5px; position: relative; text-align: left;\">
  661.                                         <div>
  662.                                             <img class=\"product_image\" src=\"";
  663.                     // line 417
  664.                     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"falsefalsetrue417), 417$this->source)), "save_image"), "html"nulltrue);
  665.                     echo "\" alt=\"";
  666.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue417), 417$this->source), "html"nulltrue);
  667.                     echo "\" ";
  668.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue417) > 5)) {
  669.                         echo " loading=\"lazy\"";
  670.                     }
  671.                     echo ">
  672.                                             ";
  673.                     // line 418
  674.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "is_original", [], "any"falsefalsetrue418) == "1")) {
  675.                         // line 419
  676.                         echo "                                            <span class=\"original\">オリジナル</span>
  677.                                             ";
  678.                     }
  679.                     // line 421
  680.                     echo "                                            ";
  681.                     if ((twig_get_attribute($this->env$this->source$context["Product"], "is_freeze", [], "any"falsefalsetrue421) == "1")) {
  682.                         // line 422
  683.                         echo "                                            <span class=\"freeze\">冷凍</span>
  684.                                             ";
  685.                     }
  686.                     // line 424
  687.                     echo "                                        </div>
  688.                                         <div class=\"product_info\">
  689.                                             ";
  690.                     // line 427
  691.                     echo "                                            <p class=\"product_info__name\">";
  692.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue427), 427$this->source), "html"nulltrue);
  693.                     echo "</p>
  694.                                             ";
  695.                     // line 429
  696.                     echo "                                            ";
  697.                     if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue429)) {
  698.                         // line 430
  699.                         echo "                                                <p class=\"product_info__description\">";
  700.                         echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsetrue430), 430$this->source));
  701.                         echo "</p>
  702.                                             ";
  703.                     }
  704.                     // line 432
  705.                     echo "                                            ";
  706.                     // line 433
  707.                     echo "                                            <div>
  708.                                                 <span class=\"product_info__unitCost\">";
  709.                     // line 434
  710.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "cost_per_unit", [], "any"falsefalsetrue434), 434$this->source), "html"nulltrue);
  711.                     echo "</span>
  712.                                                 ";
  713.                     // line 435
  714.                     if (twig_get_attribute($this->env$this->source$context["Product"], "cost_per_unit_gram", [], "any"falsefalsetrue435)) {
  715.                         // line 436
  716.                         echo "                                                <span class=\"product_info__gramCost\">(";
  717.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "cost_per_unit_gram", [], "any"falsefalsetrue436), 436$this->source), "html"nulltrue);
  718.                         echo ")</span>
  719.                                                 ";
  720.                     }
  721.                     // line 438
  722.                     echo "                                            </div>
  723.                                             ";
  724.                     // line 440
  725.                     if ( !(null === twig_get_attribute($this->env$this->source$context["Product"], "getPrice01Max", [], "any"falsefalsetrue440))) {
  726.                         // line 441
  727.                         echo "                                                <span class=\"ec-productRole__priceRegularPrice\" style=\"font-size: 12px;\">通常価格:</span><span class=\"ec-productRole__priceRegularPrice\" style=\"font-size: 14px; text-decoration: line-through;\">";
  728.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice01IncTaxMin", [], "any"falsefalsetrue441), 441$this->source)), "html"nulltrue);
  729.                         echo "(<span style=\"font-size: 14px;\">";
  730.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getStandardText", [], "any"falsefalsetrue441), 441$this->source), "html"nulltrue);
  731.                         echo "</span>)</span>
  732.                                                 <p style=\"font-size: 12px; margin: 2px 0px;\" class=\"price02-default\">
  733.                                                     →";
  734.                         // line 443
  735.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue443), 443$this->source)), "html"nulltrue);
  736.                         echo "(<span style=\"font-size: 14px;\">";
  737.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getStandardText", [], "any"falsefalsetrue443), 443$this->source), "html"nulltrue);
  738.                         echo "</span>)
  739.                                                 </p>
  740.                                             ";
  741.                     } else {
  742.                         // line 446
  743.                         echo "                                            <p style=\"font-size: 12px; margin: 2px 0px;\" class=\"price02-default\">
  744.                                                 ";
  745.                         // line 447
  746.                         if ( !(null === twig_get_attribute($this->env$this->source$context["Product"], "getStandardText", [], "any"falsefalsetrue447))) {
  747.                             // line 448
  748.                             echo "                                                    ";
  749.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue448), 448$this->source)), "html"nulltrue);
  750.                             echo "(<span style=\"font-size: 12px;\">";
  751.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getStandardText", [], "any"falsefalsetrue448), 448$this->source), "html"nulltrue);
  752.                             echo "</span>)
  753.                                                 ";
  754.                         } else {
  755.                             // line 450
  756.                             echo "                                                    ";
  757.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue450), 450$this->source)), "html"nulltrue);
  758.                             echo "
  759.                                                 ";
  760.                         }
  761.                         // line 452
  762.                         echo "                                            </p>
  763.                                             ";
  764.                     }
  765.                     // line 454
  766.                     echo "                                            ";
  767.                     if (twig_get_attribute($this->env$this->source$context["Product"], "stock_find", [], "any"falsefalsetrue454)) {
  768.                         // line 455
  769.                         echo "                                                ";
  770.                         $context["form"] = twig_get_attribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'455$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue455), [], "array"falsefalsetrue455);
  771.                         // line 456
  772.                         echo "                                                <form name=\"form";
  773.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue456), 456$this->source), "html"nulltrue);
  774.                         echo "\" id=\"productForm";
  775.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue456), 456$this->source), "html"nulltrue);
  776.                         echo "\" action=\"";
  777.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue456)]), "html"nulltrue);
  778.                         echo "\" method=\"post\">
  779.                                                     <div class=\"ec-productRole__actions\">
  780.                                                         <div class=\"ec-numberInput\" style=\"display: none;\"><span>";
  781.                         // line 458
  782.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  783.                         echo "</span>
  784.                                                             ";
  785.                         // line 459
  786.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'459$this->source); })()), "quantity", [], "any"falsefalsetrue459), 459$this->source), 'widget', ["attr" => ["class" => "quantity"]]);
  787.                         echo "
  788.                                                             ";
  789.                         // line 460
  790.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'460$this->source); })()), "quantity", [], "any"falsefalsetrue460), 460$this->source), 'errors');
  791.                         echo "
  792.                                                         </div>
  793.                                                     </div>
  794.                                                     ";
  795.                         // line 463
  796.                         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($this->sandbox->ensureToStringAllowed((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'463$this->source); })()), 463$this->source), 'rest');
  797.                         echo "
  798.                                                 </form>
  799.                                                 <div class=\"ec-productRole__btn\">
  800.                                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  801.                         // line 466
  802.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue466), 466$this->source), "html"nulltrue);
  803.                         echo "\" form=\"productForm";
  804.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue466), 466$this->source), "html"nulltrue);
  805.                         echo "\" style=\"height: 38px; font-weight: bold; line-height: 38px; font-size: 14px;\">
  806.                                                         ";
  807.                         // line 467
  808.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加"), "html"nulltrue);
  809.                         echo "
  810.                                                     </button>
  811.                                                 </div>
  812.                                             ";
  813.                     } else {
  814.                         // line 471
  815.                         echo "                                                <div class=\"ec-productRole__btn\">
  816.                                                     <button type=\"button\" class=\"ec-blockBtn--cancel\" disabled=\"disabled\" style=\"height: 35px; font-weight: 500; line-height: normal; font-size: 14px;\">
  817.                                                         ";
  818.                         // line 473
  819.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("只今品切れ中です"), "html"nulltrue);
  820.                         echo "
  821.                                                     </button>
  822.                                                 </div>
  823.                                             ";
  824.                     }
  825.                     // line 477
  826.                     echo "                                        </div>
  827.                                     </div>
  828.                                 </a>
  829.                             </li>
  830.                             <hr class=\"product_hr\">
  831.                         ";
  832.                     ++$context['loop']['index0'];
  833.                     ++$context['loop']['index'];
  834.                     $context['loop']['first'] = false;
  835.                     if (isset($context['loop']['length'])) {
  836.                         --$context['loop']['revindex0'];
  837.                         --$context['loop']['revindex'];
  838.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  839.                     }
  840.                 }
  841.                 $_parent $context['_parent'];
  842.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  843.                 $context array_intersect_key($context$_parent) + $_parent;
  844.                 // line 483
  845.                 echo "                    </ul>
  846.                 </div>
  847.                 <div class=\"ec-modal\">
  848.                     <div class=\"ec-modal-overlay\">
  849.                         <div class=\"ec-modal-wrap\">
  850.                             <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  851.                 // line 488
  852.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  853.                 echo "\" alt=\"\"/></span></span>
  854.                             <div id=\"ec-modal-header\" class=\"text-center\">";
  855.                 // line 489
  856.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  857.                 echo "</div>
  858.                             ";
  859.                 // line 491
  860.                 echo "                            ";
  861.                 // line 492
  862.                 echo "                            ";
  863.                 // line 493
  864.                 echo "                            ";
  865.                 // line 494
  866.                 echo "                            ";
  867.                 // line 495
  868.                 echo "                            <div class=\"ec-modal-box\">
  869.                                 <div class=\"ec-role\">
  870.                                     <span class=\"ec-inlineBtn--cancel\">";
  871.                 // line 497
  872.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  873.                 echo "</span>
  874.                                     <a href=\"";
  875.                 // line 498
  876.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  877.                 echo "\" class=\"ec-inlineBtn--action\">";
  878.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  879.                 echo "</a>
  880.                                 </div>
  881.                             </div>
  882.                         </div>
  883.                     </div>
  884.                 </div>
  885.                 <div class=\"ec-pagerRole\">
  886.                     ";
  887.                 // line 505
  888.                 $this->loadTemplate("pager.twig""__string_template__7d553b6484c188d36805282a68be9e1d"505)->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.'505$this->source); })()), "paginationData", [], "any"falsefalsetrue505)]));
  889.                 // line 506
  890.                 echo "                </div>
  891.             ";
  892.             }
  893.             // line 508
  894.             echo "        ";
  895.         }
  896.         // line 509
  897.         echo "    ";
  898.         
  899.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  900.         
  901.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  902.     }
  903.     public function getTemplateName()
  904.     {
  905.         return "__string_template__7d553b6484c188d36805282a68be9e1d";
  906.     }
  907.     public function isTraitable()
  908.     {
  909.         return false;
  910.     }
  911.     public function getDebugInfo()
  912.     {
  913.         return array (  969 => 509,  966 => 508,  962 => 506,  960 => 505,  948 => 498,  944 => 497,  940 => 495,  938 => 494,  936 => 493,  934 => 492,  932 => 491,  928 => 489,  924 => 488,  917 => 483,  898 => 477,  891 => 473,  887 => 471,  880 => 467,  874 => 466,  868 => 463,  862 => 460,  858 => 459,  854 => 458,  844 => 456,  841 => 455,  838 => 454,  834 => 452,  828 => 450,  820 => 448,  818 => 447,  815 => 446,  807 => 443,  799 => 441,  797 => 440,  793 => 438,  787 => 436,  785 => 435,  781 => 434,  778 => 433,  776 => 432,  770 => 430,  767 => 429,  762 => 427,  758 => 424,  754 => 422,  751 => 421,  747 => 419,  745 => 418,  735 => 417,  729 => 414,  726 => 413,  709 => 412,  705 => 410,  703 => 409,  698 => 406,  692 => 404,  689 => 403,  681 => 399,  677 => 396,  675 => 395,  670 => 394,  668 => 393,  665 => 392,  661 => 390,  655 => 388,  652 => 387,  631 => 384,  624 => 383,  606 => 382,  604 => 381,  599 => 378,  593 => 375,  590 => 374,  582 => 371,  579 => 370,  577 => 369,  570 => 367,  567 => 366,  564 => 365,  553 => 355,  541 => 353,  537 => 352,  532 => 351,  528 => 350,  524 => 348,  518 => 345,  515 => 344,  512 => 343,  502 => 342,  447 => 296,  443 => 294,  395 => 248,  393 => 247,  382 => 239,  371 => 231,  360 => 223,  302 => 168,  273 => 141,  270 => 140,  268 => 139,  265 => 138,  263 => 137,  259 => 135,  245 => 134,  237 => 133,  220 => 132,  216 => 130,  206 => 129,  75 => 2,  65 => 1,  54 => 125,  52 => 127,  39 => 125,);
  914.     }
  915.     public function getSourceContext()
  916.     {
  917.         return new Source("{% block stylesheet %}
  918.         <style>
  919.             .ec-blockBtn--action {
  920.                 background-color: #E65F6E;
  921.                 border-radius: 5px;
  922.             }
  923.             .ec-blockBtn--cancel {
  924.                 border-radius: 5px;
  925.             }
  926.             .freeze {
  927.                 position: absolute;
  928.                 top: 5px;
  929.                 left: 5px;
  930.                 width: 40px;
  931.                 line-height: 1em;
  932.                 padding: 5px 0;
  933.                 background-color: #00B0EC;
  934.                 color: white;
  935.                 text-align: center;
  936.                 font-size: 10px;
  937.                 font-weight: 700;
  938.                 border-radius: 5px;
  939.                 margin-bottom: 5px;
  940.             }
  941.             .original {
  942.                 position: absolute;
  943.                 top: 5px;
  944.                 left: 50px;
  945.                 width: 60px;
  946.                 line-height: 1em;
  947.                 padding: 5px 0;
  948.                 background-color: #fff100;
  949.                 color: black;
  950.                 text-align: center;
  951.                 font-size: 10px;
  952.                 font-weight: 700;
  953.                 border-radius: 5px;
  954.                 margin-bottom: 5px;
  955.             }
  956.             .ec-select {
  957.                 margin-bottom: 5px;
  958.             }
  959.             .ec-select select {
  960.                 font-size: 12px;
  961.             }
  962.             .ec-shelfRole img.product_image {
  963.                 float: left;
  964.                 width: 40%;
  965.                 object-fit: cover;
  966.                 height: 120px;
  967.             }
  968.             .product_info {
  969.                 width: 60%; float: inline-end; padding-left: 5px;
  970.             }
  971.             .product_hr {
  972.                 width: 100%; color: #DDDDDD;
  973.             }
  974.             .about_shikomel {
  975.                 font-size: 14px; letter-spacing: normal; color: black; max-width: 120px; float: inline-end; display: none; font-weight: bold;
  976.             }
  977.             /* PC(画面幅768px以上)の場合 */
  978.             @media screen and (min-width: 768px) {
  979.                 .ec-shelfGrid {
  980.                     margin-left: 0px;
  981.                     margin-right: 0px;
  982.                 }
  983.                 .ec-shelfRole img.product_image {
  984.                     width: 100%;
  985.                     height: auto;
  986.                 }
  987.                 .product_li {
  988.                     width: 25%;
  989.                     margin-bottom: 15px;
  990.                 }
  991.                 .product_li:nth-of-type(4n + 1) {
  992.                     padding-left: 0px;
  993.                     padding-right: 14px;
  994.                 }
  995.                 .product_li:nth-of-type(4n + 2) {
  996.                     padding-left: 0px;
  997.                     padding-right: 7px;
  998.                 }
  999.                 .product_li:nth-of-type(4n + 3) {
  1000.                     padding-left: 7px;
  1001.                     padding-right: 0px;
  1002.                 }
  1003.                 .product_li:nth-of-type(4n + 4) {
  1004.                     padding-left: 14px;
  1005.                     padding-right: 0px;
  1006.                 }
  1007.                 .product_info {
  1008.                     width: 100%;
  1009.                     padding-left: 0px;
  1010.                     margin-top: 10px;
  1011.                 }
  1012.                 .product_hr {
  1013.                     display: none;
  1014.                 }
  1015.                 .about_shikomel {
  1016.                     display: block;
  1017.                 }
  1018.             }
  1019.         </style>
  1020.     {% endblock %}
  1021.     {% extends 'default_frame.twig' %}
  1022.     {% set body_class = 'product_page' %}
  1023.     {% block javascript %}
  1024.         <script>
  1025.             eccube.productsClassCategories = {
  1026.                 {% for Product in pagination %}
  1027.                 \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  1028.                 {% endfor %}
  1029.             };
  1030.             {% set current_domain = app.request.getHost() %}
  1031.             {% set is_prod = 'web-order.shikomel.com' in current_domain %}
  1032.             {% set is_stg = 'web-order-stg.shikomel.com' in current_domain %}
  1033.             \$(function() {
  1034.                 // 表示件数を変更
  1035.                 \$('.disp-number').change(function() {
  1036.                     var dispNumber = \$(this).val();
  1037.                     \$('#disp_number').val(dispNumber);
  1038.                     \$('#pageno').val(1);
  1039.                     \$(\"#form1\").submit();
  1040.                 });
  1041.                 // 並び順を変更
  1042.                 \$('.order-by').change(function() {
  1043.                     var orderBy = \$(this).val();
  1044.                     \$('#orderby').val(orderBy);
  1045.                     \$('#pageno').val(1);
  1046.                     \$(\"#form1\").submit();
  1047.                 });
  1048.                 \$('.add-cart').on('click', function(e) {
  1049.                     var \$form = \$(this).parents('li').find('form');
  1050.                     var cartid = \$(this).attr(\"data-cartid\");
  1051.                     // 個数フォームのチェック
  1052.                     var \$quantity = \$form.parent().find('.quantity');
  1053.                     if (\$quantity.val() < 1) {
  1054.                         \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1055.                         setTimeout(function() {
  1056.                             loadingOverlay('hide');
  1057.                         }, 100);
  1058.                         return true;
  1059.                     } else {
  1060.                         \$quantity[0].setCustomValidity('');
  1061.                     }
  1062.                     e.preventDefault();
  1063.                     \$.ajax({
  1064.                         url: \$form.attr('action'),
  1065.                         type: \$form.attr('method'),
  1066.                         data: \$form.serialize(),
  1067.                         dataType: 'json',
  1068.                         beforeSend: function(xhr, settings) {
  1069.                             // Buttonを無効にする
  1070.                             \$('.add-cart').prop('disabled', true);
  1071.                         }
  1072.                     }).done(function(data) {
  1073.                         // レスポンス内のメッセージをalertで表示
  1074.                         \$.each(data.messages, function() {
  1075.                             
  1076.     var \$cartBtn = \$('div.ec-modal-overlay').find('a.ec-inlineBtn--action');
  1077.     \$cartBtn.removeAttr('disabled');
  1078.     \$cartBtn.off('click');
  1079.     // responseを判別
  1080.     if(data.product_id !== undefined) {
  1081.         var product_id = data.product_id;
  1082.         var under_quantity = data.under_quantity;
  1083.         // 最低購入数を下回る場合は、選択数量を最低購入数に変更
  1084.         if(\$('#quantity' + product_id).length) {
  1085.             \$('#quantity' + product_id).val(under_quantity);
  1086.         } else {
  1087.             \$('#quantity').val(under_quantity);
  1088.         }
  1089.         // カートに進むボタンを無効化
  1090.         \$cartBtn.attr('disabled', 'disabled');
  1091.         \$cartBtn.on('click', function() {
  1092.             return false;
  1093.         })
  1094.     }
  1095.     \$('#ec-modal-header').text(this);
  1096.                         });
  1097.                         \$('.ec-modal').show()
  1098.                         // カートブロックを更新する
  1099.                         \$.ajax({
  1100.                             url: '{{ url('block_cart') }}',
  1101.                             type: 'GET',
  1102.                             dataType: 'html'
  1103.                         }).done(function(html) {
  1104.                             \$('.ec-headerRole__cart').html(html);
  1105.                         });
  1106.                         \$.ajax({
  1107.                             url: '{{ url('modal_cart') }}',
  1108.                             type: 'GET',
  1109.                             dataType: 'html'
  1110.                         }).done(function(html) {
  1111.                             \$('.ec-Modalfooter__cart').html(html);
  1112.                         });
  1113.                         \$.ajax({
  1114.                             url: '{{ url('header_cart_icon') }}',
  1115.                             type: 'GET',
  1116.                             dataType: 'html'
  1117.                         }).done(function(html) {
  1118.                             console.log(html)
  1119.                             \$('.cart_icon_outer').html(html);
  1120.                         });
  1121.                         {% if is_prod %}
  1122.                             fbq('track', 'AddToCart', {
  1123.                                 content_type: \"Product\",
  1124.                                 content_ids: cartid,
  1125.                                 contents:
  1126.                                     [{
  1127.                                         id: cartid,
  1128.                                         quantity: 1
  1129.                                     }],
  1130.                                 content_name: \"\",
  1131.                                 currency: \"JPY\",
  1132.                                 value: 50,
  1133.                             });
  1134.                             fbq('trackCustom', 'ce_add_to_cart', {
  1135.                                 content_type: \"Product\",
  1136.                                 content_ids: cartid,
  1137.                                 contents:
  1138.                                     [{
  1139.                                         id: cartid,
  1140.                                         quantity: 1
  1141.                                     }],
  1142.                                 content_name: \"\",
  1143.                                 currency: \"JPY\",
  1144.                                 value: 50,
  1145.                             });
  1146.                             window.dataLayer.push({
  1147.                                 event: 'ce_add_to_cart',
  1148.                                 custom_event_name: 'ce_add_to_cart',
  1149.                                 custom_product_id: cartid,
  1150.                                 custom_product_name: '',
  1151.                                 custom_quantity: 1,
  1152.                                 custom_customer_id: '',
  1153.                                 custom_user_agent: \$(\"#user_agent\").val(),
  1154.                                 custom_is_ig: \$(\"#is_ig\").val(),
  1155.                                 custom_is_line: \$(\"#is_line\").val(),
  1156.                                 custom_referer: \$(\"#referer\").val(),
  1157.                                 custom_real_ip: \$(\"#real_ip\").val(),
  1158.                             });
  1159.                             _lt('send', 'cv', {
  1160.                                 type: 'add_to_cart'
  1161.                             },['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
  1162.                         {% endif %}
  1163.                     }).fail(function(data) {
  1164.                         alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1165.                     }).always(function(data) {
  1166.                         // Buttonを有効にする
  1167.                         \$('.add-cart').prop('disabled', false);
  1168.                     });
  1169.                 });
  1170.             });
  1171.             \$('.ec-modal-wrap').on('click', function(e) {
  1172.                 // モーダル内の処理は外側にバブリングさせない
  1173.                 e.stopPropagation();
  1174.             });
  1175.             \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  1176.                 \$('.ec-modal').hide()
  1177.             });
  1178.             // Lineバナークリックイベント
  1179.             \$('#line_link_list').on('click', function(event) {
  1180.                 const currentPageUrl = window.location.href;
  1181.                 fbq('trackCustom', 'ce_click_line_btn', {
  1182.                     content_type: \"ClickLineBtn\",
  1183.                     content_name: currentPageUrl,
  1184.                     value: 50
  1185.                 });
  1186.                 window.dataLayer.push({
  1187.                     event: 'ce_click_line_btn',
  1188.                     custom_event_name: 'ce_click_line_btn',
  1189.                     custom_page_url: currentPageUrl,
  1190.                     custom_customer_id: '',
  1191.                     custom_user_agent: \$(\"#user_agent\").val(),
  1192.                     custom_is_ig: \$(\"#is_ig\").val(),
  1193.                     custom_is_line: \$(\"#is_line\").val(),
  1194.                     custom_referer: \$(\"#referer\").val(),
  1195.                     custom_real_ip: \$(\"#real_ip\").val(),
  1196.                 });
  1197.                 _lt('send', 'cv', {
  1198.                     type: 'ce_click_line_btn'
  1199.                 },['d6fb195c-aa19-4109-8ea0-7b1d883fb349']);
  1200.             });
  1201.         </script>
  1202.     {% endblock %}
  1203.     {% block main %}
  1204.         {% if search_form.category_id.vars.errors|length > 0 %}
  1205.             <div class=\"ec-searchnavRole\">
  1206.                 <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  1207.             </div>
  1208.         {% else %}
  1209.             <div class=\"ec-searchnavRole\">
  1210.                 <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  1211.                     {% for item in search_form %}
  1212.                         <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  1213.                             name=\"{{ item.vars.full_name }}\"
  1214.                             {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  1215.                     {% endfor %}
  1216.                 </form>
  1217.                 <div class=\"ec-searchnavRole__topicpath\" style=\"\">
  1218.                     <ol class=\"ec-topicpath\" style=\"border-top: none; border-bottom: 1px solid #ccc;\">
  1219.                         <div class=\"about_shikomel\">
  1220.                             <a href=\"https://shikomel.com/\" style=\"color: #337AB7;\" target=\"_blank\">
  1221.                                 シコメルとは
  1222.                                 <i class=\"far fa-question-circle\" style=\"margin-left: 5px;\"></i>
  1223.                             </a>
  1224.                         </div>
  1225.                         {# パンくず #}
  1226.                         {% if Category is not null %}
  1227.                             <div class=\"\" style=\"font-size: 11px; letter-spacing: normal; color: black;\">
  1228.                                 <div><a href=\"{{ url('homepage') }}\" style=\"color: #337ab7;\">ホーム</a> > {{ Category.name }}</div>
  1229.                             </div>
  1230.                         {% elseif search_form.vars.value and search_form.vars.value.name %}
  1231.                             <div class=\"\" style=\"font-size: 11px; letter-spacing: normal; color: black;\">
  1232.                                 <div><a href=\"{{ url('homepage') }}\" style=\"color: #337ab7;\">ホーム</a> > {{ '「%name%」に一致する商品一覧'|trans({ '%name%': search_form.vars.value.name }) }}</div>
  1233.                             </div>
  1234.                         {% else %}
  1235.                             <div class=\"\" style=\"font-size: 11px; letter-spacing: normal; color: black; max-width: 900px;\">
  1236.                                 <div><a href=\"{{ url('homepage') }}\" style=\"color: #337ab7;\">ホーム</a> > 全ての商品</div>
  1237.                             </div>
  1238.                         {% endif %}
  1239.                     </ol>
  1240.                 </div>
  1241.                 <div class=\"cu-ec-searchnavRole__infos\" style=\"margin-top: 10px; display: block;\">
  1242.                     {% if Category is not null %}
  1243.                         {% for Path in Category.path %}
  1244.                             <div class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\">
  1245.                                 <a href=\"{{ url('product_list') }}?category_id={{ Path.id }}\" style=\"color: black; font-weight: bold; font-size: 14px;\">{{ Path.name }}</a>
  1246.                             </div>
  1247.                         {% endfor %}
  1248.                     {% elseif search_form.vars.value and search_form.vars.value.name %}
  1249.                         <div class=\"ec-topicpath__item\" style=\"color: black; font-weight: bold; font-size: 16px;\">{{ '「%name%」に一致する商品一覧'|trans({ '%name%': search_form.vars.value.name }) }}</div>
  1250.                     {% else %}
  1251.                         <div class=\"ec-topicpath__item\" style=\"color: black; font-weight: bold; font-size: 16px;\">全ての商品</div>
  1252.                     {% endif %}
  1253.                     <div class=\"ec-searchnavRole__counter\" style=\"margin-top: 10px; margin-bottom: 0px; width: 100%;\">
  1254.                         {% if pagination.totalItemCount > 0 %}
  1255.                             {{ '<span class=\"ec-font-bold\" style=\"font-size: 13px; font-weight: 500; float: left; line-height: 32px;\">%count%件</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  1256.                             {% if pagination.totalItemCount > 0 %}
  1257.                                 <div class=\"ec-searchnavRole__actions\" style=\"width: 100%;\">
  1258.                                     <div class=\"ec-select\">
  1259.                                         {# {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }} #}
  1260.                                         {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }}
  1261.                                     </div>
  1262.                                 </div>
  1263.                             {% endif %}
  1264.                         {% else %}
  1265.                             <span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
  1266.                         {% endif %}
  1267.                     </div>
  1268.                 </div>
  1269.             </div>
  1270.             {% if pagination.totalItemCount > 0 %}
  1271.                 <div class=\"ec-shelfRole\">
  1272.                     <ul class=\"ec-shelfGrid\">
  1273.                         {% for Product in pagination %}
  1274.                             <li class=\"product_li\">
  1275.                                 <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1276.                                     <div class=\"ec-shelfGrid__item-image\" style=\"margin-bottom: 5px; position: relative; text-align: left;\">
  1277.                                         <div>
  1278.                                             <img class=\"product_image\" src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  1279.                                             {% if Product.is_original == '1' %}
  1280.                                             <span class=\"original\">オリジナル</span>
  1281.                                             {% endif %}
  1282.                                             {% if Product.is_freeze == \"1\" %}
  1283.                                             <span class=\"freeze\">冷凍</span>
  1284.                                             {% endif %}
  1285.                                         </div>
  1286.                                         <div class=\"product_info\">
  1287.                                             {# 商品名 #}
  1288.                                             <p class=\"product_info__name\">{{ Product.name }}</p>
  1289.                                             {# 商品説明_一覧 #}
  1290.                                             {% if Product.description_list %}
  1291.                                                 <p class=\"product_info__description\">{{ Product.description_list|raw|nl2br }}</p>
  1292.                                             {% endif %}
  1293.                                             {# gあたり単価 #}
  1294.                                             <div>
  1295.                                                 <span class=\"product_info__unitCost\">{{ Product.cost_per_unit }}</span>
  1296.                                                 {% if Product.cost_per_unit_gram %}
  1297.                                                 <span class=\"product_info__gramCost\">({{ Product.cost_per_unit_gram }})</span>
  1298.                                                 {% endif %}
  1299.                                             </div>
  1300.                                             {% if Product.getPrice01Max is not null %}
  1301.                                                 <span class=\"ec-productRole__priceRegularPrice\" style=\"font-size: 12px;\">通常価格:</span><span class=\"ec-productRole__priceRegularPrice\" style=\"font-size: 14px; text-decoration: line-through;\">{{ Product.getPrice01IncTaxMin|price }}(<span style=\"font-size: 14px;\">{{ Product.getStandardText }}</span>)</span>
  1302.                                                 <p style=\"font-size: 12px; margin: 2px 0px;\" class=\"price02-default\">
  1303.                                                     →{{ Product.getPrice02IncTaxMin|price }}(<span style=\"font-size: 14px;\">{{ Product.getStandardText }}</span>)
  1304.                                                 </p>
  1305.                                             {% else %}
  1306.                                             <p style=\"font-size: 12px; margin: 2px 0px;\" class=\"price02-default\">
  1307.                                                 {% if Product.getStandardText is not null %}
  1308.                                                     {{ Product.getPrice02IncTaxMin|price }}(<span style=\"font-size: 12px;\">{{ Product.getStandardText }}</span>)
  1309.                                                 {% else %}
  1310.                                                     {{ Product.getPrice02IncTaxMin|price }}
  1311.                                                 {% endif %}
  1312.                                             </p>
  1313.                                             {% endif %}
  1314.                                             {% if Product.stock_find %}
  1315.                                                 {% set form = forms[Product.id] %}
  1316.                                                 <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1317.                                                     <div class=\"ec-productRole__actions\">
  1318.                                                         <div class=\"ec-numberInput\" style=\"display: none;\"><span>{{ '数量'|trans }}</span>
  1319.                                                             {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1320.                                                             {{ form_errors(form.quantity) }}
  1321.                                                         </div>
  1322.                                                     </div>
  1323.                                                     {{ form_rest(form) }}
  1324.                                                 </form>
  1325.                                                 <div class=\"ec-productRole__btn\">
  1326.                                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\" style=\"height: 38px; font-weight: bold; line-height: 38px; font-size: 14px;\">
  1327.                                                         {{ 'カートに追加'|trans }}
  1328.                                                     </button>
  1329.                                                 </div>
  1330.                                             {% else %}
  1331.                                                 <div class=\"ec-productRole__btn\">
  1332.                                                     <button type=\"button\" class=\"ec-blockBtn--cancel\" disabled=\"disabled\" style=\"height: 35px; font-weight: 500; line-height: normal; font-size: 14px;\">
  1333.                                                         {{ '只今品切れ中です'|trans }}
  1334.                                                     </button>
  1335.                                                 </div>
  1336.                                             {% endif %}
  1337.                                         </div>
  1338.                                     </div>
  1339.                                 </a>
  1340.                             </li>
  1341.                             <hr class=\"product_hr\">
  1342.                         {% endfor %}
  1343.                     </ul>
  1344.                 </div>
  1345.                 <div class=\"ec-modal\">
  1346.                     <div class=\"ec-modal-overlay\">
  1347.                         <div class=\"ec-modal-wrap\">
  1348.                             <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1349.                             <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1350.                             {#<a href=\"https://liff.line.me/2006048095-AboZKM5Z/landing?follow=%40417jidxq&lp=sUu5Yu&liff_id=2006048095-AboZKM5Z\" id=\"line_link_list\">#}
  1351.                             {#    <div style=\"margin: auto; text-align: center; margin-top: 20px;\">#}
  1352.                             {#        <img src=\"{{ asset('assets/img/common/line_banner_float_3000.webp', 'user_data') }}\" alt=\"Line Banner\" style=\"margin: auto; width: 180px;\">#}
  1353.                             {#    </div>#}
  1354.                             {#</a>#}
  1355.                             <div class=\"ec-modal-box\">
  1356.                                 <div class=\"ec-role\">
  1357.                                     <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1358.                                     <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1359.                                 </div>
  1360.                             </div>
  1361.                         </div>
  1362.                     </div>
  1363.                 </div>
  1364.                 <div class=\"ec-pagerRole\">
  1365.                     {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  1366.                 </div>
  1367.             {% endif %}
  1368.         {% endif %}
  1369.     {% endblock %}""__string_template__7d553b6484c188d36805282a68be9e1d""");
  1370.     }
  1371.     
  1372.     public function checkSecurity()
  1373.     {
  1374.         static $tags = array("set" => 127"for" => 132"if" => 133"include" => 505);
  1375.         static $filters = array("escape" => 133"raw" => 133"trans" => 168"length" => 343"no_image_product" => 417"nl2br" => 430"price" => 441);
  1376.         static $functions = array("class_categories_as_json" => 133"url" => 223"form_widget" => 399"asset" => 417"form_errors" => 460"form_rest" => 463);
  1377.         try {
  1378.             $this->sandbox->checkSecurity(
  1379.                 ['set''for''if''include'],
  1380.                 ['escape''raw''trans''length''no_image_product''nl2br''price'],
  1381.                 ['class_categories_as_json''url''form_widget''asset''form_errors''form_rest']
  1382.             );
  1383.         } catch (SecurityError $e) {
  1384.             $e->setSourceContext($this->source);
  1385.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1386.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1387.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1388.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1389.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1390.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1391.             }
  1392.             throw $e;
  1393.         }
  1394.     }
  1395. }