var/cache/dev/twig/37/3771586fd3b2eb91922e090cefc04c301c10c1485d99bb78321c908cce7a5419.php line 52

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Product/detail.twig */
  14. class __TwigTemplate_5c77e3dbd6b8894b33ca426715a022c733c18f3fc463300967e1e580e5ae9aa0 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  39.         // line 13
  40.         $context["body_class"] = "product_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Product/detail.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script>
  59.         eccube.classCategories = ";
  60.         // line 17
  61.         echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'17$this->source); })()));
  62.         echo ";
  63.         // 規格2に選択肢を割り当てる。
  64.         function fnSetClassCategories(form, classcat_id2_selected) {
  65.             var \$form = \$(form);
  66.             var product_id = \$form.find('input[name=product_id]').val();
  67.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  68.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  69.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  70.         }
  71.         ";
  72.         // line 28
  73.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse28)) {
  74.             // line 29
  75.             echo "        fnSetClassCategories(
  76.             \$('#form1'), ";
  77.             // line 30
  78.             echo json_encode(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'30$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse30), "vars", [], "any"falsefalsefalse30), "value", [], "any"falsefalsefalse30));
  79.             echo "
  80.         );
  81.         ";
  82.         } elseif (twig_get_attribute($this->env$this->source,         // line 32
  83. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse32)) {
  84.             // line 33
  85.             echo "        eccube.checkStock(\$('#form1'), ";
  86.             echo twig_escape_filter($this->envtwig_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.'33$this->source); })()), "id", [], "any"falsefalsefalse33), "html"nulltrue);
  87.             echo ", ";
  88.             echo json_encode(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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.'33$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse33), "vars", [], "any"falsefalsefalse33), "value", [], "any"falsefalsefalse33));
  89.             echo ", null);
  90.         ";
  91.         }
  92.         // line 35
  93.         echo "    </script>
  94.     <script>
  95.         \$(function () {
  96.             \$('.slider-detail').slick({
  97.                 autoplay: true,
  98.                 centerMode: false,
  99.                 dots: false,
  100.                 arrows: false,
  101.                 slidesToShow: 1,
  102.             });
  103.         });
  104.     </script>
  105.     <script>
  106.         \$(function() {
  107.             \$('.add-cart').on('click', function(event) {
  108.                 ";
  109.         // line 50
  110.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse50)) {
  111.             // line 51
  112.             echo "                // 規格1フォームの必須チェック
  113.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  114.                     \$('#classcategory_id1')[0].setCustomValidity('";
  115.             // line 53
  116.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  117.             echo "');
  118.                     return true;
  119.                 } else {
  120.                     \$('#classcategory_id1')[0].setCustomValidity('');
  121.                 }
  122.                 ";
  123.         }
  124.         // line 59
  125.         echo "
  126.                 ";
  127.         // line 60
  128.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse60)) {
  129.             // line 61
  130.             echo "                // 規格2フォームの必須チェック
  131.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  132.                     \$('#classcategory_id2')[0].setCustomValidity('";
  133.             // line 63
  134.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  135.             echo "');
  136.                     return true;
  137.                 } else {
  138.                     \$('#classcategory_id2')[0].setCustomValidity('');
  139.                 }
  140.                 ";
  141.         }
  142.         // line 69
  143.         echo "
  144.                 // 個数フォームのチェック
  145.                 if (\$('#quantity').val() < 1) {
  146.                     \$('#quantity')[0].setCustomValidity('";
  147.         // line 72
  148.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  149.         echo "');
  150.                     return true;
  151.                 } else {
  152.                     \$('#quantity')[0].setCustomValidity('');
  153.                 }
  154.                 event.preventDefault();
  155.                 \$form = \$('#form1');
  156.                 \$.ajax({
  157.                     url: \$form.attr('action'),
  158.                     type: \$form.attr('method'),
  159.                     data: \$form.serialize(),
  160.                     dataType: 'json',
  161.                     beforeSend: function(xhr, settings) {
  162.                         // Buttonを無効にする
  163.                         \$('.add-cart').prop('disabled', true);
  164.                     }
  165.                 }).done(function(data) {
  166.                     // レスポンス内のメッセージをalertで表示
  167.                     \$.each(data.messages, function() {
  168.                         \$('#ec-modal-header').html(this);
  169.                     });
  170.                     \$('.ec-modal').show()
  171.                     // カートブロックを更新する
  172.                     \$.ajax({
  173.                         url: \"";
  174.         // line 99
  175.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  176.         echo "\",
  177.                         type: 'GET',
  178.                         dataType: 'html'
  179.                     }).done(function(html) {
  180.                         \$('.ec-headerRole__cart').html(html);
  181.                     });
  182.                 }).fail(function(data) {
  183.                     alert('";
  184.         // line 106
  185.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  186.         echo "');
  187.                 }).always(function(data) {
  188.                     // Buttonを有効にする
  189.                     \$('.add-cart').prop('disabled', false);
  190.                 });
  191.             });
  192.         });
  193.         \$('.ec-modal-wrap').on('click', function(e) {
  194.             // モーダル内の処理は外側にバブリングさせない
  195.             e.stopPropagation();
  196.         });
  197.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel, ._prev').on('click', function() {
  198.             \$('.ec-modal').hide()
  199.         });
  200.     </script>
  201.     <script type=\"application/ld+json\">
  202.     {
  203.         \"@context\": \"https://schema.org/\",
  204.         \"@type\": \"Product\",
  205.         \"name\": \"";
  206.         // line 126
  207.         echo twig_escape_filter($this->envtwig_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.'126$this->source); })()), "name", [], "any"falsefalsefalse126), "html"nulltrue);
  208.         echo "\",
  209.         \"image\": [
  210.             ";
  211.         // line 128
  212.         $context['_parent'] = $context;
  213.         $context['_seq'] = twig_ensure_traversable(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.'128$this->source); })()), "ProductImage", [], "any"falsefalsefalse128));
  214.         $context['_iterated'] = false;
  215.         $context['loop'] = [
  216.           'parent' => $context['_parent'],
  217.           'index0' => 0,
  218.           'index'  => 1,
  219.           'first'  => true,
  220.         ];
  221.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  222.             $length count($context['_seq']);
  223.             $context['loop']['revindex0'] = $length 1;
  224.             $context['loop']['revindex'] = $length;
  225.             $context['loop']['length'] = $length;
  226.             $context['loop']['last'] = === $length;
  227.         }
  228.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  229.             // line 129
  230.             echo "                \"";
  231.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'129$this->source); })()), "request", [], "any"falsefalsefalse129), "schemeAndHttpHost", [], "any"falsefalsefalse129), "html"nulltrue);
  232.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"], "save_image"), "html"nulltrue);
  233.             echo "\"";
  234.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse129)) {
  235.                 echo ",";
  236.             }
  237.             // line 130
  238.             echo "
  239.             ";
  240.             $context['_iterated'] = true;
  241.             ++$context['loop']['index0'];
  242.             ++$context['loop']['index'];
  243.             $context['loop']['first'] = false;
  244.             if (isset($context['loop']['length'])) {
  245.                 --$context['loop']['revindex0'];
  246.                 --$context['loop']['revindex'];
  247.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  248.             }
  249.         }
  250.         if (!$context['_iterated']) {
  251.             // line 132
  252.             echo "                \"";
  253.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'132$this->source); })()), "request", [], "any"falsefalsefalse132), "schemeAndHttpHost", [], "any"falsefalsefalse132), "html"nulltrue);
  254.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  255.             echo "\"
  256.             ";
  257.         }
  258.         $_parent $context['_parent'];
  259.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  260.         $context array_intersect_key($context$_parent) + $_parent;
  261.         // line 134
  262.         echo "        ],
  263.         \"description\": \"";
  264.         // line 135
  265.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_replace_filter(((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"truetruefalse135)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"falsefalsefalse135), 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.'135$this->source); })()), "description_detail", [], "any"falsefalsefalse135))) : (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.'135$this->source); })()), "description_detail", [], "any"falsefalsefalse135))), ["
  266. => """ " => ""]), 0300), "html"nulltrue);
  267.         echo "\",
  268.         ";
  269.         // line 136
  270.         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.'136$this->source); })()), "code_min", [], "any"falsefalsefalse136)) {
  271.             // line 137
  272.             echo "        \"sku\": \"";
  273.             echo twig_escape_filter($this->envtwig_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.'137$this->source); })()), "code_min", [], "any"falsefalsefalse137), "html"nulltrue);
  274.             echo "\",
  275.         ";
  276.         }
  277.         // line 139
  278.         echo "        \"offers\": {
  279.             \"@type\": \"Offer\",
  280.             \"url\": \"";
  281.         // line 141
  282.         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.'141$this->source); })()), "id", [], "any"falsefalsefalse141)]), "html"nulltrue);
  283.         echo "\",
  284.             \"priceCurrency\": \"";
  285.         // line 142
  286.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'142$this->source); })()), "currency", [], "any"falsefalsefalse142), "html"nulltrue);
  287.         echo "\",
  288.             \"price\": ";
  289.         // line 143
  290.         echo twig_escape_filter($this->envtwig_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.'143$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse143), "html"nulltrue);
  291.         echo ",
  292.             \"availability\": \"";
  293.         // line 144
  294.         echo ((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.'144$this->source); })()), "stock_find", [], "any"falsefalsefalse144)) ? ("InStock") : ("OutOfStock"));
  295.         echo "\"
  296.         }
  297.     }
  298.     </script>
  299. ";
  300.         
  301.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  302.         
  303.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  304.     }
  305.     // line 150
  306.     public function block_main($context, array $blocks = [])
  307.     {
  308.         $macros $this->macros;
  309.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  310.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  311.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  312.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  313.         // line 151
  314.         echo "    ";
  315.         // line 152
  316.         echo "    ";
  317.         // line 153
  318.         echo "    ";
  319.         // line 154
  320.         echo "    ";
  321.         // line 155
  322.         echo "    ";
  323.         // line 156
  324.         echo "    ";
  325.         // line 157
  326.         echo "    ";
  327.         // line 158
  328.         echo "    ";
  329.         // line 159
  330.         echo "    ";
  331.         // line 160
  332.         echo "    ";
  333.         // line 161
  334.         echo "    ";
  335.         // line 162
  336.         echo "    ";
  337.         // line 163
  338.         echo "    ";
  339.         // line 164
  340.         echo "    ";
  341.         // line 165
  342.         echo "    ";
  343.         // line 166
  344.         echo "    ";
  345.         // line 167
  346.         echo "    ";
  347.         // line 168
  348.         echo "    ";
  349.         // line 169
  350.         echo "    ";
  351.         // line 170
  352.         echo "    ";
  353.         // line 171
  354.         echo "    ";
  355.         // line 172
  356.         echo "    <div class=\"ec-productRole\">
  357.         ";
  358.         // line 174
  359.         echo "
  360.         <div class=\"ec-product__detail\">
  361.             <div class=\"ec-product__detail-img\">
  362.                 <div class=\"ec-sliderItemRole\">
  363.                     <div class=\"slider-detail\">
  364.                         ";
  365.         // line 179
  366.         $context['_parent'] = $context;
  367.         $context['_seq'] = twig_ensure_traversable(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); })()), "ProductImage", [], "any"falsefalsefalse179));
  368.         $context['_iterated'] = false;
  369.         $context['loop'] = [
  370.           'parent' => $context['_parent'],
  371.           'index0' => 0,
  372.           'index'  => 1,
  373.           'first'  => true,
  374.         ];
  375.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  376.             $length count($context['_seq']);
  377.             $context['loop']['revindex0'] = $length 1;
  378.             $context['loop']['revindex'] = $length;
  379.             $context['loop']['length'] = $length;
  380.             $context['loop']['last'] = === $length;
  381.         }
  382.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  383.             // line 180
  384.             echo "                            <div class=\"slide-item\"><img src=\"";
  385.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  386.             echo "\" alt=\"";
  387.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse180)) ? (print (twig_escape_filter($this->envtwig_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.'180$this->source); })()), "name", [], "any"falsefalsefalse180), "html"nulltrue))) : (print ("")));
  388.             echo "\"></div>
  389.                         ";
  390.             $context['_iterated'] = true;
  391.             ++$context['loop']['index0'];
  392.             ++$context['loop']['index'];
  393.             $context['loop']['first'] = false;
  394.             if (isset($context['loop']['length'])) {
  395.                 --$context['loop']['revindex0'];
  396.                 --$context['loop']['revindex'];
  397.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  398.             }
  399.         }
  400.         if (!$context['_iterated']) {
  401.             // line 182
  402.             echo "                            <div class=\"slide-item\"><img src=\"";
  403.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  404.             echo "\" alt=\"";
  405.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse182)) ? (print (twig_escape_filter($this->envtwig_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.'182$this->source); })()), "name", [], "any"falsefalsefalse182), "html"nulltrue))) : (print ("")));
  406.             echo "\" /></div>
  407.                         ";
  408.         }
  409.         $_parent $context['_parent'];
  410.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  411.         $context array_intersect_key($context$_parent) + $_parent;
  412.         // line 184
  413.         echo "                    </div>
  414.                     ";
  415.         // line 190
  416.         echo "                </div>
  417.             </div>
  418.             <div class=\"product__detail-content\">
  419.                 <div class=\"ec-productRole__profile\">
  420.                     ";
  421.         // line 195
  422.         echo "                    <div class=\"ec-productRole__title\">
  423.                         <h2 class=\"ec-headingTitle\">";
  424.         // line 196
  425.         echo twig_escape_filter($this->envtwig_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.'196$this->source); })()), "name", [], "any"falsefalsefalse196), "html"nulltrue);
  426.         echo "</h2>
  427.                     </div>
  428.                     ";
  429.         // line 199
  430.         echo "                     <div class=\"ec-productRole__description\">";
  431.         echo twig_nl2br(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.'199$this->source); })()), "description_detail", [], "any"falsefalsefalse199));
  432.         echo "
  433.                     </div>
  434.                     <dl class=\"ec-product__dl\">
  435.                         ";
  436.         // line 202
  437.         if ( !twig_test_empty(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); })()), "code_min", [], "any"falsefalsefalse202))) {
  438.             // line 203
  439.             echo "                            <div class=\"item\">
  440.                                 <dt>
  441.                                     商品コード
  442.                                 </dt>
  443.                                 <dd>
  444.                                         ";
  445.             // line 208
  446.             echo twig_escape_filter($this->envtwig_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.'208$this->source); })()), "code_min", [], "any"falsefalsefalse208), "html"nulltrue);
  447.             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.'208$this->source); })()), "code_min", [], "any"falsefalsefalse208) != 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.'208$this->source); })()), "code_max", [], "any"falsefalsefalse208))) {
  448.                 echo " ~ ";
  449.                 echo twig_escape_filter($this->envtwig_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.'208$this->source); })()), "code_max", [], "any"falsefalsefalse208), "html"nulltrue);
  450.             }
  451.             // line 209
  452.             echo "                                </dd>
  453.                             </div>
  454.                         ";
  455.         }
  456.         // line 212
  457.         echo "                        ";
  458.         if ( !twig_test_empty(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.'212$this->source); })()), "sub_title1", [], "any"falsefalsefalse212))) {
  459.             // line 213
  460.             echo "                        <div class=\"item\">
  461.                             <dt>
  462.                                 ";
  463.             // line 215
  464.             echo twig_escape_filter($this->envtwig_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.'215$this->source); })()), "sub_title1", [], "any"falsefalsefalse215), "html"nulltrue);
  465.             echo "
  466.                             </dt>
  467.                             <dd>
  468.                                 ";
  469.             // line 218
  470.             echo twig_escape_filter($this->envtwig_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.'218$this->source); })()), "sub_comment1", [], "any"falsefalsefalse218), "html"nulltrue);
  471.             echo "
  472.                             </dd>
  473.                         </div>
  474.                         ";
  475.         }
  476.         // line 222
  477.         echo "                        ";
  478.         if ( !twig_test_empty(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.'222$this->source); })()), "sub_title2", [], "any"falsefalsefalse222))) {
  479.             // line 223
  480.             echo "                        <div class=\"item\">
  481.                             <dt>
  482.                                 ";
  483.             // line 225
  484.             echo twig_escape_filter($this->envtwig_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); })()), "sub_title2", [], "any"falsefalsefalse225), "html"nulltrue);
  485.             echo "
  486.                             </dt>
  487.                             <dd>
  488.                                 ";
  489.             // line 228
  490.             echo twig_escape_filter($this->envtwig_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.'228$this->source); })()), "sub_comment2", [], "any"falsefalsefalse228), "html"nulltrue);
  491.             echo "
  492.                             </dd>
  493.                         </div>
  494.                         ";
  495.         }
  496.         // line 232
  497.         echo "                        ";
  498.         if ( !twig_test_empty(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.'232$this->source); })()), "sub_title3", [], "any"falsefalsefalse232))) {
  499.             // line 233
  500.             echo "                        <div class=\"item\">
  501.                             <dt>
  502.                                 ";
  503.             // line 235
  504.             echo twig_escape_filter($this->envtwig_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.'235$this->source); })()), "sub_title3", [], "any"falsefalsefalse235), "html"nulltrue);
  505.             echo "
  506.                             </dt>
  507.                             <dd>
  508.                                 ";
  509.             // line 238
  510.             echo twig_escape_filter($this->envtwig_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.'238$this->source); })()), "sub_comment3", [], "any"falsefalsefalse238), "html"nulltrue);
  511.             echo "
  512.                             </dd>
  513.                         </div>
  514.                         ";
  515.         }
  516.         // line 242
  517.         echo "                        ";
  518.         if ( !twig_test_empty(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.'242$this->source); })()), "sub_title4", [], "any"falsefalsefalse242))) {
  519.             // line 243
  520.             echo "                        <div class=\"item\">
  521.                             <dt>
  522.                                 ";
  523.             // line 245
  524.             echo twig_escape_filter($this->envtwig_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.'245$this->source); })()), "sub_title4", [], "any"falsefalsefalse245), "html"nulltrue);
  525.             echo "
  526.                             </dt>
  527.                             <dd>
  528.                                 ";
  529.             // line 248
  530.             echo twig_escape_filter($this->envtwig_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.'248$this->source); })()), "sub_comment4", [], "any"falsefalsefalse248), "html"nulltrue);
  531.             echo "
  532.                             </dd>
  533.                         </div>
  534.                         ";
  535.         }
  536.         // line 252
  537.         echo "                        ";
  538.         if ( !twig_test_empty(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.'252$this->source); })()), "sub_title5", [], "any"falsefalsefalse252))) {
  539.             // line 253
  540.             echo "                        <div class=\"item\">
  541.                             <dt>
  542.                                 ";
  543.             // line 255
  544.             echo twig_escape_filter($this->envtwig_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.'255$this->source); })()), "sub_title5", [], "any"falsefalsefalse255), "html"nulltrue);
  545.             echo "
  546.                             </dt>
  547.                             <dd>
  548.                                 ";
  549.             // line 258
  550.             echo twig_escape_filter($this->envtwig_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.'258$this->source); })()), "sub_comment5", [], "any"falsefalsefalse258), "html"nulltrue);
  551.             echo "
  552.                             </dd>
  553.                         </div>
  554.                         ";
  555.         }
  556.         // line 262
  557.         echo "                        ";
  558.         if ( !twig_test_empty(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.'262$this->source); })()), "author_name", [], "any"falsefalsefalse262))) {
  559.             // line 263
  560.             echo "                        <div class=\"item\">
  561.                             <dt>
  562.                                 著者
  563.                             </dt>
  564.                             <dd>
  565.                                 ";
  566.             // line 268
  567.             echo twig_escape_filter($this->envtwig_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); })()), "author_name", [], "any"falsefalsefalse268), "html"nulltrue);
  568.             echo "
  569.                             </dd>
  570.                         </div>
  571.                         ";
  572.         }
  573.         // line 272
  574.         echo "                        ";
  575.         if ( !twig_test_empty(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.'272$this->source); })()), "maker_name", [], "any"falsefalsefalse272))) {
  576.             // line 273
  577.             echo "                        <div class=\"item\">
  578.                             <dt>
  579.                                 出版社
  580.                             </dt>
  581.                             <dd>
  582.                                 ";
  583.             // line 278
  584.             echo twig_escape_filter($this->envtwig_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.'278$this->source); })()), "maker_name", [], "any"falsefalsefalse278), "html"nulltrue);
  585.             echo "
  586.                             </dd>
  587.                         </div>
  588.                         ";
  589.         }
  590.         // line 282
  591.         echo "                        <div class=\"item _price\">
  592.                             <dt>
  593.                                 販売価格(税込み)
  594.                             </dt>
  595.                             <dd>
  596.                                 ";
  597.         // line 287
  598.         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.'287$this->source); })()), "hasProductClass", [], "any"falsefalsefalse287)) {
  599.             // line 288
  600.             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.'288$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse288) == 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); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse288))) {
  601.                 // line 289
  602.                 echo "                                        ";
  603.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_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.'289$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse289)), "html"nulltrue);
  604.                 echo "円
  605.                                     ";
  606.             } else {
  607.                 // line 291
  608.                 echo "                                        ";
  609.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_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.'291$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse291)), "html"nulltrue);
  610.                 echo "円 ~ ";
  611.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_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.'291$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse291)), "html"nulltrue);
  612.                 echo "円
  613.                                     ";
  614.             }
  615.             // line 293
  616.             echo "                                ";
  617.         } else {
  618.             // line 294
  619.             echo "                                    ";
  620.             echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_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.'294$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse294)), "html"nulltrue);
  621.             echo "円
  622.                                 ";
  623.         }
  624.         // line 296
  625.         echo "                            </dd>
  626.                         </div>
  627.                         
  628.                     </dl>
  629.                     <form action=\"";
  630.         // line 300
  631.         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.'300$this->source); })()), "id", [], "any"falsefalsefalse300)]), "html"nulltrue);
  632.         echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  633.                         ";
  634.         // line 301
  635.         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.'301$this->source); })()), "stock_find", [], "any"falsefalsefalse301)) {
  636.             // line 302
  637.             echo "                            <div class=\"ec-productRole__actions\">
  638.                                 ";
  639.             // line 303
  640.             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse303)) {
  641.                 // line 304
  642.                 echo "                                    <div class=\"ec-select\">
  643.                                         ";
  644.                 // line 305
  645.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'305$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse305), 'widget');
  646.                 echo "
  647.                                         ";
  648.                 // line 306
  649.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'306$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse306), 'errors');
  650.                 echo "
  651.                                     </div>
  652.                                     ";
  653.                 // line 308
  654.                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse308)) {
  655.                     // line 309
  656.                     echo "                                        <div class=\"ec-select\">
  657.                                             ";
  658.                     // line 310
  659.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'310$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse310), 'widget');
  660.                     echo "
  661.                                             ";
  662.                     // line 311
  663.                     echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'311$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse311), 'errors');
  664.                     echo "
  665.                                         </div>
  666.                                     ";
  667.                 }
  668.                 // line 314
  669.                 echo "                                ";
  670.             }
  671.             // line 315
  672.             echo "                                <div class=\"ec-numberInput\"><span>";
  673.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  674.             echo "</span>
  675.                                     ";
  676.             // line 316
  677.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'316$this->source); })()), "quantity", [], "any"falsefalsefalse316), 'widget');
  678.             echo "
  679.                                     ";
  680.             // line 317
  681.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(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.'317$this->source); })()), "quantity", [], "any"falsefalsefalse317), 'errors');
  682.             echo "
  683.                                 </div>
  684.                             </div>
  685.                             <div class=\"ec-productRole__btn\">
  686.                                 <button type=\"submit\" class=\"btn-cart add-cart\">
  687.                                     ";
  688.             // line 322
  689.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  690.             echo "
  691.                                 </button>
  692.                             </div>
  693.                         ";
  694.         } else {
  695.             // line 326
  696.             echo "                            <div class=\"ec-productRole__btn\">
  697.                                 <button type=\"button\" class=\"btn-basic _disable\" disabled=\"disabled\">
  698.                                     ";
  699.             // line 328
  700.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  701.             echo "
  702.                                 </button>
  703.                             </div>
  704.                         ";
  705.         }
  706.         // line 332
  707.         echo "                        ";
  708.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'332$this->source); })()), 'rest');
  709.         echo "
  710.                     </form>
  711.                     
  712.                     
  713.                     
  714.                     ";
  715.         // line 338
  716.         echo "                    ";
  717.         // line 339
  718.         echo "                    ";
  719.         // line 340
  720.         echo "                    ";
  721.         // line 341
  722.         echo "                    ";
  723.         // line 342
  724.         echo "                    ";
  725.         // line 343
  726.         echo "                    ";
  727.         // line 344
  728.         echo "                    ";
  729.         // line 345
  730.         echo "                    ";
  731.         // line 346
  732.         echo "                    ";
  733.         // line 347
  734.         echo "                    ";
  735.         // line 348
  736.         echo "                    ";
  737.         // line 349
  738.         echo "                    ";
  739.         // line 350
  740.         echo "                    ";
  741.         // line 351
  742.         echo "                    ";
  743.         // line 352
  744.         echo "                    
  745.                     
  746.                     <div class=\"ec-modal\">
  747.                         <div class=\"ec-modal-overlay\">
  748.                             <div class=\"ec-modal-wrap\">
  749.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  750.         // line 357
  751.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  752.         echo "\" alt=\"\"/></span></span>
  753.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  754.         // line 358
  755.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  756.         echo "</div>
  757.                                 <div class=\"ec-modal-box\">
  758.                                     <div class=\"ec-role\">
  759.                                         <span class=\"btn-basic _sub _prev\">";
  760.         // line 361
  761.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  762.         echo "</span>
  763.                                         <a href=\"";
  764.         // line 362
  765.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  766.         echo "\" class=\"btn-cart\">";
  767.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  768.         echo "</a>
  769.                                     </div>
  770.                                 </div>
  771.                             </div>
  772.                         </div>
  773.                     </div>
  774.                 </div>
  775.             </div>
  776.         </div>
  777.         ";
  778.         // line 372
  779.         if (( !twig_test_empty(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); })()), "author_name", [], "any"falsefalsefalse372)) ||  !twig_test_empty(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); })()), "author_profile", [], "any"falsefalsefalse372)))) {
  780.             // line 373
  781.             echo "        <div class=\"ec-product__author\">
  782.             <h3 class=\"title-icon _author\">
  783.                 著者の紹介
  784.             </h3>
  785.             <div class=\"ec-product__author-content\">
  786.                 <h4 class=\"ec-product__author-name\">
  787.                 ";
  788.             // line 379
  789.             echo twig_escape_filter($this->envtwig_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.'379$this->source); })()), "author_name", [], "any"falsefalsefalse379), "html"nulltrue);
  790.             echo "
  791.                 </h4>
  792.                 <p class=\"ec-product__author-text\">
  793.                     ";
  794.             // line 382
  795.             echo twig_escape_filter($this->envtwig_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.'382$this->source); })()), "author_profile", [], "any"falsefalsefalse382), "html"nulltrue);
  796.             echo "
  797.                 </p>
  798.             </div>
  799.         </div>
  800.         ";
  801.         }
  802.         // line 387
  803.         echo "        
  804.         ";
  805.         // line 388
  806.         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.'388$this->source); })()), "freearea", [], "any"falsefalsefalse388)) {
  807.             // line 389
  808.             echo "             <div class=\"ec-productRole__description\">
  809.                  ";
  810.             // line 390
  811.             echo twig_include($this->env$contexttwig_template_from_string($this->envtwig_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.'390$this->source); })()), "freearea", [], "any"falsefalsefalse390)));
  812.             echo "
  813.             </div>
  814.         ";
  815.         }
  816.         // line 393
  817.         echo "    </div>
  818. ";
  819.         
  820.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  821.         
  822.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  823.     }
  824.     public function getTemplateName()
  825.     {
  826.         return "Product/detail.twig";
  827.     }
  828.     public function isTraitable()
  829.     {
  830.         return false;
  831.     }
  832.     public function getDebugInfo()
  833.     {
  834.         return array (  843 => 393,  837 => 390,  834 => 389,  832 => 388,  829 => 387,  821 => 382,  815 => 379,  807 => 373,  805 => 372,  790 => 362,  786 => 361,  780 => 358,  776 => 357,  769 => 352,  767 => 351,  765 => 350,  763 => 349,  761 => 348,  759 => 347,  757 => 346,  755 => 345,  753 => 344,  751 => 343,  749 => 342,  747 => 341,  745 => 340,  743 => 339,  741 => 338,  732 => 332,  725 => 328,  721 => 326,  714 => 322,  706 => 317,  702 => 316,  697 => 315,  694 => 314,  688 => 311,  684 => 310,  681 => 309,  679 => 308,  674 => 306,  670 => 305,  667 => 304,  665 => 303,  662 => 302,  660 => 301,  656 => 300,  650 => 296,  644 => 294,  641 => 293,  633 => 291,  627 => 289,  625 => 288,  623 => 287,  616 => 282,  609 => 278,  602 => 273,  599 => 272,  592 => 268,  585 => 263,  582 => 262,  575 => 258,  569 => 255,  565 => 253,  562 => 252,  555 => 248,  549 => 245,  545 => 243,  542 => 242,  535 => 238,  529 => 235,  525 => 233,  522 => 232,  515 => 228,  509 => 225,  505 => 223,  502 => 222,  495 => 218,  489 => 215,  485 => 213,  482 => 212,  477 => 209,  471 => 208,  464 => 203,  462 => 202,  455 => 199,  450 => 196,  447 => 195,  441 => 190,  438 => 184,  427 => 182,  409 => 180,  391 => 179,  384 => 174,  381 => 172,  379 => 171,  377 => 170,  375 => 169,  373 => 168,  371 => 167,  369 => 166,  367 => 165,  365 => 164,  363 => 163,  361 => 162,  359 => 161,  357 => 160,  355 => 159,  353 => 158,  351 => 157,  349 => 156,  347 => 155,  345 => 154,  343 => 153,  341 => 152,  339 => 151,  329 => 150,  314 => 144,  310 => 143,  306 => 142,  302 => 141,  298 => 139,  292 => 137,  290 => 136,  285 => 135,  282 => 134,  272 => 132,  258 => 130,  250 => 129,  232 => 128,  227 => 126,  204 => 106,  194 => 99,  164 => 72,  159 => 69,  150 => 63,  146 => 61,  144 => 60,  141 => 59,  132 => 53,  128 => 51,  126 => 50,  109 => 35,  101 => 33,  99 => 32,  94 => 30,  91 => 29,  89 => 28,  75 => 17,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  835.     }
  836.     public function getSourceContext()
  837.     {
  838.         return new Source("{#
  839. This file is part of EC-CUBE
  840. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  841. http://www.ec-cube.co.jp/
  842. For the full copyright and license information, please view the LICENSE
  843. file that was distributed with this source code.
  844. #}
  845. {% extends 'default_frame.twig' %}
  846. {% set body_class = 'product_page' %}
  847. {% block javascript %}
  848.     <script>
  849.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  850.         // 規格2に選択肢を割り当てる。
  851.         function fnSetClassCategories(form, classcat_id2_selected) {
  852.             var \$form = \$(form);
  853.             var product_id = \$form.find('input[name=product_id]').val();
  854.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  855.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  856.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  857.         }
  858.         {% if form.classcategory_id2 is defined %}
  859.         fnSetClassCategories(
  860.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  861.         );
  862.         {% elseif form.classcategory_id1 is defined %}
  863.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  864.         {% endif %}
  865.     </script>
  866.     <script>
  867.         \$(function () {
  868.             \$('.slider-detail').slick({
  869.                 autoplay: true,
  870.                 centerMode: false,
  871.                 dots: false,
  872.                 arrows: false,
  873.                 slidesToShow: 1,
  874.             });
  875.         });
  876.     </script>
  877.     <script>
  878.         \$(function() {
  879.             \$('.add-cart').on('click', function(event) {
  880.                 {% if form.classcategory_id1 is defined %}
  881.                 // 規格1フォームの必須チェック
  882.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  883.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  884.                     return true;
  885.                 } else {
  886.                     \$('#classcategory_id1')[0].setCustomValidity('');
  887.                 }
  888.                 {% endif %}
  889.                 {% if form.classcategory_id2 is defined %}
  890.                 // 規格2フォームの必須チェック
  891.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  892.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  893.                     return true;
  894.                 } else {
  895.                     \$('#classcategory_id2')[0].setCustomValidity('');
  896.                 }
  897.                 {% endif %}
  898.                 // 個数フォームのチェック
  899.                 if (\$('#quantity').val() < 1) {
  900.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  901.                     return true;
  902.                 } else {
  903.                     \$('#quantity')[0].setCustomValidity('');
  904.                 }
  905.                 event.preventDefault();
  906.                 \$form = \$('#form1');
  907.                 \$.ajax({
  908.                     url: \$form.attr('action'),
  909.                     type: \$form.attr('method'),
  910.                     data: \$form.serialize(),
  911.                     dataType: 'json',
  912.                     beforeSend: function(xhr, settings) {
  913.                         // Buttonを無効にする
  914.                         \$('.add-cart').prop('disabled', true);
  915.                     }
  916.                 }).done(function(data) {
  917.                     // レスポンス内のメッセージをalertで表示
  918.                     \$.each(data.messages, function() {
  919.                         \$('#ec-modal-header').html(this);
  920.                     });
  921.                     \$('.ec-modal').show()
  922.                     // カートブロックを更新する
  923.                     \$.ajax({
  924.                         url: \"{{ url('block_cart') }}\",
  925.                         type: 'GET',
  926.                         dataType: 'html'
  927.                     }).done(function(html) {
  928.                         \$('.ec-headerRole__cart').html(html);
  929.                     });
  930.                 }).fail(function(data) {
  931.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  932.                 }).always(function(data) {
  933.                     // Buttonを有効にする
  934.                     \$('.add-cart').prop('disabled', false);
  935.                 });
  936.             });
  937.         });
  938.         \$('.ec-modal-wrap').on('click', function(e) {
  939.             // モーダル内の処理は外側にバブリングさせない
  940.             e.stopPropagation();
  941.         });
  942.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel, ._prev').on('click', function() {
  943.             \$('.ec-modal').hide()
  944.         });
  945.     </script>
  946.     <script type=\"application/ld+json\">
  947.     {
  948.         \"@context\": \"https://schema.org/\",
  949.         \"@type\": \"Product\",
  950.         \"name\": \"{{ Product.name }}\",
  951.         \"image\": [
  952.             {% for img in Product.ProductImage %}
  953.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
  954.             {% else %}
  955.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
  956.             {% endfor %}
  957.         ],
  958.         \"description\": \"{{ Product.description_list | default(Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
  959.         {% if Product.code_min %}
  960.         \"sku\": \"{{ Product.code_min }}\",
  961.         {% endif %}
  962.         \"offers\": {
  963.             \"@type\": \"Offer\",
  964.             \"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
  965.             \"priceCurrency\": \"{{ eccube_config.currency }}\",
  966.             \"price\": {{ Product.getPrice02IncTaxMin }},
  967.             \"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
  968.         }
  969.     }
  970.     </script>
  971. {% endblock %}
  972. {% block main %}
  973.     {#<div class=\"container\">#}
  974.     {#    {% if Product.ProductCategories is not empty %}#}
  975.     {#        <div class=\"breadcrumb\">#}
  976.     {#            <li>#}
  977.     {#                <a href=\"{{ url('homepage') }}\">#}
  978.     {#                    ホーム#}
  979.     {#                </a>#}
  980.     {#            </li>#}
  981.     {#            {% for ProductCategory in Product.ProductCategories %}#}
  982.     {#                <li>#}
  983.     {#                    <a href=\"{{ url('product_list') }}?category_id={{ ProductCategory.Category.id }}\">{{ ProductCategory.Category.name }}</a>#}
  984.     {#                </li>#}
  985.     {#            {% endfor %}#}
  986.     {#            <li>#}
  987.     {#                <span>#}
  988.     {#                    {{ Product.name }}#}
  989.     {#                </span>#}
  990.     {#            </li>#}
  991.     {#        </div>#}
  992.     {#    {% endif %}#}
  993.     {#</div>#}
  994.     <div class=\"ec-productRole\">
  995.         {# パンくずリスト(関連カテゴリ) #}
  996.         <div class=\"ec-product__detail\">
  997.             <div class=\"ec-product__detail-img\">
  998.                 <div class=\"ec-sliderItemRole\">
  999.                     <div class=\"slider-detail\">
  1000.                         {% for ProductImage in Product.ProductImage %}
  1001.                             <div class=\"slide-item\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\"></div>
  1002.                         {% else %}
  1003.                             <div class=\"slide-item\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" /></div>
  1004.                         {% endfor %}
  1005.                     </div>
  1006.                     {# <div class=\"item_nav\">
  1007.                         {% for ProductImage in Product.ProductImage %}
  1008.                             <div class=\"slideThumb\" data-index=\"{{ loop.index0 }}\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"\"></div>
  1009.                         {% endfor %}
  1010.                     </div> #}
  1011.                 </div>
  1012.             </div>
  1013.             <div class=\"product__detail-content\">
  1014.                 <div class=\"ec-productRole__profile\">
  1015.                     {# 商品名 #}
  1016.                     <div class=\"ec-productRole__title\">
  1017.                         <h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
  1018.                     </div>
  1019.                     {# 商品説明 #}
  1020.                      <div class=\"ec-productRole__description\">{{ Product.description_detail|raw|nl2br }}
  1021.                     </div>
  1022.                     <dl class=\"ec-product__dl\">
  1023.                         {% if Product.code_min is not empty %}
  1024.                             <div class=\"item\">
  1025.                                 <dt>
  1026.                                     商品コード
  1027.                                 </dt>
  1028.                                 <dd>
  1029.                                         {{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}
  1030.                                 </dd>
  1031.                             </div>
  1032.                         {% endif %}
  1033.                         {% if Product.sub_title1 is not empty %}
  1034.                         <div class=\"item\">
  1035.                             <dt>
  1036.                                 {{ Product.sub_title1 }}
  1037.                             </dt>
  1038.                             <dd>
  1039.                                 {{ Product.sub_comment1 }}
  1040.                             </dd>
  1041.                         </div>
  1042.                         {% endif %}
  1043.                         {% if Product.sub_title2 is not empty %}
  1044.                         <div class=\"item\">
  1045.                             <dt>
  1046.                                 {{ Product.sub_title2 }}
  1047.                             </dt>
  1048.                             <dd>
  1049.                                 {{ Product.sub_comment2 }}
  1050.                             </dd>
  1051.                         </div>
  1052.                         {% endif %}
  1053.                         {% if Product.sub_title3 is not empty %}
  1054.                         <div class=\"item\">
  1055.                             <dt>
  1056.                                 {{ Product.sub_title3 }}
  1057.                             </dt>
  1058.                             <dd>
  1059.                                 {{ Product.sub_comment3 }}
  1060.                             </dd>
  1061.                         </div>
  1062.                         {% endif %}
  1063.                         {% if Product.sub_title4 is not empty %}
  1064.                         <div class=\"item\">
  1065.                             <dt>
  1066.                                 {{ Product.sub_title4 }}
  1067.                             </dt>
  1068.                             <dd>
  1069.                                 {{ Product.sub_comment4 }}
  1070.                             </dd>
  1071.                         </div>
  1072.                         {% endif %}
  1073.                         {% if Product.sub_title5 is not empty %}
  1074.                         <div class=\"item\">
  1075.                             <dt>
  1076.                                 {{ Product.sub_title5 }}
  1077.                             </dt>
  1078.                             <dd>
  1079.                                 {{ Product.sub_comment5 }}
  1080.                             </dd>
  1081.                         </div>
  1082.                         {% endif %}
  1083.                         {% if Product.author_name is not empty %}
  1084.                         <div class=\"item\">
  1085.                             <dt>
  1086.                                 著者
  1087.                             </dt>
  1088.                             <dd>
  1089.                                 {{ Product.author_name }}
  1090.                             </dd>
  1091.                         </div>
  1092.                         {% endif %}
  1093.                         {% if Product.maker_name is not empty %}
  1094.                         <div class=\"item\">
  1095.                             <dt>
  1096.                                 出版社
  1097.                             </dt>
  1098.                             <dd>
  1099.                                 {{ Product.maker_name }}
  1100.                             </dd>
  1101.                         </div>
  1102.                         {% endif %}
  1103.                         <div class=\"item _price\">
  1104.                             <dt>
  1105.                                 販売価格(税込み)
  1106.                             </dt>
  1107.                             <dd>
  1108.                                 {% if Product.hasProductClass -%}
  1109.                                     {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1110.                                         {{ Product.getPrice02IncTaxMin|number_format }}円
  1111.                                     {% else %}
  1112.                                         {{ Product.getPrice02IncTaxMin|number_format }}円 ~ {{ Product.getPrice02IncTaxMax|number_format }}円
  1113.                                     {% endif %}
  1114.                                 {% else %}
  1115.                                     {{ Product.getPrice02IncTaxMin|number_format }}円
  1116.                                 {% endif %}
  1117.                             </dd>
  1118.                         </div>
  1119.                         
  1120.                     </dl>
  1121.                     <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  1122.                         {% if Product.stock_find %}
  1123.                             <div class=\"ec-productRole__actions\">
  1124.                                 {% if form.classcategory_id1 is defined %}
  1125.                                     <div class=\"ec-select\">
  1126.                                         {{ form_widget(form.classcategory_id1) }}
  1127.                                         {{ form_errors(form.classcategory_id1) }}
  1128.                                     </div>
  1129.                                     {% if form.classcategory_id2 is defined %}
  1130.                                         <div class=\"ec-select\">
  1131.                                             {{ form_widget(form.classcategory_id2) }}
  1132.                                             {{ form_errors(form.classcategory_id2) }}
  1133.                                         </div>
  1134.                                     {% endif %}
  1135.                                 {% endif %}
  1136.                                 <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1137.                                     {{ form_widget(form.quantity) }}
  1138.                                     {{ form_errors(form.quantity) }}
  1139.                                 </div>
  1140.                             </div>
  1141.                             <div class=\"ec-productRole__btn\">
  1142.                                 <button type=\"submit\" class=\"btn-cart add-cart\">
  1143.                                     {{ 'カートに入れる'|trans }}
  1144.                                 </button>
  1145.                             </div>
  1146.                         {% else %}
  1147.                             <div class=\"ec-productRole__btn\">
  1148.                                 <button type=\"button\" class=\"btn-basic _disable\" disabled=\"disabled\">
  1149.                                     {{ 'ただいま品切れ中です。'|trans }}
  1150.                                 </button>
  1151.                             </div>
  1152.                         {% endif %}
  1153.                         {{ form_rest(form) }}
  1154.                     </form>
  1155.                     
  1156.                     
  1157.                     
  1158.                     {#{% if BaseInfo.option_favorite_product %}#}
  1159.                     {#    <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">#}
  1160.                     {#        <div class=\"ec-productRole__btn\">#}
  1161.                     {#            {% if is_favorite == false %}#}
  1162.                     {#                <button type=\"submit\" id=\"favorite\" class=\"btn-basic\">#}
  1163.                     {#                    {{ 'お気に入りに追加'|trans }}#}
  1164.                     {#                </button>#}
  1165.                     {#            {% else %}#}
  1166.                     {#                <button type=\"submit\" id=\"favorite\" class=\"btn-basic\"#}
  1167.                     {#                        disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}#}
  1168.                     {#                </button>#}
  1169.                     {#            {% endif %}#}
  1170.                     {#        </div>#}
  1171.                     {#    </form>#}
  1172.                     {#{% endif %}#}
  1173.                     
  1174.                     
  1175.                     <div class=\"ec-modal\">
  1176.                         <div class=\"ec-modal-overlay\">
  1177.                             <div class=\"ec-modal-wrap\">
  1178.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1179.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1180.                                 <div class=\"ec-modal-box\">
  1181.                                     <div class=\"ec-role\">
  1182.                                         <span class=\"btn-basic _sub _prev\">{{ 'お買い物を続ける'|trans }}</span>
  1183.                                         <a href=\"{{ url('cart') }}\" class=\"btn-cart\">{{ 'カートへ進む'|trans }}</a>
  1184.                                     </div>
  1185.                                 </div>
  1186.                             </div>
  1187.                         </div>
  1188.                     </div>
  1189.                 </div>
  1190.             </div>
  1191.         </div>
  1192.         {% if Product.author_name is not empty or Product.author_profile is not empty  %}
  1193.         <div class=\"ec-product__author\">
  1194.             <h3 class=\"title-icon _author\">
  1195.                 著者の紹介
  1196.             </h3>
  1197.             <div class=\"ec-product__author-content\">
  1198.                 <h4 class=\"ec-product__author-name\">
  1199.                 {{ Product.author_name }}
  1200.                 </h4>
  1201.                 <p class=\"ec-product__author-text\">
  1202.                     {{ Product.author_profile }}
  1203.                 </p>
  1204.             </div>
  1205.         </div>
  1206.         {% endif %}
  1207.         
  1208.         {% if Product.freearea %}
  1209.              <div class=\"ec-productRole__description\">
  1210.                  {{ include(template_from_string(Product.freearea)) }}
  1211.             </div>
  1212.         {% endif %}
  1213.     </div>
  1214. {% endblock %}""Product/detail.twig""/home/saicomp/stg-site.jp/public_html/cosmo-test3.stg-site.jp/app/template/default/Product/detail.twig");
  1215.     }
  1216. }