var/cache/dev/twig/55/55891c3225219bc40b922a11ad9397a0.php line 41

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. /* @tbsFeaturePage/default/feature_detail.twig */
  14. class __TwigTemplate_3314f404788a0b4c6280ebbcd92b7115 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this, 'block_javascript'],
  24.             'main' => [$this, 'block_main'],
  25.         ];
  26.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros = $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@tbsFeaturePage/default/feature_detail.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@tbsFeaturePage/default/feature_detail.twig"));
  41.         // line 3
  42.         $context["body_class"] = "Feature_detail_page product_page";
  43.         // line 1
  44.         $this->parent = $this->loadTemplate("default_frame.twig", "@tbsFeaturePage/default/feature_detail.twig", 1);
  45.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros = $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
  59.         // line 6
  60.         echo "<script>
  61.     eccube.productsClassCategories = {
  62.         ";
  63.         // line 8
  64.         $context['_parent'] = $context;
  65.         $context['_seq'] = twig_ensure_traversable((isset($context["Products"]) || array_key_exists("Products", $context) ? $context["Products"] : (function () { throw new RuntimeError('Variable "Products" does not exist.', 8, $this->source); })()));
  66.         $context['loop'] = [
  67.           'parent' => $context['_parent'],
  68.           'index0' => 0,
  69.           'index'  => 1,
  70.           'first'  => true,
  71.         ];
  72.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  73.             $length = count($context['_seq']);
  74.             $context['loop']['revindex0'] = $length - 1;
  75.             $context['loop']['revindex'] = $length;
  76.             $context['loop']['length'] = $length;
  77.             $context['loop']['last'] = 1 === $length;
  78.         }
  79.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  80.             // line 9
  81.             echo "        \"";
  82.             echo twig_escape_filter($this->env, twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, true, 9), 9, $this->source), "js"), "html", null, true);
  83.             echo "\": ";
  84.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($this->sandbox->ensureToStringAllowed($context["Product"], 9, $this->source));
  85.             if ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, true, 9) == false)) {
  86.                 echo ", ";
  87.             }
  88.             // line 10
  89.             echo "        ";
  90.             ++$context['loop']['index0'];
  91.             ++$context['loop']['index'];
  92.             $context['loop']['first'] = false;
  93.             if (isset($context['loop']['length'])) {
  94.                 --$context['loop']['revindex0'];
  95.                 --$context['loop']['revindex'];
  96.                 $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  97.             }
  98.         }
  99.         $_parent = $context['_parent'];
  100.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  101.         $context = array_intersect_key($context, $_parent) + $_parent;
  102.         // line 11
  103.         echo "    };
  104.     \$('.add-cart').click(function(e) {
  105.         var \$form = \$(this).parents('li').find('form');
  106.         // 個数フォームのチェック
  107.         var \$quantity = \$form.parent().find('.quantity');
  108.         if (\$quantity.val() < 1) {
  109.             \$quantity[0].setCustomValidity('";
  110.         // line 19
  111.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
  112.         echo "');
  113.             setTimeout(function() {
  114.                 loadingOverlay('hide');
  115.             }, 100);
  116.             return true;
  117.         } else {
  118.             \$quantity[0].setCustomValidity('');
  119.         }
  120.         e.preventDefault();
  121.         \$.ajax({
  122.             url: \$form.attr('action'),
  123.             type: \$form.attr('method'),
  124.             data: \$form.serialize(),
  125.             dataType: 'json',
  126.             beforeSend: function(xhr, settings) {
  127.                 // Buttonを無効にする
  128.                 \$('.add-cart').prop('disabled', true);
  129.             }
  130.         }).done(function(data) {
  131.             // レスポンス内のメッセージをalertで表示
  132.             \$.each(data.messages, function() {
  133.                 \$('#ec-modal-header').html(this);
  134.             });
  135.             \$('#ec-modal-checkbox').prop('checked', true);
  136.             // カートブロックを更新する
  137.             \$.ajax({
  138.                 url: '";
  139.         // line 47
  140.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  141.         echo "',
  142.                 type: 'GET',
  143.                 dataType: 'html'
  144.             }).done(function(html) {
  145.                 \$('.ec-headerRole__cart').html(html);
  146.             });
  147.         }).fail(function(data) {
  148.             alert('";
  149.         // line 54
  150.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html", null, true);
  151.         echo "');
  152.         }).always(function(data) {
  153.             // Buttonを有効にする
  154.             \$('.add-cart').prop('disabled', false);
  155.         });
  156.     });
  157. </script>
  158. ";
  159.         
  160.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  161.         
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  163.     }
  164.     // line 63
  165.     public function block_main($context, array $blocks = [])
  166.     {
  167.         $macros = $this->macros;
  168.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  170.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  172.         // line 64
  173.         echo "
  174.     <div>
  175.         <div class=\"col-md-12\">
  176. \t\t\t<div class=\"inner\">
  177. \t\t\t\t<div class=\"page_title\">
  178.                     <div class=\"ec-shelfRole\">
  179.     \t\t\t\t\t<h1>";
  180.         // line 70
  181.         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 70, $this->source); })()), "title", [], "any", false, false, true, 70), 70, $this->source), "html", null, true);
  182.         echo "</h1>
  183.                     </div>
  184. \t\t\t\t</div><!-- /.page_title -->
  185. \t\t\t\t<div class=\"cmn_box02\">
  186.                     <div class=\"ec-shelfRole\">
  187.                         ";
  188.         // line 76
  189.         echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 76, $this->source); })()), "main_content", [], "any", false, false, true, 76), 76, $this->source);
  190.         echo "
  191.                     </div>
  192.                 </div>
  193. \t\t\t\t<div class=\"cmn_box02\">
  194.                     <div class=\"ec-shelfRole\">
  195.                         ";
  196.         // line 82
  197.         echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 82, $this->source); })()), "content1", [], "any", false, false, true, 82), 82, $this->source);
  198.         echo "
  199.                     </div>
  200. \t\t\t\t</div><!-- /.cmn_box02 -->
  201.                 ";
  202.         // line 86
  203.         if ((twig_get_attribute($this->env, $this->source, ($context["FeatureProducts"] ?? null), 1, [], "array", true, true, true, 86) &&  !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 86, $this->source); })()), 1, [], "array", false, false, true, 86)))) {
  204.             // line 87
  205.             echo "                    <div class=\"cmn-itmBox\">
  206.                         <!-- ▼item_list▼ -->
  207.                         <div class=\"ec-shelfRole\">
  208.                             <ul class=\"ec-shelfGrid\">
  209.                                 ";
  210.             // line 92
  211.             $context['_parent'] = $context;
  212.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 92, $this->source); })()), 1, [], "array", false, false, true, 92));
  213.             foreach ($context['_seq'] as $context["_key"] => $context["FeatureProduct"]) {
  214.                 // line 93
  215.                 echo "                                    ";
  216.                 $context["Product"] = twig_get_attribute($this->env, $this->source, $context["FeatureProduct"], "Product", [], "any", false, false, true, 93);
  217.                 // line 94
  218.                 echo "                                    <li class=\"ec-shelfGrid__item\">
  219.                                         <a href=\"";
  220.                 // line 95
  221.                 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 95, $this->source); })()), "id", [], "any", false, false, true, 95)]), "html", null, true);
  222.                 echo "\">
  223.                                             <p class=\"ec-shelfGrid__item-image\">
  224.                                                 <img src=\"";
  225.                 // line 97
  226.                 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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 97, $this->source); })()), "main_list_image", [], "any", false, false, true, 97), 97, $this->source)), "save_image"), "html", null, true);
  227.                 echo "\">
  228.                                             </p>
  229.                                             <p class=\"ttl\">";
  230.                 // line 99
  231.                 echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 99, $this->source); })()), "name", [], "any", false, false, true, 99), 99, $this->source), "html", null, true);
  232.                 echo "</p>
  233.                                                 ";
  234.                 // line 100
  235.                 if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 100, $this->source); })()), "description_list", [], "any", false, false, true, 100)) {
  236.                     // line 101
  237.                     echo "                                                    <p class=\"subtext\">";
  238.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 101, $this->source); })()), "description_list", [], "any", false, false, true, 101), 101, $this->source));
  239.                     echo "</p>
  240.                                                 ";
  241.                 }
  242.                 // line 103
  243.                 echo "                                                    <p class=\"price02-default\">
  244.                                                 ";
  245.                 // line 104
  246.                 if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 104, $this->source); })()), "hasProductClass", [], "any", false, false, true, 104)) {
  247.                     // line 105
  248.                     echo "                                                    ";
  249.                     if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 105, $this->source); })()), "getPrice02Min", [], "any", false, false, true, 105) == twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 105, $this->source); })()), "getPrice02Max", [], "any", false, false, true, 105))) {
  250.                         // line 106
  251.                         echo "                                                        ";
  252.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 106, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 106), 106, $this->source)), "html", null, true);
  253.                         echo "
  254.                                                     ";
  255.                     } else {
  256.                         // line 108
  257.                         echo "                                                        ";
  258.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 108, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 108), 108, $this->source)), "html", null, true);
  259.                         echo " ~ ";
  260.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 108, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, true, 108), 108, $this->source)), "html", null, true);
  261.                         echo "
  262.                                                     ";
  263.                     }
  264.                     // line 110
  265.                     echo "                                                ";
  266.                 } else {
  267.                     // line 111
  268.                     echo "                                                    ";
  269.                     echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 111, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 111), 111, $this->source)), "html", null, true);
  270.                     echo "
  271.                                                 ";
  272.                 }
  273.                 // line 113
  274.                 echo "                                                <span>(税込)</span>
  275.                                             </p>
  276.                                         </a>
  277.                                         ";
  278.                 // line 116
  279.                 if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 116, $this->source); })()), "display_cart", [], "any", false, false, true, 116)) {
  280.                     // line 117
  281.                     echo "                                            ";
  282.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 117, $this->source); })()), "stock_find", [], "any", false, false, true, 117)) {
  283.                         // line 118
  284.                         echo "                                                ";
  285.                         $context["form"] = twig_get_attribute($this->env, $this->source, 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.', 118, $this->source); })()), 1, [], "array", false, false, true, 118), twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 118, $this->source); })()), "id", [], "any", false, false, true, 118), [], "array", false, false, true, 118);
  286.                         // line 119
  287.                         echo "                                                <form name=\"form";
  288.                         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 119, $this->source); })()), "id", [], "any", false, false, true, 119), 119, $this->source), "html", null, true);
  289.                         echo "\" id=\"productForm";
  290.                         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 119, $this->source); })()), "id", [], "any", false, false, true, 119), 119, $this->source), "html", null, true);
  291.                         echo "\" action=\"";
  292.                         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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 119, $this->source); })()), "id", [], "any", false, false, true, 119)]), "html", null, true);
  293.                         echo "\" method=\"post\">
  294.                                                     <div class=\"ec-productRole__actions\">
  295.                                                         ";
  296.                         // line 121
  297.                         if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, true, 121)) {
  298.                             // line 122
  299.                             echo "                                                            <div class=\"ec-select\">
  300.                                                                 ";
  301.                             // line 123
  302.                             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.', 123, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 123), 123, $this->source), 'widget');
  303.                             echo "
  304.                                                                 ";
  305.                             // line 124
  306.                             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.', 124, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 124), 124, $this->source), 'errors');
  307.                             echo "
  308.                                                             </div>
  309.                                                             ";
  310.                             // line 126
  311.                             if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, true, 126)) {
  312.                                 // line 127
  313.                                 echo "                                                                <div class=\"ec-select\">
  314.                                                                     ";
  315.                                 // line 128
  316.                                 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.', 128, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 128), 128, $this->source), 'widget');
  317.                                 echo "
  318.                                                                     ";
  319.                                 // line 129
  320.                                 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.', 129, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 129), 129, $this->source), 'errors');
  321.                                 echo "
  322.                                                                 </div>
  323.                                                             ";
  324.                             }
  325.                             // line 132
  326.                             echo "                                                        ";
  327.                         }
  328.                         // line 133
  329.                         echo "                                                        <div class=\"ec-numberInput\"><span>";
  330.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
  331.                         echo "</span>
  332.                                                             ";
  333.                         // line 134
  334.                         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.', 134, $this->source); })()), "quantity", [], "any", false, false, true, 134), 134, $this->source), 'widget', ["attr" => ["class" => "quantity"]]);
  335.                         echo "
  336.                                                             ";
  337.                         // line 135
  338.                         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.', 135, $this->source); })()), "quantity", [], "any", false, false, true, 135), 135, $this->source), 'errors');
  339.                         echo "
  340.                                                         </div>
  341.                                                     </div>
  342.                                                     ";
  343.                         // line 138
  344.                         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.', 138, $this->source); })()), 138, $this->source), 'rest');
  345.                         echo "
  346.                                                 </form>
  347.                                                 <div class=\"ec-productRole__btn\">
  348.                                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  349.                         // line 141
  350.                         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 141, $this->source); })()), "id", [], "any", false, false, true, 141), 141, $this->source), "html", null, true);
  351.                         echo "\" form=\"productForm";
  352.                         echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 141, $this->source); })()), "id", [], "any", false, false, true, 141), 141, $this->source), "html", null, true);
  353.                         echo "\">
  354.                                                         ";
  355.                         // line 142
  356.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
  357.                         echo "
  358.                                                     </button>
  359.                                                 </div>
  360.                                             ";
  361.                     } else {
  362.                         // line 146
  363.                         echo "                                                <div class=\"ec-productRole__btn\">
  364.                                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  365.                                                         ";
  366.                         // line 148
  367.                         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
  368.                         echo "
  369.                                                     </button>
  370.                                                 </div>
  371.                                             ";
  372.                     }
  373.                     // line 152
  374.                     echo "                                        ";
  375.                 }
  376.                 // line 153
  377.                 echo "                                    </li>
  378.                                 ";
  379.             }
  380.             $_parent = $context['_parent'];
  381.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FeatureProduct'], $context['_parent'], $context['loop']);
  382.             $context = array_intersect_key($context, $_parent) + $_parent;
  383.             // line 155
  384.             echo "                            </ul>
  385.                         </div>
  386.                         <!-- ▲item_list▲ -->
  387.                     </div><!-- /.cmn_box02 -->
  388.                 ";
  389.         }
  390.         // line 161
  391.         echo "
  392.                 ";
  393.         // line 162
  394.         if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 162, $this->source); })()), "content2", [], "any", false, false, true, 162)) {
  395.             // line 163
  396.             echo "                    <div class=\"cmn_box02\">
  397.                         <div class=\"ec-shelfRole\">
  398.                             ";
  399.             // line 165
  400.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 165, $this->source); })()), "content2", [], "any", false, false, true, 165), 165, $this->source);
  401.             echo "
  402.                         </div>
  403.                     </div><!-- /.cmn_box02 -->
  404.                     ";
  405.             // line 169
  406.             if ((twig_get_attribute($this->env, $this->source, ($context["FeatureProducts"] ?? null), 2, [], "array", true, true, true, 169) &&  !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 169, $this->source); })()), 2, [], "array", false, false, true, 169)))) {
  407.                 // line 170
  408.                 echo "                        <div class=\"cmn-itmBox\">
  409.                             <!-- ▼item_list▼ -->
  410.                             <div class=\"ec-shelfRole\">
  411.                                 <ul class=\"ec-shelfGrid\">
  412.                                     ";
  413.                 // line 175
  414.                 $context["formsPosition"] = 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.', 175, $this->source); })()), 2, [], "array", false, false, true, 175);
  415.                 // line 176
  416.                 echo "                                    ";
  417.                 $context['_parent'] = $context;
  418.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 176, $this->source); })()), 2, [], "array", false, false, true, 176));
  419.                 foreach ($context['_seq'] as $context["_key"] => $context["FeatureProduct"]) {
  420.                     // line 177
  421.                     echo "                                        ";
  422.                     $context["Product"] = twig_get_attribute($this->env, $this->source, $context["FeatureProduct"], "Product", [], "any", false, false, true, 177);
  423.                     // line 178
  424.                     echo "                                        <li class=\"ec-shelfGrid__item\">
  425.                                             <a href=\"";
  426.                     // line 179
  427.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 179, $this->source); })()), "id", [], "any", false, false, true, 179)]), "html", null, true);
  428.                     echo "\">
  429.                                                 <p class=\"ec-shelfGrid__item-image\">
  430.                                                     <img src=\"";
  431.                     // line 181
  432.                     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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 181, $this->source); })()), "main_list_image", [], "any", false, false, true, 181), 181, $this->source)), "save_image"), "html", null, true);
  433.                     echo "\">
  434.                                                 </p>
  435.                                                 <p class=\"ttl\">";
  436.                     // line 183
  437.                     echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 183, $this->source); })()), "name", [], "any", false, false, true, 183), 183, $this->source), "html", null, true);
  438.                     echo "</p>
  439.                                                     ";
  440.                     // line 184
  441.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 184, $this->source); })()), "description_list", [], "any", false, false, true, 184)) {
  442.                         // line 185
  443.                         echo "                                                        <p class=\"subtext\">";
  444.                         echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 185, $this->source); })()), "description_list", [], "any", false, false, true, 185), 185, $this->source));
  445.                         echo "</p>
  446.                                                     ";
  447.                     }
  448.                     // line 187
  449.                     echo "                                                        <p class=\"price02-default\">
  450.                                                     ";
  451.                     // line 188
  452.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 188, $this->source); })()), "hasProductClass", [], "any", false, false, true, 188)) {
  453.                         // line 189
  454.                         echo "                                                        ";
  455.                         if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 189, $this->source); })()), "getPrice02Min", [], "any", false, false, true, 189) == twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 189, $this->source); })()), "getPrice02Max", [], "any", false, false, true, 189))) {
  456.                             // line 190
  457.                             echo "                                                            ";
  458.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 190, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 190), 190, $this->source)), "html", null, true);
  459.                             echo "
  460.                                                         ";
  461.                         } else {
  462.                             // line 192
  463.                             echo "                                                            ";
  464.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 192, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 192), 192, $this->source)), "html", null, true);
  465.                             echo " ~ ";
  466.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 192, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, true, 192), 192, $this->source)), "html", null, true);
  467.                             echo "
  468.                                                         ";
  469.                         }
  470.                         // line 194
  471.                         echo "                                                    ";
  472.                     } else {
  473.                         // line 195
  474.                         echo "                                                        ";
  475.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 195, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 195), 195, $this->source)), "html", null, true);
  476.                         echo "
  477.                                                     ";
  478.                     }
  479.                     // line 197
  480.                     echo "                                                    <span>(税込)</span>
  481.                                                 </p>
  482.                                             </a>
  483.                                             ";
  484.                     // line 200
  485.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 200, $this->source); })()), "display_cart", [], "any", false, false, true, 200)) {
  486.                         // line 201
  487.                         echo "                                                ";
  488.                         if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 201, $this->source); })()), "stock_find", [], "any", false, false, true, 201)) {
  489.                             // line 202
  490.                             echo "                                                    ";
  491.                             $context["form"] = twig_get_attribute($this->env, $this->source, (isset($context["formsPosition"]) || array_key_exists("formsPosition", $context) ? $context["formsPosition"] : (function () { throw new RuntimeError('Variable "formsPosition" does not exist.', 202, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 202, $this->source); })()), "id", [], "any", false, false, true, 202), [], "array", false, false, true, 202);
  492.                             // line 203
  493.                             echo "                                                    <form name=\"form";
  494.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 203, $this->source); })()), "id", [], "any", false, false, true, 203), 203, $this->source), "html", null, true);
  495.                             echo "\" id=\"productForm";
  496.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 203, $this->source); })()), "id", [], "any", false, false, true, 203), 203, $this->source), "html", null, true);
  497.                             echo "\" action=\"";
  498.                             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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 203, $this->source); })()), "id", [], "any", false, false, true, 203)]), "html", null, true);
  499.                             echo "\" method=\"post\">
  500.                                                         <div class=\"ec-productRole__actions\">
  501.                                                             ";
  502.                             // line 205
  503.                             if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, true, 205)) {
  504.                                 // line 206
  505.                                 echo "                                                                <div class=\"ec-select\">
  506.                                                                     ";
  507.                                 // line 207
  508.                                 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.', 207, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 207), 207, $this->source), 'widget');
  509.                                 echo "
  510.                                                                     ";
  511.                                 // line 208
  512.                                 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.', 208, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 208), 208, $this->source), 'errors');
  513.                                 echo "
  514.                                                                 </div>
  515.                                                                 ";
  516.                                 // line 210
  517.                                 if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, true, 210)) {
  518.                                     // line 211
  519.                                     echo "                                                                    <div class=\"ec-select\">
  520.                                                                         ";
  521.                                     // line 212
  522.                                     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.', 212, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 212), 212, $this->source), 'widget');
  523.                                     echo "
  524.                                                                         ";
  525.                                     // line 213
  526.                                     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.', 213, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 213), 213, $this->source), 'errors');
  527.                                     echo "
  528.                                                                     </div>
  529.                                                                 ";
  530.                                 }
  531.                                 // line 216
  532.                                 echo "                                                            ";
  533.                             }
  534.                             // line 217
  535.                             echo "                                                            <div class=\"ec-numberInput\"><span>";
  536.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
  537.                             echo "</span>
  538.                                                                 ";
  539.                             // line 218
  540.                             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.', 218, $this->source); })()), "quantity", [], "any", false, false, true, 218), 218, $this->source), 'widget', ["attr" => ["class" => "quantity"]]);
  541.                             echo "
  542.                                                                 ";
  543.                             // line 219
  544.                             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.', 219, $this->source); })()), "quantity", [], "any", false, false, true, 219), 219, $this->source), 'errors');
  545.                             echo "
  546.                                                             </div>
  547.                                                         </div>
  548.                                                         ";
  549.                             // line 222
  550.                             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.', 222, $this->source); })()), 222, $this->source), 'rest');
  551.                             echo "
  552.                                                     </form>
  553.                                                     <div class=\"ec-productRole__btn\">
  554.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  555.                             // line 225
  556.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 225, $this->source); })()), "id", [], "any", false, false, true, 225), 225, $this->source), "html", null, true);
  557.                             echo "\" form=\"productForm";
  558.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 225, $this->source); })()), "id", [], "any", false, false, true, 225), 225, $this->source), "html", null, true);
  559.                             echo "\">
  560.                                                             ";
  561.                             // line 226
  562.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
  563.                             echo "
  564.                                                         </button>
  565.                                                     </div>
  566.                                                 ";
  567.                         } else {
  568.                             // line 230
  569.                             echo "                                                    <div class=\"ec-productRole__btn\">
  570.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  571.                                                             ";
  572.                             // line 232
  573.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
  574.                             echo "
  575.                                                         </button>
  576.                                                     </div>
  577.                                                 ";
  578.                         }
  579.                         // line 236
  580.                         echo "                                            ";
  581.                     }
  582.                     // line 237
  583.                     echo "                                        </li>
  584.                                     ";
  585.                 }
  586.                 $_parent = $context['_parent'];
  587.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FeatureProduct'], $context['_parent'], $context['loop']);
  588.                 $context = array_intersect_key($context, $_parent) + $_parent;
  589.                 // line 239
  590.                 echo "                                </ul>
  591.                             </div>
  592.                             <!-- ▲item_list▲ -->
  593.                         </div><!-- /.cmn_box02 -->
  594.                     ";
  595.             }
  596.             // line 245
  597.             echo "                ";
  598.         }
  599.         // line 246
  600.         echo "
  601.                 ";
  602.         // line 247
  603.         if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 247, $this->source); })()), "content3", [], "any", false, false, true, 247)) {
  604.             // line 248
  605.             echo "                    <div class=\"cmn_box02\">
  606.                         <div class=\"ec-shelfRole\">
  607.                             ";
  608.             // line 250
  609.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 250, $this->source); })()), "content3", [], "any", false, false, true, 250), 250, $this->source);
  610.             echo "
  611.                         </div>
  612.                     </div><!-- /.cmn_box02 -->
  613.                     ";
  614.             // line 254
  615.             if ((twig_get_attribute($this->env, $this->source, ($context["FeatureProducts"] ?? null), 3, [], "array", true, true, true, 254) &&  !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 254, $this->source); })()), 3, [], "array", false, false, true, 254)))) {
  616.                 // line 255
  617.                 echo "                        <div class=\"cmn-itmBox\">
  618.                             <!-- ▼item_list▼ -->
  619.                             <div class=\"ec-shelfRole\">
  620.                                 <ul class=\"ec-shelfGrid\">
  621.                                     ";
  622.                 // line 260
  623.                 $context["formsPosition"] = 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.', 260, $this->source); })()), 3, [], "array", false, false, true, 260);
  624.                 // line 261
  625.                 echo "                                    ";
  626.                 $context['_parent'] = $context;
  627.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 261, $this->source); })()), 3, [], "array", false, false, true, 261));
  628.                 foreach ($context['_seq'] as $context["_key"] => $context["FeatureProduct"]) {
  629.                     // line 262
  630.                     echo "                                        ";
  631.                     $context["Product"] = twig_get_attribute($this->env, $this->source, $context["FeatureProduct"], "Product", [], "any", false, false, true, 262);
  632.                     // line 263
  633.                     echo "                                        <li class=\"ec-shelfGrid__item\">
  634.                                             <a href=\"";
  635.                     // line 264
  636.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 264, $this->source); })()), "id", [], "any", false, false, true, 264)]), "html", null, true);
  637.                     echo "\">
  638.                                                 <p class=\"ec-shelfGrid__item-image\">
  639.                                                     <img src=\"";
  640.                     // line 266
  641.                     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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 266, $this->source); })()), "main_list_image", [], "any", false, false, true, 266), 266, $this->source)), "save_image"), "html", null, true);
  642.                     echo "\">
  643.                                                 </p>
  644.                                                 <p class=\"ttl\">";
  645.                     // line 268
  646.                     echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 268, $this->source); })()), "name", [], "any", false, false, true, 268), 268, $this->source), "html", null, true);
  647.                     echo "</p>
  648.                                                     ";
  649.                     // line 269
  650.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 269, $this->source); })()), "description_list", [], "any", false, false, true, 269)) {
  651.                         // line 270
  652.                         echo "                                                        <p class=\"subtext\">";
  653.                         echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 270, $this->source); })()), "description_list", [], "any", false, false, true, 270), 270, $this->source));
  654.                         echo "</p>
  655.                                                     ";
  656.                     }
  657.                     // line 272
  658.                     echo "                                                        <p class=\"price02-default\">
  659.                                                     ";
  660.                     // line 273
  661.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 273, $this->source); })()), "hasProductClass", [], "any", false, false, true, 273)) {
  662.                         // line 274
  663.                         echo "                                                        ";
  664.                         if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 274, $this->source); })()), "getPrice02Min", [], "any", false, false, true, 274) == twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 274, $this->source); })()), "getPrice02Max", [], "any", false, false, true, 274))) {
  665.                             // line 275
  666.                             echo "                                                            ";
  667.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 275, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 275), 275, $this->source)), "html", null, true);
  668.                             echo "
  669.                                                         ";
  670.                         } else {
  671.                             // line 277
  672.                             echo "                                                            ";
  673.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 277, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 277), 277, $this->source)), "html", null, true);
  674.                             echo " ~ ";
  675.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 277, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, true, 277), 277, $this->source)), "html", null, true);
  676.                             echo "
  677.                                                         ";
  678.                         }
  679.                         // line 279
  680.                         echo "                                                    ";
  681.                     } else {
  682.                         // line 280
  683.                         echo "                                                        ";
  684.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 280, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 280), 280, $this->source)), "html", null, true);
  685.                         echo "
  686.                                                     ";
  687.                     }
  688.                     // line 282
  689.                     echo "                                                    <span>(税込)</span>
  690.                                                 </p>
  691.                                             </a>
  692.                                             ";
  693.                     // line 285
  694.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 285, $this->source); })()), "display_cart", [], "any", false, false, true, 285)) {
  695.                         // line 286
  696.                         echo "                                                ";
  697.                         if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 286, $this->source); })()), "stock_find", [], "any", false, false, true, 286)) {
  698.                             // line 287
  699.                             echo "                                                    ";
  700.                             $context["form"] = twig_get_attribute($this->env, $this->source, (isset($context["formsPosition"]) || array_key_exists("formsPosition", $context) ? $context["formsPosition"] : (function () { throw new RuntimeError('Variable "formsPosition" does not exist.', 287, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 287, $this->source); })()), "id", [], "any", false, false, true, 287), [], "array", false, false, true, 287);
  701.                             // line 288
  702.                             echo "                                                    <form name=\"form";
  703.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 288, $this->source); })()), "id", [], "any", false, false, true, 288), 288, $this->source), "html", null, true);
  704.                             echo "\" id=\"productForm";
  705.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 288, $this->source); })()), "id", [], "any", false, false, true, 288), 288, $this->source), "html", null, true);
  706.                             echo "\" action=\"";
  707.                             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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 288, $this->source); })()), "id", [], "any", false, false, true, 288)]), "html", null, true);
  708.                             echo "\" method=\"post\">
  709.                                                         <div class=\"ec-productRole__actions\">
  710.                                                             ";
  711.                             // line 290
  712.                             if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, true, 290)) {
  713.                                 // line 291
  714.                                 echo "                                                                <div class=\"ec-select\">
  715.                                                                     ";
  716.                                 // line 292
  717.                                 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.', 292, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 292), 292, $this->source), 'widget');
  718.                                 echo "
  719.                                                                     ";
  720.                                 // line 293
  721.                                 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.', 293, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 293), 293, $this->source), 'errors');
  722.                                 echo "
  723.                                                                 </div>
  724.                                                                 ";
  725.                                 // line 295
  726.                                 if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, true, 295)) {
  727.                                     // line 296
  728.                                     echo "                                                                    <div class=\"ec-select\">
  729.                                                                         ";
  730.                                     // line 297
  731.                                     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.', 297, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 297), 297, $this->source), 'widget');
  732.                                     echo "
  733.                                                                         ";
  734.                                     // line 298
  735.                                     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.', 298, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 298), 298, $this->source), 'errors');
  736.                                     echo "
  737.                                                                     </div>
  738.                                                                 ";
  739.                                 }
  740.                                 // line 301
  741.                                 echo "                                                            ";
  742.                             }
  743.                             // line 302
  744.                             echo "                                                            <div class=\"ec-numberInput\"><span>";
  745.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
  746.                             echo "</span>
  747.                                                                 ";
  748.                             // line 303
  749.                             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.', 303, $this->source); })()), "quantity", [], "any", false, false, true, 303), 303, $this->source), 'widget', ["attr" => ["class" => "quantity"]]);
  750.                             echo "
  751.                                                                 ";
  752.                             // line 304
  753.                             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.', 304, $this->source); })()), "quantity", [], "any", false, false, true, 304), 304, $this->source), 'errors');
  754.                             echo "
  755.                                                             </div>
  756.                                                         </div>
  757.                                                         ";
  758.                             // line 307
  759.                             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.', 307, $this->source); })()), 307, $this->source), 'rest');
  760.                             echo "
  761.                                                     </form>
  762.                                                     <div class=\"ec-productRole__btn\">
  763.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  764.                             // line 310
  765.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 310, $this->source); })()), "id", [], "any", false, false, true, 310), 310, $this->source), "html", null, true);
  766.                             echo "\" form=\"productForm";
  767.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 310, $this->source); })()), "id", [], "any", false, false, true, 310), 310, $this->source), "html", null, true);
  768.                             echo "\">
  769.                                                             ";
  770.                             // line 311
  771.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
  772.                             echo "
  773.                                                         </button>
  774.                                                     </div>
  775.                                                 ";
  776.                         } else {
  777.                             // line 315
  778.                             echo "                                                    <div class=\"ec-productRole__btn\">
  779.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  780.                                                             ";
  781.                             // line 317
  782.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
  783.                             echo "
  784.                                                         </button>
  785.                                                     </div>
  786.                                                 ";
  787.                         }
  788.                         // line 321
  789.                         echo "                                            ";
  790.                     }
  791.                     // line 322
  792.                     echo "                                        </li>
  793.                                     ";
  794.                 }
  795.                 $_parent = $context['_parent'];
  796.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FeatureProduct'], $context['_parent'], $context['loop']);
  797.                 $context = array_intersect_key($context, $_parent) + $_parent;
  798.                 // line 324
  799.                 echo "                                </ul>
  800.                             </div>
  801.                             <!-- ▲item_list▲ -->
  802.                         </div><!-- /.cmn_box02 -->
  803.                     ";
  804.             }
  805.             // line 330
  806.             echo "                ";
  807.         }
  808.         // line 331
  809.         echo "
  810.                 ";
  811.         // line 332
  812.         if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 332, $this->source); })()), "content4", [], "any", false, false, true, 332)) {
  813.             // line 333
  814.             echo "                    <div class=\"cmn_box02\">
  815.                         <div class=\"ec-shelfRole\">
  816.                             ";
  817.             // line 335
  818.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 335, $this->source); })()), "content4", [], "any", false, false, true, 335), 335, $this->source);
  819.             echo "
  820.                         </div>
  821.                     </div><!-- /.cmn_box02 -->
  822.                     ";
  823.             // line 339
  824.             if ((twig_get_attribute($this->env, $this->source, ($context["FeatureProducts"] ?? null), 4, [], "array", true, true, true, 339) &&  !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 339, $this->source); })()), 4, [], "array", false, false, true, 339)))) {
  825.                 // line 340
  826.                 echo "                        <div class=\"cmn-itmBox\">
  827.                             <!-- ▼item_list▼ -->
  828.                             <div class=\"ec-shelfRole\">
  829.                                 <ul class=\"ec-shelfGrid\">
  830.                                     ";
  831.                 // line 345
  832.                 $context["formsPosition"] = 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.', 345, $this->source); })()), 4, [], "array", false, false, true, 345);
  833.                 // line 346
  834.                 echo "                                    ";
  835.                 $context['_parent'] = $context;
  836.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 346, $this->source); })()), 4, [], "array", false, false, true, 346));
  837.                 foreach ($context['_seq'] as $context["_key"] => $context["FeatureProduct"]) {
  838.                     // line 347
  839.                     echo "                                        ";
  840.                     $context["Product"] = twig_get_attribute($this->env, $this->source, $context["FeatureProduct"], "Product", [], "any", false, false, true, 347);
  841.                     // line 348
  842.                     echo "                                        <li class=\"ec-shelfGrid__item\">
  843.                                             <a href=\"";
  844.                     // line 349
  845.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 349, $this->source); })()), "id", [], "any", false, false, true, 349)]), "html", null, true);
  846.                     echo "\">
  847.                                                 <p class=\"ec-shelfGrid__item-image\">
  848.                                                     <img src=\"";
  849.                     // line 351
  850.                     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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 351, $this->source); })()), "main_list_image", [], "any", false, false, true, 351), 351, $this->source)), "save_image"), "html", null, true);
  851.                     echo "\">
  852.                                                 </p>
  853.                                                 <p class=\"ttl\">";
  854.                     // line 353
  855.                     echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 353, $this->source); })()), "name", [], "any", false, false, true, 353), 353, $this->source), "html", null, true);
  856.                     echo "</p>
  857.                                                     ";
  858.                     // line 354
  859.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 354, $this->source); })()), "description_list", [], "any", false, false, true, 354)) {
  860.                         // line 355
  861.                         echo "                                                        <p class=\"subtext\">";
  862.                         echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 355, $this->source); })()), "description_list", [], "any", false, false, true, 355), 355, $this->source));
  863.                         echo "</p>
  864.                                                     ";
  865.                     }
  866.                     // line 357
  867.                     echo "                                                        <p class=\"price02-default\">
  868.                                                     ";
  869.                     // line 358
  870.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 358, $this->source); })()), "hasProductClass", [], "any", false, false, true, 358)) {
  871.                         // line 359
  872.                         echo "                                                        ";
  873.                         if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 359, $this->source); })()), "getPrice02Min", [], "any", false, false, true, 359) == twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 359, $this->source); })()), "getPrice02Max", [], "any", false, false, true, 359))) {
  874.                             // line 360
  875.                             echo "                                                            ";
  876.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 360, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 360), 360, $this->source)), "html", null, true);
  877.                             echo "
  878.                                                         ";
  879.                         } else {
  880.                             // line 362
  881.                             echo "                                                            ";
  882.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 362, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 362), 362, $this->source)), "html", null, true);
  883.                             echo " ~ ";
  884.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 362, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, true, 362), 362, $this->source)), "html", null, true);
  885.                             echo "
  886.                                                         ";
  887.                         }
  888.                         // line 364
  889.                         echo "                                                    ";
  890.                     } else {
  891.                         // line 365
  892.                         echo "                                                        ";
  893.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 365, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 365), 365, $this->source)), "html", null, true);
  894.                         echo "
  895.                                                     ";
  896.                     }
  897.                     // line 367
  898.                     echo "                                                    <span>(税込)</span>
  899.                                                 </p>
  900.                                             </a>
  901.                                             ";
  902.                     // line 370
  903.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 370, $this->source); })()), "display_cart", [], "any", false, false, true, 370)) {
  904.                         // line 371
  905.                         echo "                                                ";
  906.                         if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 371, $this->source); })()), "stock_find", [], "any", false, false, true, 371)) {
  907.                             // line 372
  908.                             echo "                                                    ";
  909.                             $context["form"] = twig_get_attribute($this->env, $this->source, (isset($context["formsPosition"]) || array_key_exists("formsPosition", $context) ? $context["formsPosition"] : (function () { throw new RuntimeError('Variable "formsPosition" does not exist.', 372, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 372, $this->source); })()), "id", [], "any", false, false, true, 372), [], "array", false, false, true, 372);
  910.                             // line 373
  911.                             echo "                                                    <form name=\"form";
  912.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 373, $this->source); })()), "id", [], "any", false, false, true, 373), 373, $this->source), "html", null, true);
  913.                             echo "\" id=\"productForm";
  914.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 373, $this->source); })()), "id", [], "any", false, false, true, 373), 373, $this->source), "html", null, true);
  915.                             echo "\" action=\"";
  916.                             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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 373, $this->source); })()), "id", [], "any", false, false, true, 373)]), "html", null, true);
  917.                             echo "\" method=\"post\">
  918.                                                         <div class=\"ec-productRole__actions\">
  919.                                                             ";
  920.                             // line 375
  921.                             if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, true, 375)) {
  922.                                 // line 376
  923.                                 echo "                                                                <div class=\"ec-select\">
  924.                                                                     ";
  925.                                 // line 377
  926.                                 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.', 377, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 377), 377, $this->source), 'widget');
  927.                                 echo "
  928.                                                                     ";
  929.                                 // line 378
  930.                                 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.', 378, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 378), 378, $this->source), 'errors');
  931.                                 echo "
  932.                                                                 </div>
  933.                                                                 ";
  934.                                 // line 380
  935.                                 if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, true, 380)) {
  936.                                     // line 381
  937.                                     echo "                                                                    <div class=\"ec-select\">
  938.                                                                         ";
  939.                                     // line 382
  940.                                     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.', 382, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 382), 382, $this->source), 'widget');
  941.                                     echo "
  942.                                                                         ";
  943.                                     // line 383
  944.                                     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.', 383, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 383), 383, $this->source), 'errors');
  945.                                     echo "
  946.                                                                     </div>
  947.                                                                 ";
  948.                                 }
  949.                                 // line 386
  950.                                 echo "                                                            ";
  951.                             }
  952.                             // line 387
  953.                             echo "                                                            <div class=\"ec-numberInput\"><span>";
  954.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
  955.                             echo "</span>
  956.                                                                 ";
  957.                             // line 388
  958.                             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.', 388, $this->source); })()), "quantity", [], "any", false, false, true, 388), 388, $this->source), 'widget', ["attr" => ["class" => "quantity"]]);
  959.                             echo "
  960.                                                                 ";
  961.                             // line 389
  962.                             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.', 389, $this->source); })()), "quantity", [], "any", false, false, true, 389), 389, $this->source), 'errors');
  963.                             echo "
  964.                                                             </div>
  965.                                                         </div>
  966.                                                         ";
  967.                             // line 392
  968.                             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.', 392, $this->source); })()), 392, $this->source), 'rest');
  969.                             echo "
  970.                                                     </form>
  971.                                                     <div class=\"ec-productRole__btn\">
  972.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  973.                             // line 395
  974.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 395, $this->source); })()), "id", [], "any", false, false, true, 395), 395, $this->source), "html", null, true);
  975.                             echo "\" form=\"productForm";
  976.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 395, $this->source); })()), "id", [], "any", false, false, true, 395), 395, $this->source), "html", null, true);
  977.                             echo "\">
  978.                                                             ";
  979.                             // line 396
  980.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
  981.                             echo "
  982.                                                         </button>
  983.                                                     </div>
  984.                                                 ";
  985.                         } else {
  986.                             // line 400
  987.                             echo "                                                    <div class=\"ec-productRole__btn\">
  988.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  989.                                                             ";
  990.                             // line 402
  991.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
  992.                             echo "
  993.                                                         </button>
  994.                                                     </div>
  995.                                                 ";
  996.                         }
  997.                         // line 406
  998.                         echo "                                            ";
  999.                     }
  1000.                     // line 407
  1001.                     echo "                                        </li>
  1002.                                     ";
  1003.                 }
  1004.                 $_parent = $context['_parent'];
  1005.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FeatureProduct'], $context['_parent'], $context['loop']);
  1006.                 $context = array_intersect_key($context, $_parent) + $_parent;
  1007.                 // line 409
  1008.                 echo "                                </ul>
  1009.                             </div>
  1010.                             <!-- ▲item_list▲ -->
  1011.                         </div><!-- /.cmn_box02 -->
  1012.                     ";
  1013.             }
  1014.             // line 415
  1015.             echo "                ";
  1016.         }
  1017.         // line 416
  1018.         echo "
  1019.                 ";
  1020.         // line 417
  1021.         if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 417, $this->source); })()), "content5", [], "any", false, false, true, 417)) {
  1022.             // line 418
  1023.             echo "                    <div class=\"cmn_box02\">
  1024.                         <div class=\"ec-shelfRole\">
  1025.                             ";
  1026.             // line 420
  1027.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 420, $this->source); })()), "content5", [], "any", false, false, true, 420), 420, $this->source);
  1028.             echo "
  1029.                         </div>
  1030.                     </div><!-- /.cmn_box02 -->
  1031.                     ";
  1032.             // line 424
  1033.             if ((twig_get_attribute($this->env, $this->source, ($context["FeatureProducts"] ?? null), 5, [], "array", true, true, true, 424) &&  !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 424, $this->source); })()), 5, [], "array", false, false, true, 424)))) {
  1034.                 // line 425
  1035.                 echo "                        <div class=\"cmn-itmBox\">
  1036.                             <!-- ▼item_list▼ -->
  1037.                             <div class=\"ec-shelfRole\">
  1038.                                 <ul class=\"ec-shelfGrid\">
  1039.                                     ";
  1040.                 // line 430
  1041.                 $context["formsPosition"] = 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.', 430, $this->source); })()), 5, [], "array", false, false, true, 430);
  1042.                 // line 431
  1043.                 echo "                                    ";
  1044.                 $context['_parent'] = $context;
  1045.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["FeatureProducts"]) || array_key_exists("FeatureProducts", $context) ? $context["FeatureProducts"] : (function () { throw new RuntimeError('Variable "FeatureProducts" does not exist.', 431, $this->source); })()), 5, [], "array", false, false, true, 431));
  1046.                 foreach ($context['_seq'] as $context["_key"] => $context["FeatureProduct"]) {
  1047.                     // line 432
  1048.                     echo "                                        ";
  1049.                     $context["Product"] = twig_get_attribute($this->env, $this->source, $context["FeatureProduct"], "Product", [], "any", false, false, true, 432);
  1050.                     // line 433
  1051.                     echo "                                        <li class=\"ec-shelfGrid__item\">
  1052.                                             <a href=\"";
  1053.                     // line 434
  1054.                     echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 434, $this->source); })()), "id", [], "any", false, false, true, 434)]), "html", null, true);
  1055.                     echo "\">
  1056.                                                 <p class=\"ec-shelfGrid__item-image\">
  1057.                                                     <img src=\"";
  1058.                     // line 436
  1059.                     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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 436, $this->source); })()), "main_list_image", [], "any", false, false, true, 436), 436, $this->source)), "save_image"), "html", null, true);
  1060.                     echo "\">
  1061.                                                 </p>
  1062.                                                 <p class=\"ttl\">";
  1063.                     // line 438
  1064.                     echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 438, $this->source); })()), "name", [], "any", false, false, true, 438), 438, $this->source), "html", null, true);
  1065.                     echo "</p>
  1066.                                                     ";
  1067.                     // line 439
  1068.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 439, $this->source); })()), "description_list", [], "any", false, false, true, 439)) {
  1069.                         // line 440
  1070.                         echo "                                                        <p class=\"subtext\">";
  1071.                         echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 440, $this->source); })()), "description_list", [], "any", false, false, true, 440), 440, $this->source));
  1072.                         echo "</p>
  1073.                                                     ";
  1074.                     }
  1075.                     // line 442
  1076.                     echo "                                                        <p class=\"price02-default\">
  1077.                                                     ";
  1078.                     // line 443
  1079.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 443, $this->source); })()), "hasProductClass", [], "any", false, false, true, 443)) {
  1080.                         // line 444
  1081.                         echo "                                                        ";
  1082.                         if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 444, $this->source); })()), "getPrice02Min", [], "any", false, false, true, 444) == twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 444, $this->source); })()), "getPrice02Max", [], "any", false, false, true, 444))) {
  1083.                             // line 445
  1084.                             echo "                                                            ";
  1085.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 445, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 445), 445, $this->source)), "html", null, true);
  1086.                             echo "
  1087.                                                         ";
  1088.                         } else {
  1089.                             // line 447
  1090.                             echo "                                                            ";
  1091.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 447, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 447), 447, $this->source)), "html", null, true);
  1092.                             echo " ~ ";
  1093.                             echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 447, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, true, 447), 447, $this->source)), "html", null, true);
  1094.                             echo "
  1095.                                                         ";
  1096.                         }
  1097.                         // line 449
  1098.                         echo "                                                    ";
  1099.                     } else {
  1100.                         // line 450
  1101.                         echo "                                                        ";
  1102.                         echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 450, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, true, 450), 450, $this->source)), "html", null, true);
  1103.                         echo "
  1104.                                                     ";
  1105.                     }
  1106.                     // line 452
  1107.                     echo "                                                    <span>(税込)</span>
  1108.                                                 </p>
  1109.                                             </a>
  1110.                                             ";
  1111.                     // line 455
  1112.                     if (twig_get_attribute($this->env, $this->source, (isset($context["Feature"]) || array_key_exists("Feature", $context) ? $context["Feature"] : (function () { throw new RuntimeError('Variable "Feature" does not exist.', 455, $this->source); })()), "display_cart", [], "any", false, false, true, 455)) {
  1113.                         // line 456
  1114.                         echo "                                                ";
  1115.                         if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 456, $this->source); })()), "stock_find", [], "any", false, false, true, 456)) {
  1116.                             // line 457
  1117.                             echo "                                                    ";
  1118.                             $context["form"] = twig_get_attribute($this->env, $this->source, (isset($context["formsPosition"]) || array_key_exists("formsPosition", $context) ? $context["formsPosition"] : (function () { throw new RuntimeError('Variable "formsPosition" does not exist.', 457, $this->source); })()), twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 457, $this->source); })()), "id", [], "any", false, false, true, 457), [], "array", false, false, true, 457);
  1119.                             // line 458
  1120.                             echo "                                                    <form name=\"form";
  1121.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 458, $this->source); })()), "id", [], "any", false, false, true, 458), 458, $this->source), "html", null, true);
  1122.                             echo "\" id=\"productForm";
  1123.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 458, $this->source); })()), "id", [], "any", false, false, true, 458), 458, $this->source), "html", null, true);
  1124.                             echo "\" action=\"";
  1125.                             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, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 458, $this->source); })()), "id", [], "any", false, false, true, 458)]), "html", null, true);
  1126.                             echo "\" method=\"post\">
  1127.                                                         <div class=\"ec-productRole__actions\">
  1128.                                                             ";
  1129.                             // line 460
  1130.                             if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, true, 460)) {
  1131.                                 // line 461
  1132.                                 echo "                                                                <div class=\"ec-select\">
  1133.                                                                     ";
  1134.                                 // line 462
  1135.                                 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.', 462, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 462), 462, $this->source), 'widget');
  1136.                                 echo "
  1137.                                                                     ";
  1138.                                 // line 463
  1139.                                 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.', 463, $this->source); })()), "classcategory_id1", [], "any", false, false, true, 463), 463, $this->source), 'errors');
  1140.                                 echo "
  1141.                                                                 </div>
  1142.                                                                 ";
  1143.                                 // line 465
  1144.                                 if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, true, 465)) {
  1145.                                     // line 466
  1146.                                     echo "                                                                    <div class=\"ec-select\">
  1147.                                                                         ";
  1148.                                     // line 467
  1149.                                     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.', 467, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 467), 467, $this->source), 'widget');
  1150.                                     echo "
  1151.                                                                         ";
  1152.                                     // line 468
  1153.                                     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.', 468, $this->source); })()), "classcategory_id2", [], "any", false, false, true, 468), 468, $this->source), 'errors');
  1154.                                     echo "
  1155.                                                                     </div>
  1156.                                                                 ";
  1157.                                 }
  1158.                                 // line 471
  1159.                                 echo "                                                            ";
  1160.                             }
  1161.                             // line 472
  1162.                             echo "                                                            <div class=\"ec-numberInput\"><span>";
  1163.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
  1164.                             echo "</span>
  1165.                                                                 ";
  1166.                             // line 473
  1167.                             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.', 473, $this->source); })()), "quantity", [], "any", false, false, true, 473), 473, $this->source), 'widget', ["attr" => ["class" => "quantity"]]);
  1168.                             echo "
  1169.                                                                 ";
  1170.                             // line 474
  1171.                             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.', 474, $this->source); })()), "quantity", [], "any", false, false, true, 474), 474, $this->source), 'errors');
  1172.                             echo "
  1173.                                                             </div>
  1174.                                                         </div>
  1175.                                                         ";
  1176.                             // line 477
  1177.                             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.', 477, $this->source); })()), 477, $this->source), 'rest');
  1178.                             echo "
  1179.                                                     </form>
  1180.                                                     <div class=\"ec-productRole__btn\">
  1181.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
  1182.                             // line 480
  1183.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 480, $this->source); })()), "id", [], "any", false, false, true, 480), 480, $this->source), "html", null, true);
  1184.                             echo "\" form=\"productForm";
  1185.                             echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 480, $this->source); })()), "id", [], "any", false, false, true, 480), 480, $this->source), "html", null, true);
  1186.                             echo "\">
  1187.                                                             ";
  1188.                             // line 481
  1189.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
  1190.                             echo "
  1191.                                                         </button>
  1192.                                                     </div>
  1193.                                                 ";
  1194.                         } else {
  1195.                             // line 485
  1196.                             echo "                                                    <div class=\"ec-productRole__btn\">
  1197.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1198.                                                             ";
  1199.                             // line 487
  1200.                             echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
  1201.                             echo "
  1202.                                                         </button>
  1203.                                                     </div>
  1204.                                                 ";
  1205.                         }
  1206.                         // line 491
  1207.                         echo "                                            ";
  1208.                     }
  1209.                     // line 492
  1210.                     echo "                                        </li>
  1211.                                     ";
  1212.                 }
  1213.                 $_parent = $context['_parent'];
  1214.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FeatureProduct'], $context['_parent'], $context['loop']);
  1215.                 $context = array_intersect_key($context, $_parent) + $_parent;
  1216.                 // line 494
  1217.                 echo "                                </ul>
  1218.                             </div>
  1219.                             <!-- ▲item_list▲ -->
  1220.                         </div><!-- /.cmn_box02 -->
  1221.                     ";
  1222.             }
  1223.             // line 500
  1224.             echo "                ";
  1225.         }
  1226.         // line 501
  1227.         echo "
  1228. \t\t\t</div>
  1229.         </div>
  1230.     </div>
  1231.     <div class=\"ec-modal\">
  1232.         <input type=\"checkbox\" id=\"ec-modal-checkbox\" class=\"checkbox\">
  1233.         <div class=\"ec-modal-overlay\">
  1234.             <label for=\"ec-modal-checkbox\" class=\"ec-modal-overlay-close\"></label>
  1235.             <div class=\"ec-modal-wrap\">
  1236.                 <label for=\"ec-modal-checkbox\" class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  1237.         // line 511
  1238.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html", null, true);
  1239.         echo "\" alt=\"\"/></span></label>
  1240.                 <div id=\"ec-modal-header\" class=\"text-center\">";
  1241.         // line 512
  1242.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html", null, true);
  1243.         echo "</div>
  1244.                 <div class=\"ec-modal-box\">
  1245.                     <div class=\"ec-role\">
  1246.                         <label for=\"ec-modal-checkbox\" class=\"ec-inlineBtn--cancel\">";
  1247.         // line 515
  1248.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html", null, true);
  1249.         echo "</label>
  1250.                         <a href=\"";
  1251.         // line 516
  1252.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  1253.         echo "\" class=\"ec-inlineBtn--action\">";
  1254.         echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html", null, true);
  1255.         echo "</a>
  1256.                     </div>
  1257.                 </div>
  1258.             </div>
  1259.         </div>
  1260.     </div>
  1261. ";
  1262.         
  1263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1264.         
  1265.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1266.     }
  1267.     public function getTemplateName()
  1268.     {
  1269.         return "@tbsFeaturePage/default/feature_detail.twig";
  1270.     }
  1271.     public function isTraitable()
  1272.     {
  1273.         return false;
  1274.     }
  1275.     public function getDebugInfo()
  1276.     {
  1277.         return array (  1293 => 516,  1289 => 515,  1283 => 512,  1279 => 511,  1267 => 501,  1264 => 500,  1256 => 494,  1249 => 492,  1246 => 491,  1239 => 487,  1235 => 485,  1228 => 481,  1222 => 480,  1216 => 477,  1210 => 474,  1206 => 473,  1201 => 472,  1198 => 471,  1192 => 468,  1188 => 467,  1185 => 466,  1183 => 465,  1178 => 463,  1174 => 462,  1171 => 461,  1169 => 460,  1159 => 458,  1156 => 457,  1153 => 456,  1151 => 455,  1146 => 452,  1140 => 450,  1137 => 449,  1129 => 447,  1123 => 445,  1120 => 444,  1118 => 443,  1115 => 442,  1109 => 440,  1107 => 439,  1103 => 438,  1098 => 436,  1093 => 434,  1090 => 433,  1087 => 432,  1082 => 431,  1080 => 430,  1073 => 425,  1071 => 424,  1064 => 420,  1060 => 418,  1058 => 417,  1055 => 416,  1052 => 415,  1044 => 409,  1037 => 407,  1034 => 406,  1027 => 402,  1023 => 400,  1016 => 396,  1010 => 395,  1004 => 392,  998 => 389,  994 => 388,  989 => 387,  986 => 386,  980 => 383,  976 => 382,  973 => 381,  971 => 380,  966 => 378,  962 => 377,  959 => 376,  957 => 375,  947 => 373,  944 => 372,  941 => 371,  939 => 370,  934 => 367,  928 => 365,  925 => 364,  917 => 362,  911 => 360,  908 => 359,  906 => 358,  903 => 357,  897 => 355,  895 => 354,  891 => 353,  886 => 351,  881 => 349,  878 => 348,  875 => 347,  870 => 346,  868 => 345,  861 => 340,  859 => 339,  852 => 335,  848 => 333,  846 => 332,  843 => 331,  840 => 330,  832 => 324,  825 => 322,  822 => 321,  815 => 317,  811 => 315,  804 => 311,  798 => 310,  792 => 307,  786 => 304,  782 => 303,  777 => 302,  774 => 301,  768 => 298,  764 => 297,  761 => 296,  759 => 295,  754 => 293,  750 => 292,  747 => 291,  745 => 290,  735 => 288,  732 => 287,  729 => 286,  727 => 285,  722 => 282,  716 => 280,  713 => 279,  705 => 277,  699 => 275,  696 => 274,  694 => 273,  691 => 272,  685 => 270,  683 => 269,  679 => 268,  674 => 266,  669 => 264,  666 => 263,  663 => 262,  658 => 261,  656 => 260,  649 => 255,  647 => 254,  640 => 250,  636 => 248,  634 => 247,  631 => 246,  628 => 245,  620 => 239,  613 => 237,  610 => 236,  603 => 232,  599 => 230,  592 => 226,  586 => 225,  580 => 222,  574 => 219,  570 => 218,  565 => 217,  562 => 216,  556 => 213,  552 => 212,  549 => 211,  547 => 210,  542 => 208,  538 => 207,  535 => 206,  533 => 205,  523 => 203,  520 => 202,  517 => 201,  515 => 200,  510 => 197,  504 => 195,  501 => 194,  493 => 192,  487 => 190,  484 => 189,  482 => 188,  479 => 187,  473 => 185,  471 => 184,  467 => 183,  462 => 181,  457 => 179,  454 => 178,  451 => 177,  446 => 176,  444 => 175,  437 => 170,  435 => 169,  428 => 165,  424 => 163,  422 => 162,  419 => 161,  411 => 155,  404 => 153,  401 => 152,  394 => 148,  390 => 146,  383 => 142,  377 => 141,  371 => 138,  365 => 135,  361 => 134,  356 => 133,  353 => 132,  347 => 129,  343 => 128,  340 => 127,  338 => 126,  333 => 124,  329 => 123,  326 => 122,  324 => 121,  314 => 119,  311 => 118,  308 => 117,  306 => 116,  301 => 113,  295 => 111,  292 => 110,  284 => 108,  278 => 106,  275 => 105,  273 => 104,  270 => 103,  264 => 101,  262 => 100,  258 => 99,  253 => 97,  248 => 95,  245 => 94,  242 => 93,  238 => 92,  231 => 87,  229 => 86,  222 => 82,  213 => 76,  204 => 70,  196 => 64,  186 => 63,  168 => 54,  158 => 47,  127 => 19,  117 => 11,  103 => 10,  95 => 9,  78 => 8,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  1278.     }
  1279.     public function getSourceContext()
  1280.     {
  1281.         return new Source("{% extends 'default_frame.twig' %}
  1282. {% set body_class = 'Feature_detail_page product_page' %}
  1283. {% block javascript %}
  1284. <script>
  1285.     eccube.productsClassCategories = {
  1286.         {% for Product in Products %}
  1287.         \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  1288.         {% endfor %}
  1289.     };
  1290.     \$('.add-cart').click(function(e) {
  1291.         var \$form = \$(this).parents('li').find('form');
  1292.         // 個数フォームのチェック
  1293.         var \$quantity = \$form.parent().find('.quantity');
  1294.         if (\$quantity.val() < 1) {
  1295.             \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1296.             setTimeout(function() {
  1297.                 loadingOverlay('hide');
  1298.             }, 100);
  1299.             return true;
  1300.         } else {
  1301.             \$quantity[0].setCustomValidity('');
  1302.         }
  1303.         e.preventDefault();
  1304.         \$.ajax({
  1305.             url: \$form.attr('action'),
  1306.             type: \$form.attr('method'),
  1307.             data: \$form.serialize(),
  1308.             dataType: 'json',
  1309.             beforeSend: function(xhr, settings) {
  1310.                 // Buttonを無効にする
  1311.                 \$('.add-cart').prop('disabled', true);
  1312.             }
  1313.         }).done(function(data) {
  1314.             // レスポンス内のメッセージをalertで表示
  1315.             \$.each(data.messages, function() {
  1316.                 \$('#ec-modal-header').html(this);
  1317.             });
  1318.             \$('#ec-modal-checkbox').prop('checked', true);
  1319.             // カートブロックを更新する
  1320.             \$.ajax({
  1321.                 url: '{{ url('block_cart') }}',
  1322.                 type: 'GET',
  1323.                 dataType: 'html'
  1324.             }).done(function(html) {
  1325.                 \$('.ec-headerRole__cart').html(html);
  1326.             });
  1327.         }).fail(function(data) {
  1328.             alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1329.         }).always(function(data) {
  1330.             // Buttonを有効にする
  1331.             \$('.add-cart').prop('disabled', false);
  1332.         });
  1333.     });
  1334. </script>
  1335. {% endblock %}
  1336. {% block main %}
  1337.     <div>
  1338.         <div class=\"col-md-12\">
  1339. \t\t\t<div class=\"inner\">
  1340. \t\t\t\t<div class=\"page_title\">
  1341.                     <div class=\"ec-shelfRole\">
  1342.     \t\t\t\t\t<h1>{{ Feature.title }}</h1>
  1343.                     </div>
  1344. \t\t\t\t</div><!-- /.page_title -->
  1345. \t\t\t\t<div class=\"cmn_box02\">
  1346.                     <div class=\"ec-shelfRole\">
  1347.                         {{ Feature.main_content|raw }}
  1348.                     </div>
  1349.                 </div>
  1350. \t\t\t\t<div class=\"cmn_box02\">
  1351.                     <div class=\"ec-shelfRole\">
  1352.                         {{ Feature.content1|raw }}
  1353.                     </div>
  1354. \t\t\t\t</div><!-- /.cmn_box02 -->
  1355.                 {% if FeatureProducts[1] is defined and FeatureProducts[1] is not empty %}
  1356.                     <div class=\"cmn-itmBox\">
  1357.                         <!-- ▼item_list▼ -->
  1358.                         <div class=\"ec-shelfRole\">
  1359.                             <ul class=\"ec-shelfGrid\">
  1360.                                 {% for FeatureProduct in FeatureProducts[1] %}
  1361.                                     {% set Product = FeatureProduct.Product %}
  1362.                                     <li class=\"ec-shelfGrid__item\">
  1363.                                         <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1364.                                             <p class=\"ec-shelfGrid__item-image\">
  1365.                                                 <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\">
  1366.                                             </p>
  1367.                                             <p class=\"ttl\">{{ Product.name }}</p>
  1368.                                                 {% if Product.description_list %}
  1369.                                                     <p class=\"subtext\">{{ Product.description_list|raw|nl2br }}</p>
  1370.                                                 {% endif %}
  1371.                                                     <p class=\"price02-default\">
  1372.                                                 {% if Product.hasProductClass %}
  1373.                                                     {% if Product.getPrice02Min == Product.getPrice02Max %}
  1374.                                                         {{ Product.getPrice02IncTaxMin|price }}
  1375.                                                     {% else %}
  1376.                                                         {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1377.                                                     {% endif %}
  1378.                                                 {% else %}
  1379.                                                     {{ Product.getPrice02IncTaxMin|price }}
  1380.                                                 {% endif %}
  1381.                                                 <span>(税込)</span>
  1382.                                             </p>
  1383.                                         </a>
  1384.                                         {% if Feature.display_cart %}
  1385.                                             {% if Product.stock_find %}
  1386.                                                 {% set form = forms[1][Product.id] %}
  1387.                                                 <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1388.                                                     <div class=\"ec-productRole__actions\">
  1389.                                                         {% if form.classcategory_id1 is defined %}
  1390.                                                             <div class=\"ec-select\">
  1391.                                                                 {{ form_widget(form.classcategory_id1) }}
  1392.                                                                 {{ form_errors(form.classcategory_id1) }}
  1393.                                                             </div>
  1394.                                                             {% if form.classcategory_id2 is defined %}
  1395.                                                                 <div class=\"ec-select\">
  1396.                                                                     {{ form_widget(form.classcategory_id2) }}
  1397.                                                                     {{ form_errors(form.classcategory_id2) }}
  1398.                                                                 </div>
  1399.                                                             {% endif %}
  1400.                                                         {% endif %}
  1401.                                                         <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1402.                                                             {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1403.                                                             {{ form_errors(form.quantity) }}
  1404.                                                         </div>
  1405.                                                     </div>
  1406.                                                     {{ form_rest(form) }}
  1407.                                                 </form>
  1408.                                                 <div class=\"ec-productRole__btn\">
  1409.                                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1410.                                                         {{ 'カートに入れる'|trans }}
  1411.                                                     </button>
  1412.                                                 </div>
  1413.                                             {% else %}
  1414.                                                 <div class=\"ec-productRole__btn\">
  1415.                                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1416.                                                         {{ 'ただいま品切れ中です。'|trans }}
  1417.                                                     </button>
  1418.                                                 </div>
  1419.                                             {% endif %}
  1420.                                         {% endif %}
  1421.                                     </li>
  1422.                                 {% endfor %}
  1423.                             </ul>
  1424.                         </div>
  1425.                         <!-- ▲item_list▲ -->
  1426.                     </div><!-- /.cmn_box02 -->
  1427.                 {% endif %}
  1428.                 {% if Feature.content2 %}
  1429.                     <div class=\"cmn_box02\">
  1430.                         <div class=\"ec-shelfRole\">
  1431.                             {{ Feature.content2|raw }}
  1432.                         </div>
  1433.                     </div><!-- /.cmn_box02 -->
  1434.                     {% if FeatureProducts[2] is defined and FeatureProducts[2] is not empty %}
  1435.                         <div class=\"cmn-itmBox\">
  1436.                             <!-- ▼item_list▼ -->
  1437.                             <div class=\"ec-shelfRole\">
  1438.                                 <ul class=\"ec-shelfGrid\">
  1439.                                     {% set formsPosition = forms[2] %}
  1440.                                     {% for FeatureProduct in FeatureProducts[2] %}
  1441.                                         {% set Product = FeatureProduct.Product %}
  1442.                                         <li class=\"ec-shelfGrid__item\">
  1443.                                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1444.                                                 <p class=\"ec-shelfGrid__item-image\">
  1445.                                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\">
  1446.                                                 </p>
  1447.                                                 <p class=\"ttl\">{{ Product.name }}</p>
  1448.                                                     {% if Product.description_list %}
  1449.                                                         <p class=\"subtext\">{{ Product.description_list|raw|nl2br }}</p>
  1450.                                                     {% endif %}
  1451.                                                         <p class=\"price02-default\">
  1452.                                                     {% if Product.hasProductClass %}
  1453.                                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1454.                                                             {{ Product.getPrice02IncTaxMin|price }}
  1455.                                                         {% else %}
  1456.                                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1457.                                                         {% endif %}
  1458.                                                     {% else %}
  1459.                                                         {{ Product.getPrice02IncTaxMin|price }}
  1460.                                                     {% endif %}
  1461.                                                     <span>(税込)</span>
  1462.                                                 </p>
  1463.                                             </a>
  1464.                                             {% if Feature.display_cart %}
  1465.                                                 {% if Product.stock_find %}
  1466.                                                     {% set form = formsPosition[Product.id] %}
  1467.                                                     <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1468.                                                         <div class=\"ec-productRole__actions\">
  1469.                                                             {% if form.classcategory_id1 is defined %}
  1470.                                                                 <div class=\"ec-select\">
  1471.                                                                     {{ form_widget(form.classcategory_id1) }}
  1472.                                                                     {{ form_errors(form.classcategory_id1) }}
  1473.                                                                 </div>
  1474.                                                                 {% if form.classcategory_id2 is defined %}
  1475.                                                                     <div class=\"ec-select\">
  1476.                                                                         {{ form_widget(form.classcategory_id2) }}
  1477.                                                                         {{ form_errors(form.classcategory_id2) }}
  1478.                                                                     </div>
  1479.                                                                 {% endif %}
  1480.                                                             {% endif %}
  1481.                                                             <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1482.                                                                 {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1483.                                                                 {{ form_errors(form.quantity) }}
  1484.                                                             </div>
  1485.                                                         </div>
  1486.                                                         {{ form_rest(form) }}
  1487.                                                     </form>
  1488.                                                     <div class=\"ec-productRole__btn\">
  1489.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1490.                                                             {{ 'カートに入れる'|trans }}
  1491.                                                         </button>
  1492.                                                     </div>
  1493.                                                 {% else %}
  1494.                                                     <div class=\"ec-productRole__btn\">
  1495.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1496.                                                             {{ 'ただいま品切れ中です。'|trans }}
  1497.                                                         </button>
  1498.                                                     </div>
  1499.                                                 {% endif %}
  1500.                                             {% endif %}
  1501.                                         </li>
  1502.                                     {% endfor %}
  1503.                                 </ul>
  1504.                             </div>
  1505.                             <!-- ▲item_list▲ -->
  1506.                         </div><!-- /.cmn_box02 -->
  1507.                     {% endif %}
  1508.                 {% endif %}
  1509.                 {% if Feature.content3 %}
  1510.                     <div class=\"cmn_box02\">
  1511.                         <div class=\"ec-shelfRole\">
  1512.                             {{ Feature.content3|raw }}
  1513.                         </div>
  1514.                     </div><!-- /.cmn_box02 -->
  1515.                     {% if FeatureProducts[3] is defined and FeatureProducts[3] is not empty %}
  1516.                         <div class=\"cmn-itmBox\">
  1517.                             <!-- ▼item_list▼ -->
  1518.                             <div class=\"ec-shelfRole\">
  1519.                                 <ul class=\"ec-shelfGrid\">
  1520.                                     {% set formsPosition = forms[3] %}
  1521.                                     {% for FeatureProduct in FeatureProducts[3] %}
  1522.                                         {% set Product = FeatureProduct.Product %}
  1523.                                         <li class=\"ec-shelfGrid__item\">
  1524.                                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1525.                                                 <p class=\"ec-shelfGrid__item-image\">
  1526.                                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\">
  1527.                                                 </p>
  1528.                                                 <p class=\"ttl\">{{ Product.name }}</p>
  1529.                                                     {% if Product.description_list %}
  1530.                                                         <p class=\"subtext\">{{ Product.description_list|raw|nl2br }}</p>
  1531.                                                     {% endif %}
  1532.                                                         <p class=\"price02-default\">
  1533.                                                     {% if Product.hasProductClass %}
  1534.                                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1535.                                                             {{ Product.getPrice02IncTaxMin|price }}
  1536.                                                         {% else %}
  1537.                                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1538.                                                         {% endif %}
  1539.                                                     {% else %}
  1540.                                                         {{ Product.getPrice02IncTaxMin|price }}
  1541.                                                     {% endif %}
  1542.                                                     <span>(税込)</span>
  1543.                                                 </p>
  1544.                                             </a>
  1545.                                             {% if Feature.display_cart %}
  1546.                                                 {% if Product.stock_find %}
  1547.                                                     {% set form = formsPosition[Product.id] %}
  1548.                                                     <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1549.                                                         <div class=\"ec-productRole__actions\">
  1550.                                                             {% if form.classcategory_id1 is defined %}
  1551.                                                                 <div class=\"ec-select\">
  1552.                                                                     {{ form_widget(form.classcategory_id1) }}
  1553.                                                                     {{ form_errors(form.classcategory_id1) }}
  1554.                                                                 </div>
  1555.                                                                 {% if form.classcategory_id2 is defined %}
  1556.                                                                     <div class=\"ec-select\">
  1557.                                                                         {{ form_widget(form.classcategory_id2) }}
  1558.                                                                         {{ form_errors(form.classcategory_id2) }}
  1559.                                                                     </div>
  1560.                                                                 {% endif %}
  1561.                                                             {% endif %}
  1562.                                                             <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1563.                                                                 {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1564.                                                                 {{ form_errors(form.quantity) }}
  1565.                                                             </div>
  1566.                                                         </div>
  1567.                                                         {{ form_rest(form) }}
  1568.                                                     </form>
  1569.                                                     <div class=\"ec-productRole__btn\">
  1570.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1571.                                                             {{ 'カートに入れる'|trans }}
  1572.                                                         </button>
  1573.                                                     </div>
  1574.                                                 {% else %}
  1575.                                                     <div class=\"ec-productRole__btn\">
  1576.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1577.                                                             {{ 'ただいま品切れ中です。'|trans }}
  1578.                                                         </button>
  1579.                                                     </div>
  1580.                                                 {% endif %}
  1581.                                             {% endif %}
  1582.                                         </li>
  1583.                                     {% endfor %}
  1584.                                 </ul>
  1585.                             </div>
  1586.                             <!-- ▲item_list▲ -->
  1587.                         </div><!-- /.cmn_box02 -->
  1588.                     {% endif %}
  1589.                 {% endif %}
  1590.                 {% if Feature.content4 %}
  1591.                     <div class=\"cmn_box02\">
  1592.                         <div class=\"ec-shelfRole\">
  1593.                             {{ Feature.content4|raw }}
  1594.                         </div>
  1595.                     </div><!-- /.cmn_box02 -->
  1596.                     {% if FeatureProducts[4] is defined and FeatureProducts[4] is not empty %}
  1597.                         <div class=\"cmn-itmBox\">
  1598.                             <!-- ▼item_list▼ -->
  1599.                             <div class=\"ec-shelfRole\">
  1600.                                 <ul class=\"ec-shelfGrid\">
  1601.                                     {% set formsPosition = forms[4] %}
  1602.                                     {% for FeatureProduct in FeatureProducts[4] %}
  1603.                                         {% set Product = FeatureProduct.Product %}
  1604.                                         <li class=\"ec-shelfGrid__item\">
  1605.                                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1606.                                                 <p class=\"ec-shelfGrid__item-image\">
  1607.                                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\">
  1608.                                                 </p>
  1609.                                                 <p class=\"ttl\">{{ Product.name }}</p>
  1610.                                                     {% if Product.description_list %}
  1611.                                                         <p class=\"subtext\">{{ Product.description_list|raw|nl2br }}</p>
  1612.                                                     {% endif %}
  1613.                                                         <p class=\"price02-default\">
  1614.                                                     {% if Product.hasProductClass %}
  1615.                                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1616.                                                             {{ Product.getPrice02IncTaxMin|price }}
  1617.                                                         {% else %}
  1618.                                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1619.                                                         {% endif %}
  1620.                                                     {% else %}
  1621.                                                         {{ Product.getPrice02IncTaxMin|price }}
  1622.                                                     {% endif %}
  1623.                                                     <span>(税込)</span>
  1624.                                                 </p>
  1625.                                             </a>
  1626.                                             {% if Feature.display_cart %}
  1627.                                                 {% if Product.stock_find %}
  1628.                                                     {% set form = formsPosition[Product.id] %}
  1629.                                                     <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1630.                                                         <div class=\"ec-productRole__actions\">
  1631.                                                             {% if form.classcategory_id1 is defined %}
  1632.                                                                 <div class=\"ec-select\">
  1633.                                                                     {{ form_widget(form.classcategory_id1) }}
  1634.                                                                     {{ form_errors(form.classcategory_id1) }}
  1635.                                                                 </div>
  1636.                                                                 {% if form.classcategory_id2 is defined %}
  1637.                                                                     <div class=\"ec-select\">
  1638.                                                                         {{ form_widget(form.classcategory_id2) }}
  1639.                                                                         {{ form_errors(form.classcategory_id2) }}
  1640.                                                                     </div>
  1641.                                                                 {% endif %}
  1642.                                                             {% endif %}
  1643.                                                             <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1644.                                                                 {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1645.                                                                 {{ form_errors(form.quantity) }}
  1646.                                                             </div>
  1647.                                                         </div>
  1648.                                                         {{ form_rest(form) }}
  1649.                                                     </form>
  1650.                                                     <div class=\"ec-productRole__btn\">
  1651.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1652.                                                             {{ 'カートに入れる'|trans }}
  1653.                                                         </button>
  1654.                                                     </div>
  1655.                                                 {% else %}
  1656.                                                     <div class=\"ec-productRole__btn\">
  1657.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1658.                                                             {{ 'ただいま品切れ中です。'|trans }}
  1659.                                                         </button>
  1660.                                                     </div>
  1661.                                                 {% endif %}
  1662.                                             {% endif %}
  1663.                                         </li>
  1664.                                     {% endfor %}
  1665.                                 </ul>
  1666.                             </div>
  1667.                             <!-- ▲item_list▲ -->
  1668.                         </div><!-- /.cmn_box02 -->
  1669.                     {% endif %}
  1670.                 {% endif %}
  1671.                 {% if Feature.content5 %}
  1672.                     <div class=\"cmn_box02\">
  1673.                         <div class=\"ec-shelfRole\">
  1674.                             {{ Feature.content5|raw }}
  1675.                         </div>
  1676.                     </div><!-- /.cmn_box02 -->
  1677.                     {% if FeatureProducts[5] is defined and FeatureProducts[5] is not empty %}
  1678.                         <div class=\"cmn-itmBox\">
  1679.                             <!-- ▼item_list▼ -->
  1680.                             <div class=\"ec-shelfRole\">
  1681.                                 <ul class=\"ec-shelfGrid\">
  1682.                                     {% set formsPosition = forms[5] %}
  1683.                                     {% for FeatureProduct in FeatureProducts[5] %}
  1684.                                         {% set Product = FeatureProduct.Product %}
  1685.                                         <li class=\"ec-shelfGrid__item\">
  1686.                                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1687.                                                 <p class=\"ec-shelfGrid__item-image\">
  1688.                                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\">
  1689.                                                 </p>
  1690.                                                 <p class=\"ttl\">{{ Product.name }}</p>
  1691.                                                     {% if Product.description_list %}
  1692.                                                         <p class=\"subtext\">{{ Product.description_list|raw|nl2br }}</p>
  1693.                                                     {% endif %}
  1694.                                                         <p class=\"price02-default\">
  1695.                                                     {% if Product.hasProductClass %}
  1696.                                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  1697.                                                             {{ Product.getPrice02IncTaxMin|price }}
  1698.                                                         {% else %}
  1699.                                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1700.                                                         {% endif %}
  1701.                                                     {% else %}
  1702.                                                         {{ Product.getPrice02IncTaxMin|price }}
  1703.                                                     {% endif %}
  1704.                                                     <span>(税込)</span>
  1705.                                                 </p>
  1706.                                             </a>
  1707.                                             {% if Feature.display_cart %}
  1708.                                                 {% if Product.stock_find %}
  1709.                                                     {% set form = formsPosition[Product.id] %}
  1710.                                                     <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1711.                                                         <div class=\"ec-productRole__actions\">
  1712.                                                             {% if form.classcategory_id1 is defined %}
  1713.                                                                 <div class=\"ec-select\">
  1714.                                                                     {{ form_widget(form.classcategory_id1) }}
  1715.                                                                     {{ form_errors(form.classcategory_id1) }}
  1716.                                                                 </div>
  1717.                                                                 {% if form.classcategory_id2 is defined %}
  1718.                                                                     <div class=\"ec-select\">
  1719.                                                                         {{ form_widget(form.classcategory_id2) }}
  1720.                                                                         {{ form_errors(form.classcategory_id2) }}
  1721.                                                                     </div>
  1722.                                                                 {% endif %}
  1723.                                                             {% endif %}
  1724.                                                             <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1725.                                                                 {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  1726.                                                                 {{ form_errors(form.quantity) }}
  1727.                                                             </div>
  1728.                                                         </div>
  1729.                                                         {{ form_rest(form) }}
  1730.                                                     </form>
  1731.                                                     <div class=\"ec-productRole__btn\">
  1732.                                                         <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1733.                                                             {{ 'カートに入れる'|trans }}
  1734.                                                         </button>
  1735.                                                     </div>
  1736.                                                 {% else %}
  1737.                                                     <div class=\"ec-productRole__btn\">
  1738.                                                         <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1739.                                                             {{ 'ただいま品切れ中です。'|trans }}
  1740.                                                         </button>
  1741.                                                     </div>
  1742.                                                 {% endif %}
  1743.                                             {% endif %}
  1744.                                         </li>
  1745.                                     {% endfor %}
  1746.                                 </ul>
  1747.                             </div>
  1748.                             <!-- ▲item_list▲ -->
  1749.                         </div><!-- /.cmn_box02 -->
  1750.                     {% endif %}
  1751.                 {% endif %}
  1752. \t\t\t</div>
  1753.         </div>
  1754.     </div>
  1755.     <div class=\"ec-modal\">
  1756.         <input type=\"checkbox\" id=\"ec-modal-checkbox\" class=\"checkbox\">
  1757.         <div class=\"ec-modal-overlay\">
  1758.             <label for=\"ec-modal-checkbox\" class=\"ec-modal-overlay-close\"></label>
  1759.             <div class=\"ec-modal-wrap\">
  1760.                 <label for=\"ec-modal-checkbox\" class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></label>
  1761.                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1762.                 <div class=\"ec-modal-box\">
  1763.                     <div class=\"ec-role\">
  1764.                         <label for=\"ec-modal-checkbox\" class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</label>
  1765.                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1766.                     </div>
  1767.                 </div>
  1768.             </div>
  1769.         </div>
  1770.     </div>
  1771. {% endblock %}", "@tbsFeaturePage/default/feature_detail.twig", "/home/cajiya00/jklfdsa.com/public_html/shop-iizuka-nori.jklfdsa.com/app/template/plugin/tbsFeaturePage/default/feature_detail.twig");
  1772.     }
  1773.     
  1774.     public function checkSecurity()
  1775.     {
  1776.         static $tags = array("set" => 3, "for" => 8, "if" => 9);
  1777.         static $filters = array("escape" => 9, "raw" => 9, "trans" => 19, "no_image_product" => 97, "nl2br" => 101, "price" => 106);
  1778.         static $functions = array("class_categories_as_json" => 9, "url" => 47, "asset" => 97, "form_widget" => 123, "form_errors" => 124, "form_rest" => 138);
  1779.         try {
  1780.             $this->sandbox->checkSecurity(
  1781.                 ['set', 'for', 'if'],
  1782.                 ['escape', 'raw', 'trans', 'no_image_product', 'nl2br', 'price'],
  1783.                 ['class_categories_as_json', 'url', 'asset', 'form_widget', 'form_errors', 'form_rest']
  1784.             );
  1785.         } catch (SecurityError $e) {
  1786.             $e->setSourceContext($this->source);
  1787.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1788.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1789.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1790.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1791.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1792.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1793.             }
  1794.             throw $e;
  1795.         }
  1796.     }
  1797. }