var/cache/dev/twig/24/246d7578d887ab86f5642b5e9f1e285f.php line 398

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* __string_template__90b0d6266dd670430d31f13e0662cb1a */
  14. class __TwigTemplate_7953be5f12e2fa3ad067cff61f184180 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__90b0d6266dd670430d31f13e0662cb1a"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__90b0d6266dd670430d31f13e0662cb1a"));
  42.         // line 13
  43.         $context["body_class"] = "product_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__90b0d6266dd670430d31f13e0662cb1a"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62.         .slick-slider {
  63.             margin-bottom: 30px;
  64.         }
  65.         .slick-dots {
  66.             position: absolute;
  67.             bottom: -45px;
  68.             display: block;
  69.             width: 100%;
  70.             padding: 0;
  71.             list-style: none;
  72.             text-align: center;
  73.         }
  74.         .slick-dots li {
  75.             position: relative;
  76.             display: inline-block;
  77.             width: 20px;
  78.             height: 20px;
  79.             margin: 0 5px;
  80.             padding: 0;
  81.             cursor: pointer;
  82.         }
  83.         .slick-dots li button {
  84.             font-size: 0;
  85.             line-height: 0;
  86.             display: block;
  87.             width: 20px;
  88.             height: 20px;
  89.             padding: 5px;
  90.             cursor: pointer;
  91.             color: transparent;
  92.             border: 0;
  93.             outline: none;
  94.             background: transparent;
  95.         }
  96.         .slick-dots li button:hover,
  97.         .slick-dots li button:focus {
  98.             outline: none;
  99.         }
  100.         .slick-dots li button:hover:before,
  101.         .slick-dots li button:focus:before {
  102.             opacity: 1;
  103.         }
  104.         .slick-dots li button:before {
  105.             content: \" \";
  106.             line-height: 20px;
  107.             position: absolute;
  108.             top: 0;
  109.             left: 0;
  110.             width: 12px;
  111.             height: 12px;
  112.             text-align: center;
  113.             opacity: .25;
  114.             background-color: black;
  115.             border-radius: 50%;
  116.         }
  117.         .slick-dots li.slick-active button:before {
  118.             opacity: .75;
  119.             background-color: black;
  120.         }
  121.         .slick-dots li button.thumbnail img {
  122.             width: 0;
  123.             height: 0;
  124.         }
  125.         .item_visual .slide-item {
  126.             display: flex;
  127.             align-items: center;
  128.             align-content: center;
  129.             justify-content: center;
  130.             min-height: 100vw;
  131.             text-align: center;
  132.         }
  133.         .item_visual .slide-item img {
  134.             max-height: 100vw;
  135.             width: auto;
  136.             margin: auto;
  137.         }
  138.         .item_visual .slide-item span {
  139.             display: block;
  140.             padding-top: 100%;
  141.             position: relative;
  142.             width: 100%;
  143.         }
  144.         .item_visual .slide-item span img {
  145.             position: absolute;
  146.             top: 50%;
  147.             left: 50%;
  148.             transform: translate(-50%,-50%);
  149.         }
  150.         @media only screen and (min-width: 768px) {
  151.             .item_visual .slide-item {
  152.                 min-height: 0;
  153.             }
  154.             .item_visual .slide-item img {
  155.                 max-height: 100%;
  156.             }
  157.         }
  158.     </style>
  159. ";
  160.         
  161.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  162.         
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  164.     }
  165.     // line 127
  166.     public function block_javascript($context, array $blocks = [])
  167.     {
  168.         $macros $this->macros;
  169.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  171.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  173.         // line 128
  174.         echo "    <script>
  175.         eccube.classCategories = ";
  176.         // line 129
  177.         echo $this->extensions['Customize\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($this->sandbox->ensureToStringAllowed((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'129$this->source); })()), 129$this->source));
  178.         echo ";
  179.         eccube.productStockInfo = {};
  180.         eccube.productStockInfo.stockMax = ";
  181.         // line 131
  182.         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.'131$this->source); })()), "StockMax", [], "any"falsefalsetrue131), 131$this->source), "html"nulltrue);
  183.         echo ";
  184.         eccube.productStockInfo.stockUnlimitedMax = ";
  185.         // line 132
  186.         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.'132$this->source); })()), "getStockUnlimitedMax", [], "method"falsefalsetrue132)) {
  187.             echo "1";
  188.         } else {
  189.             echo "0";
  190.         }
  191.         echo ";
  192.         // 規格2に選択肢を割り当てる。
  193.         function fnSetClassCategories(form, classcat_id2_selected) {
  194.             var \$form = \$(form);
  195.             var product_id = \$form.find('input[name=product_id]').val();
  196.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  197.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  198.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  199.         }
  200.         ";
  201.         // line 143
  202.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue143)) {
  203.             // line 144
  204.             echo "        fnSetClassCategories(
  205.             \$('#form1'), ";
  206.             // line 145
  207.             echo json_encode($this->sandbox->ensureToStringAllowed(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.'145$this->source); })()), "classcategory_id2", [], "any"falsefalsetrue145), "vars", [], "any"falsefalsetrue145), "value", [], "any"falsefalsetrue145), 145$this->source));
  208.             echo "
  209.         );
  210.         ";
  211.         } elseif (twig_get_attribute($this->env$this->source,         // line 147
  212. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue147)) {
  213.             // line 148
  214.             echo "        eccube.checkStock(\$('#form1'), ";
  215.             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.'148$this->source); })()), "id", [], "any"falsefalsetrue148), 148$this->source), "html"nulltrue);
  216.             echo ", ";
  217.             echo json_encode($this->sandbox->ensureToStringAllowed(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.'148$this->source); })()), "classcategory_id1", [], "any"falsefalsetrue148), "vars", [], "any"falsefalsetrue148), "value", [], "any"falsefalsetrue148), 148$this->source));
  218.             echo ", null);
  219.         ";
  220.         }
  221.         // line 150
  222.         echo "    </script>
  223.     <script>
  224.         \$(function() {
  225.             // bfcache無効化
  226.             \$(window).bind('pageshow', function(event) {
  227.                 if (event.originalEvent.persisted) {
  228.                     location.reload(true);
  229.                 }
  230.             });
  231.             \$('.item_visual').slick({
  232.                 dots: false,
  233.                 arrows: true,
  234.                 asNavFor: '.item_nav',
  235.                 responsive: [{
  236.                     breakpoint: 768,
  237.                     settings: {
  238.                         dots: false
  239.                     }
  240.                 }]
  241.             });
  242.             \$('.item_nav').slick({
  243. \t\t\t\tasNavFor: '.item_visual',
  244. \t\t\t\tarrows: false,
  245. \t\t\t\tfocusOnSelect: true,
  246. \t\t\t\tslidesToShow: 5,
  247. \t\t\t\tslidesToScroll: 1,
  248. \t\t\t\tcenterMode: false,
  249. \t\t\t\tcenterPadding: '0px'
  250. \t\t\t});
  251.             /*
  252.             \$('.slideThumb').on('click', function() {
  253.                 var index = \$(this).attr('data-index');
  254.                 \$('.item_visual').slick('slickGoTo', index, false);
  255.             })
  256.             */
  257.         });
  258.     </script>
  259.     <script>
  260.         \$(function() {
  261.             \$('.add-cart').on('click', function(event) {
  262.                 ";
  263.         // line 191
  264.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruetrue191)) {
  265.             // line 192
  266.             echo "                // 規格1フォームの必須チェック
  267.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  268.                     \$('#classcategory_id1')[0].setCustomValidity('";
  269.             // line 194
  270.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  271.             echo "');
  272.                     return true;
  273.                 } else {
  274.                     \$('#classcategory_id1')[0].setCustomValidity('');
  275.                 }
  276.                 ";
  277.         }
  278.         // line 200
  279.         echo "
  280.                 ";
  281.         // line 201
  282.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruetrue201)) {
  283.             // line 202
  284.             echo "                // 規格2フォームの必須チェック
  285.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  286.                     \$('#classcategory_id2')[0].setCustomValidity('";
  287.             // line 204
  288.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  289.             echo "');
  290.                     return true;
  291.                 } else {
  292.                     \$('#classcategory_id2')[0].setCustomValidity('');
  293.                 }
  294.                 ";
  295.         }
  296.         // line 210
  297.         echo "
  298.                 // 個数フォームのチェック
  299.                 if (\$('#quantity').val() < 1) {
  300.                     \$('#quantity')[0].setCustomValidity('";
  301.         // line 213
  302.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  303.         echo "');
  304.                     return true;
  305.                 } else {
  306.                     \$('#quantity')[0].setCustomValidity('');
  307.                 }
  308.                 event.preventDefault();
  309.                 \$form = \$('#form1');
  310.                 \$.ajax({
  311.                     url: \$form.attr('action'),
  312.                     type: \$form.attr('method'),
  313.                     data: \$form.serialize(),
  314.                     dataType: 'json',
  315.                     beforeSend: function(xhr, settings) {
  316.                         // Buttonを無効にする
  317.                         \$('.add-cart').prop('disabled', true);
  318.                     }
  319.                 }).done(function(data) {
  320.                     // レスポンス内のメッセージをalertで表示
  321.                     \$.each(data.messages, function() {
  322.                         \$('#ec-modal-header').html(this);
  323.                     });
  324.                     \$('.ec-modal').show()
  325.                     // カートブロックを更新する
  326.                     \$.ajax({
  327.                         url: \"";
  328.         // line 240
  329.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  330.         echo "\",
  331.                         type: 'GET',
  332.                         dataType: 'html'
  333.                     }).done(function(html) {
  334.                         \$('.ec-headerRole__cart').html(html);
  335.                     });
  336.                 }).fail(function(data) {
  337.                     alert('";
  338.         // line 247
  339.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  340.         echo "');
  341.                 }).always(function(data) {
  342.                     // Buttonを有効にする
  343.                     \$('.add-cart').prop('disabled', false);
  344.                 });
  345.             });
  346.         });
  347.         \$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
  348.             \$('.ec-modal').hide()
  349.         });
  350.     </script>
  351. ";
  352.         
  353.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  354.         
  355.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  356.     }
  357.     // line 261
  358.     public function block_main($context, array $blocks = [])
  359.     {
  360.         $macros $this->macros;
  361.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  362.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  363.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  364.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  365.         // line 262
  366.         echo "     <div class=\"ym-topicpath\">
  367.         <ul>
  368.             <li><a href=\"";
  369.         // line 264
  370.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  371.         echo "\">HOME</a></li>
  372.             <li><a href=\"";
  373.         // line 265
  374.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  375.         echo "products/list\">商品一覧</a></li>
  376.             ";
  377.         // line 266
  378.         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.'266$this->source); })()), "ProductCategories", [], "any"falsefalsetrue266))) {
  379.             // line 267
  380.             echo "                ";
  381.             $context["ProductCategory"] = twig_first($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.'267$this->source); })()), "ProductCategories", [], "any"falsefalsetrue267), 267$this->source));
  382.             // line 268
  383.             echo "                <li><a href=\"";
  384.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  385.             echo "?category_id=";
  386.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductCategory"]) || array_key_exists("ProductCategory"$context) ? $context["ProductCategory"] : (function () { throw new RuntimeError('Variable "ProductCategory" does not exist.'268$this->source); })()), "Category", [], "any"falsefalsetrue268), "id", [], "any"falsefalsetrue268), 268$this->source), "html"nulltrue);
  387.             echo "\">";
  388.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductCategory"]) || array_key_exists("ProductCategory"$context) ? $context["ProductCategory"] : (function () { throw new RuntimeError('Variable "ProductCategory" does not exist.'268$this->source); })()), "Category", [], "any"falsefalsetrue268), "name", [], "any"falsefalsetrue268), 268$this->source), "html"nulltrue);
  389.             echo "</a>
  390.                 </li>
  391.             ";
  392.         }
  393.         // line 271
  394.         echo "            <li>";
  395.         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.'271$this->source); })()), "name", [], "any"falsefalsetrue271), 271$this->source), "html"nulltrue);
  396.         echo "</li>
  397.         </ul>
  398.     </div>
  399.     
  400.     <div class=\"ec-productRole\">
  401.             <!--<div class=\"ym-product_tags\">
  402. \t\t\t\t<span class=\"ym-tag ym-tag_price\">特別価格</span>
  403. \t\t\t</div>-->
  404. \t\t\t<div class=\"ec-productRole__title\">
  405. \t\t\t\t<h2 class=\"ec-headingTitle\">";
  406.         // line 280
  407.         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.'280$this->source); })()), "name", [], "any"falsefalsetrue280), 280$this->source), "html"nulltrue);
  408.         echo "</h2>
  409. \t\t\t</div>
  410.         <div class=\"ec-grid2\">
  411.             <div class=\"ec-grid2__cell\">
  412.                 <div class=\"ym-slider\">
  413.                     <div class=\"ec-sliderItemRole\">
  414.                         <div class=\"item_visual\">
  415.                             ";
  416.         // line 287
  417.         $context['_parent'] = $context;
  418.         $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.'287$this->source); })()), "ProductImage", [], "any"falsefalsetrue287));
  419.         $context['_iterated'] = false;
  420.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  421.             // line 288
  422.             echo "                                <div class=\"slide-item\"><span><img src=\"";
  423.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["ProductImage"], 288$this->source), "save_image"), "html"nulltrue);
  424.             echo "\"></span></div>
  425.                             ";
  426.             $context['_iterated'] = true;
  427.         }
  428.         if (!$context['_iterated']) {
  429.             // line 290
  430.             echo "                                <div class=\"slide-item\"><span><img src=\"";
  431.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Customize\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  432.             echo "\"/></span></div>
  433.                             ";
  434.         }
  435.         $_parent $context['_parent'];
  436.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  437.         $context array_intersect_key($context$_parent) + $_parent;
  438.         // line 292
  439.         echo "                        </div>
  440.                         <div class=\"item_nav\">
  441.                             ";
  442.         // line 294
  443.         $context['_parent'] = $context;
  444.         $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.'294$this->source); })()), "ProductImage", [], "any"falsefalsetrue294));
  445.         $context['loop'] = [
  446.           'parent' => $context['_parent'],
  447.           'index0' => 0,
  448.           'index'  => 1,
  449.           'first'  => true,
  450.         ];
  451.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  452.             $length count($context['_seq']);
  453.             $context['loop']['revindex0'] = $length 1;
  454.             $context['loop']['revindex'] = $length;
  455.             $context['loop']['length'] = $length;
  456.             $context['loop']['last'] = === $length;
  457.         }
  458.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  459.             // line 295
  460.             echo "                                <div class=\"slideThumb\" data-index=\"";
  461.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue295), 295$this->source), "html"nulltrue);
  462.             echo "\"><span><img src=\"";
  463.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->sandbox->ensureToStringAllowed($context["ProductImage"], 295$this->source), "save_image"), "html"nulltrue);
  464.             echo "\"></span></div>
  465.                             ";
  466.             ++$context['loop']['index0'];
  467.             ++$context['loop']['index'];
  468.             $context['loop']['first'] = false;
  469.             if (isset($context['loop']['length'])) {
  470.                 --$context['loop']['revindex0'];
  471.                 --$context['loop']['revindex'];
  472.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  473.             }
  474.         }
  475.         $_parent $context['_parent'];
  476.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  477.         $context array_intersect_key($context$_parent) + $_parent;
  478.         // line 297
  479.         echo "                        </div>
  480.                     </div>
  481.                 </div>
  482.                 <div class=\"ec-productRole__description\">
  483.                     ";
  484.         // line 301
  485.         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.'301$this->source); })()), "description_detail", [], "any"falsefalsetrue301), 301$this->source));
  486.         echo "
  487.                 </div>
  488.             </div>
  489.             <div class=\"ec-grid2__cell\">
  490.                 <div class=\"ec-productRole__profile ym-productRole__profile ym-bg_gray\">
  491.                     ";
  492.         // line 307
  493.         echo "                    ";
  494.         // line 314
  495.         echo "                    ";
  496.         // line 315
  497.         echo "                    <div class=\"ec-productRole__title\">
  498.                         <h2 class=\"ec-headingTitle\">";
  499.         // line 316
  500.         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.'316$this->source); })()), "name", [], "any"falsefalsetrue316), 316$this->source), "html"nulltrue);
  501.         echo "</h2>
  502.                     </div>
  503.                     ";
  504.         // line 319
  505.         echo "                    <ul class=\"ec-productRole__tags\">
  506.                         ";
  507.         // line 320
  508.         $context['_parent'] = $context;
  509.         $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.'320$this->source); })()), "Tags", [], "any"falsefalsetrue320));
  510.         foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  511.             // line 321
  512.             echo "                            <li class=\"ec-productRole__tag tag_";
  513.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsetrue321), 321$this->source), "html"nulltrue);
  514.             echo "\">";
  515.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed($context["Tag"], 321$this->source), "html"nulltrue);
  516.             echo "</li>
  517.                         ";
  518.         }
  519.         $_parent $context['_parent'];
  520.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  521.         $context array_intersect_key($context$_parent) + $_parent;
  522.         // line 323
  523.         echo "                    </ul>
  524.                     <div class=\"ym-productRole__price\">
  525.                     ";
  526.         // line 326
  527.         echo "                    <div class=\"ym-price_regular\">
  528.                     ";
  529.         // line 327
  530.         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.'327$this->source); })()), "hasProductClass", [], "any"falsefalsetrue327)) {
  531.             // line 328
  532.             echo "<div class=\"ec-productRole__priceRegular\">
  533.                         ";
  534.             // line 329
  535.             if (( !(null === 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.'329$this->source); })()), "getPrice01Min", [], "any"falsefalsetrue329)) && (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.'329$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue329) == 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.'329$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsetrue329)))) {
  536.                 // line 330
  537.                 echo "                            <span class=\"ec-productRole__priceRegularPrice\">";
  538.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  539.                 echo ":<span class=\"price01-default\">";
  540.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'330$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue330), 330$this->source)), "html"nulltrue);
  541.                 echo "</span></span>
  542.                             <span class=\"ec-productRole__priceRegularTax\">";
  543.                 // line 331
  544.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  545.                 echo "</span>
  546.                         ";
  547.             } elseif (( !(null === twig_get_attribute($this->env$this->source,             // line 332
  548. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'332$this->source); })()), "getPrice01Min", [], "any"falsefalsetrue332)) &&  !(null === 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.'332$this->source); })()), "getPrice01Max", [], "any"falsefalsetrue332)))) {
  549.                 // line 333
  550.                 echo "                            <span class=\"ec-productRole__priceRegularPrice\">";
  551.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  552.                 echo ":<span class=\"price01-default\">";
  553.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'333$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue333), 333$this->source)), "html"nulltrue);
  554.                 echo "~ ";
  555.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'333$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsetrue333), 333$this->source)), "html"nulltrue);
  556.                 echo "</span></span>
  557.                             <!--<span class=\"ec-productRole__priceRegularTax\">";
  558.                 // line 334
  559.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  560.                 echo "</span>-->
  561.                         ";
  562.             }
  563.             // line 336
  564.             echo "                        </div>
  565.                     ";
  566.         } else {
  567.             // line 338
  568.             echo "                        ";
  569.             if ( !(null === 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.'338$this->source); })()), "getPrice01Max", [], "any"falsefalsetrue338))) {
  570.                 // line 339
  571.                 echo "                            <span class=\"ec-productRole__priceRegularPrice\">";
  572.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  573.                 echo ":";
  574.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'339$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsetrue339), 339$this->source)), "html"nulltrue);
  575.                 echo "</span>
  576.                             <!--<span class=\"ec-productRole__priceRegularTax\">";
  577.                 // line 340
  578.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  579.                 echo "</span>-->
  580.                         ";
  581.             }
  582.             // line 342
  583.             echo "                    ";
  584.         }
  585.         // line 343
  586.         echo "                    </div>
  587.                     ";
  588.         // line 345
  589.         echo "                        <div class=\"ec-productRole__price\">
  590.                         <!--<span class=\"ym-tag ym-tag_price\">特別価格</span>-->
  591.                         ";
  592.         // line 347
  593.         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.'347$this->source); })()), "hasProductClass", [], "any"falsefalsetrue347)) {
  594.             // line 348
  595.             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.'348$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue348) == 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.'348$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue348))) {
  596.                 // line 349
  597.                 echo "                                <div class=\"ec-price\">
  598.                                     <span class=\"ec-price__price price02-default\">";
  599.                 // line 350
  600.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'350$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue350), 350$this->source)), "html"nulltrue);
  601.                 echo "</span>
  602.                                     <!--<span class=\"ec-price__tax\">";
  603.                 // line 351
  604.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  605.                 echo "</span>-->
  606.                                 </div>
  607.                             ";
  608.             } else {
  609.                 // line 354
  610.                 echo "                                <div class=\"ec-price\">
  611.                                     <span class=\"ec-price__price price02-default\">";
  612.                 // line 355
  613.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'355$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue355), 355$this->source)), "html"nulltrue);
  614.                 echo " ~ ";
  615.                 echo twig_escape_filter($this->env$this->extensions['Customize\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.'355$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsetrue355), 355$this->source)), "html"nulltrue);
  616.                 echo "</span>
  617.                                     <!--<span class=\"ec-price__tax\">";
  618.                 // line 356
  619.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  620.                 echo "</span>-->
  621.                                 </div>
  622.                             ";
  623.             }
  624.             // line 359
  625.             echo "                        ";
  626.         } else {
  627.             // line 360
  628.             echo "                            <div class=\"ec-price\">
  629.                                 <span class=\"ec-price__price\">";
  630.             // line 361
  631.             echo twig_escape_filter($this->env$this->extensions['Customize\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.'361$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsetrue361), 361$this->source)), "html"nulltrue);
  632.             echo "</span>
  633.                                 <!--<span class=\"ec-price__tax\">";
  634.             // line 362
  635.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  636.             echo "</span>-->
  637.                             </div>
  638.                         ";
  639.         }
  640.         // line 365
  641.         echo "<?php if (false): ?>\t\t\t\t\t\t\t
  642. \t\t\t\t\t\t";
  643.         // line 366
  644.         if ($this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("add_priceinfo"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.'366$this->source); })()), "id", [], "any"falsefalsetrue366))) {
  645.             // line 367
  646.             echo "\t\t\t\t\t\t<div style=\"margin: 10px 5px 0;\">
  647. \t\t\t\t\t\t\t";
  648.             // line 368
  649.             echo $this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("add_priceinfo"$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.'368$this->source); })()), "id", [], "any"falsefalsetrue368), 368$this->source));
  650.             echo "
  651. \t\t\t\t\t\t</div>
  652. \t\t\t\t\t\t";
  653.         }
  654.         // line 371
  655.         echo "<?php endif; ?>
  656.                         </div>
  657.                     </div>
  658.                     ";
  659.         // line 376
  660.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Product/sales_restrictions_cart.twig");
  661.         echo "
  662.                     <div class=\"ec-modal\">
  663.                         <div class=\"ec-modal-overlay\">
  664.                             <div class=\"ec-modal-wrap\">
  665.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  666.         // line 380
  667.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  668.         echo "\" alt=\"\"/></span></span>
  669.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  670.         // line 381
  671.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  672.         echo "</div>
  673.                                 <div class=\"ec-modal-box\">
  674.                                     <div class=\"ec-role\">
  675.                                         <span class=\"ec-inlineBtn--cancel\">";
  676.         // line 384
  677.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  678.         echo "</span>
  679.                                         <a href=\"";
  680.         // line 385
  681.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  682.         echo "\" class=\"ec-inlineBtn--action\">";
  683.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  684.         echo "</a>
  685.                                     </div>
  686.                                 </div>
  687.                             </div>
  688.                         </div>
  689.                     </div>
  690.                     ";
  691.         // line 391
  692.         if (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'391$this->source); })()), "option_favorite_product", [], "any"falsefalsetrue391)) {
  693.             // line 392
  694.             echo "                        <form action=\"";
  695.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_favorite", ["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.'392$this->source); })()), "id", [], "any"falsefalsetrue392)]), "html"nulltrue);
  696.             echo "\" method=\"post\">
  697.                             <div class=\"ec-productRole__btn ym-btn_favorite\">
  698.                                 ";
  699.             // line 394
  700.             if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'394$this->source); })()) == false)) {
  701.                 // line 395
  702.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  703.                                         ";
  704.                 // line 396
  705.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加"), "html"nulltrue);
  706.                 echo "
  707.                                     </button>
  708.                                 ";
  709.             } else {
  710.                 // line 399
  711.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  712.                                             disabled=\"disabled\">";
  713.                 // line 400
  714.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html"nulltrue);
  715.                 echo "
  716.                                     </button>
  717.                                 ";
  718.             }
  719.             // line 403
  720.             echo "                            </div>
  721.                         </form>
  722.                     ";
  723.         }
  724.         // line 406
  725.         echo "                    <div class=\"ym-product_sns fc-product_sns\"></div>
  726.                     <p class=\"ym-guice_link\"><a href=\"/guide\">ご利用ガイド</a></p>
  727.                 </div>
  728.             </div>
  729.         </div>
  730.         ";
  731.         // line 411
  732.         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.'411$this->source); })()), "freearea", [], "any"falsefalsetrue411)) {
  733.             // line 412
  734.             echo "\t\t <div class=\"ec-productRole__description\">
  735. \t\t\t<div class=\"ym-product_description\">
  736. \t\t\t\t<p class=\"ym-heading ym-heading_lv2\">商品情報</p>
  737. \t\t\t";
  738.             // line 415
  739.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$contexttwig_template_from_string($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.'415$this->source); })()), "freearea", [], "any"falsefalsetrue415), 415$this->source)));
  740.             echo "
  741. <?php if (false): ?>
  742. \t\t\t";
  743.             // line 417
  744.             if (($this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("size_detail"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.'417$this->source); })()), "id", [], "any"falsefalsetrue417)) || $this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("side_image"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.'417$this->source); })()), "id", [], "any"falsefalsetrue417)))) {
  745.                 // line 418
  746.                 echo "\t\t\t\t<p class=\"ym-heading ym-heading_lv2\">サイズ詳細</p>
  747. \t\t\t\t";
  748.                 // line 419
  749.                 if ($this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("size_detail"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.'419$this->source); })()), "id", [], "any"falsefalsetrue419))) {
  750.                     // line 420
  751.                     echo "\t\t\t\t\t";
  752.                     echo $this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("size_detail"$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.'420$this->source); })()), "id", [], "any"falsefalsetrue420), 420$this->source));
  753.                     echo "
  754. \t\t\t\t";
  755.                 }
  756.                 // line 422
  757.                 echo "\t\t\t\t";
  758.                 if ($this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("side_image"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.'422$this->source); })()), "id", [], "any"falsefalsetrue422))) {
  759.                     // line 423
  760.                     echo "\t\t\t\t\t<div class=\"ym-scroll\" style=\"margin-top: 20px;\">
  761. \t\t\t\t\t\t<img src=\"";
  762.                     // line 424
  763.                     echo twig_escape_filter($this->env$this->extensions['Plugin\TabaCustomFields2\Twig\Extension\TwigExtension']->getProduct("side_image"$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.'424$this->source); })()), "id", [], "any"falsefalsetrue424), 424$this->source)), "html"nulltrue);
  764.                     echo "\" alt=\"\">
  765. \t\t\t\t\t</div>
  766. \t\t\t\t";
  767.                 }
  768.                 // line 427
  769.                 echo "\t\t\t";
  770.             }
  771.             // line 428
  772.             echo "<?php endif; ?>
  773. \t\t\t </div>
  774. \t\t</div>
  775.         ";
  776.         }
  777.         // line 432
  778.         echo "    </div>
  779. ";
  780.         
  781.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  782.         
  783.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  784.     }
  785.     public function getTemplateName()
  786.     {
  787.         return "__string_template__90b0d6266dd670430d31f13e0662cb1a";
  788.     }
  789.     public function isTraitable()
  790.     {
  791.         return false;
  792.     }
  793.     public function getDebugInfo()
  794.     {
  795.         return array (  822 => 432,  816 => 428,  813 => 427,  807 => 424,  804 => 423,  801 => 422,  795 => 420,  793 => 419,  790 => 418,  788 => 417,  783 => 415,  778 => 412,  776 => 411,  769 => 406,  764 => 403,  758 => 400,  755 => 399,  749 => 396,  746 => 395,  744 => 394,  738 => 392,  736 => 391,  725 => 385,  721 => 384,  715 => 381,  711 => 380,  704 => 376,  697 => 371,  691 => 368,  688 => 367,  686 => 366,  683 => 365,  677 => 362,  673 => 361,  670 => 360,  667 => 359,  661 => 356,  655 => 355,  652 => 354,  646 => 351,  642 => 350,  639 => 349,  637 => 348,  635 => 347,  631 => 345,  628 => 343,  625 => 342,  620 => 340,  613 => 339,  610 => 338,  606 => 336,  601 => 334,  592 => 333,  590 => 332,  586 => 331,  579 => 330,  577 => 329,  574 => 328,  572 => 327,  569 => 326,  565 => 323,  554 => 321,  550 => 320,  547 => 319,  542 => 316,  539 => 315,  537 => 314,  535 => 307,  527 => 301,  521 => 297,  502 => 295,  485 => 294,  481 => 292,  472 => 290,  464 => 288,  459 => 287,  449 => 280,  436 => 271,  425 => 268,  422 => 267,  420 => 266,  416 => 265,  412 => 264,  408 => 262,  398 => 261,  375 => 247,  365 => 240,  335 => 213,  330 => 210,  321 => 204,  317 => 202,  315 => 201,  312 => 200,  303 => 194,  299 => 192,  297 => 191,  254 => 150,  246 => 148,  244 => 147,  239 => 145,  236 => 144,  234 => 143,  216 => 132,  212 => 131,  207 => 129,  204 => 128,  194 => 127,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  796.     }
  797.     public function getSourceContext()
  798.     {
  799.         return new Source("{#
  800. This file is part of EC-CUBE
  801. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  802. http://www.ec-cube.co.jp/
  803. For the full copyright and license information, please view the LICENSE
  804. file that was distributed with this source code.
  805. #}
  806. {% extends 'default_frame.twig' %}
  807. {% set body_class = 'product_page' %}
  808. {% block stylesheet %}
  809.     <style>
  810.         .slick-slider {
  811.             margin-bottom: 30px;
  812.         }
  813.         .slick-dots {
  814.             position: absolute;
  815.             bottom: -45px;
  816.             display: block;
  817.             width: 100%;
  818.             padding: 0;
  819.             list-style: none;
  820.             text-align: center;
  821.         }
  822.         .slick-dots li {
  823.             position: relative;
  824.             display: inline-block;
  825.             width: 20px;
  826.             height: 20px;
  827.             margin: 0 5px;
  828.             padding: 0;
  829.             cursor: pointer;
  830.         }
  831.         .slick-dots li button {
  832.             font-size: 0;
  833.             line-height: 0;
  834.             display: block;
  835.             width: 20px;
  836.             height: 20px;
  837.             padding: 5px;
  838.             cursor: pointer;
  839.             color: transparent;
  840.             border: 0;
  841.             outline: none;
  842.             background: transparent;
  843.         }
  844.         .slick-dots li button:hover,
  845.         .slick-dots li button:focus {
  846.             outline: none;
  847.         }
  848.         .slick-dots li button:hover:before,
  849.         .slick-dots li button:focus:before {
  850.             opacity: 1;
  851.         }
  852.         .slick-dots li button:before {
  853.             content: \" \";
  854.             line-height: 20px;
  855.             position: absolute;
  856.             top: 0;
  857.             left: 0;
  858.             width: 12px;
  859.             height: 12px;
  860.             text-align: center;
  861.             opacity: .25;
  862.             background-color: black;
  863.             border-radius: 50%;
  864.         }
  865.         .slick-dots li.slick-active button:before {
  866.             opacity: .75;
  867.             background-color: black;
  868.         }
  869.         .slick-dots li button.thumbnail img {
  870.             width: 0;
  871.             height: 0;
  872.         }
  873.         .item_visual .slide-item {
  874.             display: flex;
  875.             align-items: center;
  876.             align-content: center;
  877.             justify-content: center;
  878.             min-height: 100vw;
  879.             text-align: center;
  880.         }
  881.         .item_visual .slide-item img {
  882.             max-height: 100vw;
  883.             width: auto;
  884.             margin: auto;
  885.         }
  886.         .item_visual .slide-item span {
  887.             display: block;
  888.             padding-top: 100%;
  889.             position: relative;
  890.             width: 100%;
  891.         }
  892.         .item_visual .slide-item span img {
  893.             position: absolute;
  894.             top: 50%;
  895.             left: 50%;
  896.             transform: translate(-50%,-50%);
  897.         }
  898.         @media only screen and (min-width: 768px) {
  899.             .item_visual .slide-item {
  900.                 min-height: 0;
  901.             }
  902.             .item_visual .slide-item img {
  903.                 max-height: 100%;
  904.             }
  905.         }
  906.     </style>
  907. {% endblock %}
  908. {% block javascript %}
  909.     <script>
  910.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  911.         eccube.productStockInfo = {};
  912.         eccube.productStockInfo.stockMax = {{ Product.StockMax }};
  913.         eccube.productStockInfo.stockUnlimitedMax = {% if Product.getStockUnlimitedMax() %}1{% else %}0{% endif %};
  914.         // 規格2に選択肢を割り当てる。
  915.         function fnSetClassCategories(form, classcat_id2_selected) {
  916.             var \$form = \$(form);
  917.             var product_id = \$form.find('input[name=product_id]').val();
  918.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  919.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  920.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  921.         }
  922.         {% if form.classcategory_id2 is defined %}
  923.         fnSetClassCategories(
  924.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  925.         );
  926.         {% elseif form.classcategory_id1 is defined %}
  927.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  928.         {% endif %}
  929.     </script>
  930.     <script>
  931.         \$(function() {
  932.             // bfcache無効化
  933.             \$(window).bind('pageshow', function(event) {
  934.                 if (event.originalEvent.persisted) {
  935.                     location.reload(true);
  936.                 }
  937.             });
  938.             \$('.item_visual').slick({
  939.                 dots: false,
  940.                 arrows: true,
  941.                 asNavFor: '.item_nav',
  942.                 responsive: [{
  943.                     breakpoint: 768,
  944.                     settings: {
  945.                         dots: false
  946.                     }
  947.                 }]
  948.             });
  949.             \$('.item_nav').slick({
  950. \t\t\t\tasNavFor: '.item_visual',
  951. \t\t\t\tarrows: false,
  952. \t\t\t\tfocusOnSelect: true,
  953. \t\t\t\tslidesToShow: 5,
  954. \t\t\t\tslidesToScroll: 1,
  955. \t\t\t\tcenterMode: false,
  956. \t\t\t\tcenterPadding: '0px'
  957. \t\t\t});
  958.             /*
  959.             \$('.slideThumb').on('click', function() {
  960.                 var index = \$(this).attr('data-index');
  961.                 \$('.item_visual').slick('slickGoTo', index, false);
  962.             })
  963.             */
  964.         });
  965.     </script>
  966.     <script>
  967.         \$(function() {
  968.             \$('.add-cart').on('click', function(event) {
  969.                 {% if form.classcategory_id1 is defined %}
  970.                 // 規格1フォームの必須チェック
  971.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  972.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  973.                     return true;
  974.                 } else {
  975.                     \$('#classcategory_id1')[0].setCustomValidity('');
  976.                 }
  977.                 {% endif %}
  978.                 {% if form.classcategory_id2 is defined %}
  979.                 // 規格2フォームの必須チェック
  980.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  981.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  982.                     return true;
  983.                 } else {
  984.                     \$('#classcategory_id2')[0].setCustomValidity('');
  985.                 }
  986.                 {% endif %}
  987.                 // 個数フォームのチェック
  988.                 if (\$('#quantity').val() < 1) {
  989.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  990.                     return true;
  991.                 } else {
  992.                     \$('#quantity')[0].setCustomValidity('');
  993.                 }
  994.                 event.preventDefault();
  995.                 \$form = \$('#form1');
  996.                 \$.ajax({
  997.                     url: \$form.attr('action'),
  998.                     type: \$form.attr('method'),
  999.                     data: \$form.serialize(),
  1000.                     dataType: 'json',
  1001.                     beforeSend: function(xhr, settings) {
  1002.                         // Buttonを無効にする
  1003.                         \$('.add-cart').prop('disabled', true);
  1004.                     }
  1005.                 }).done(function(data) {
  1006.                     // レスポンス内のメッセージをalertで表示
  1007.                     \$.each(data.messages, function() {
  1008.                         \$('#ec-modal-header').html(this);
  1009.                     });
  1010.                     \$('.ec-modal').show()
  1011.                     // カートブロックを更新する
  1012.                     \$.ajax({
  1013.                         url: \"{{ url('block_cart') }}\",
  1014.                         type: 'GET',
  1015.                         dataType: 'html'
  1016.                     }).done(function(html) {
  1017.                         \$('.ec-headerRole__cart').html(html);
  1018.                     });
  1019.                 }).fail(function(data) {
  1020.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1021.                 }).always(function(data) {
  1022.                     // Buttonを有効にする
  1023.                     \$('.add-cart').prop('disabled', false);
  1024.                 });
  1025.             });
  1026.         });
  1027.         \$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
  1028.             \$('.ec-modal').hide()
  1029.         });
  1030.     </script>
  1031. {% endblock %}
  1032. {% block main %}
  1033.      <div class=\"ym-topicpath\">
  1034.         <ul>
  1035.             <li><a href=\"{{ url('homepage') }}\">HOME</a></li>
  1036.             <li><a href=\"{{ url('homepage') }}products/list\">商品一覧</a></li>
  1037.             {% if Product.ProductCategories is not empty %}
  1038.                 {% set ProductCategory = Product.ProductCategories|first %}
  1039.                 <li><a href=\"{{ url('product_list') }}?category_id={{ ProductCategory.Category.id }}\">{{ ProductCategory.Category.name }}</a>
  1040.                 </li>
  1041.             {% endif %}
  1042.             <li>{{ Product.name }}</li>
  1043.         </ul>
  1044.     </div>
  1045.     
  1046.     <div class=\"ec-productRole\">
  1047.             <!--<div class=\"ym-product_tags\">
  1048. \t\t\t\t<span class=\"ym-tag ym-tag_price\">特別価格</span>
  1049. \t\t\t</div>-->
  1050. \t\t\t<div class=\"ec-productRole__title\">
  1051. \t\t\t\t<h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
  1052. \t\t\t</div>
  1053.         <div class=\"ec-grid2\">
  1054.             <div class=\"ec-grid2__cell\">
  1055.                 <div class=\"ym-slider\">
  1056.                     <div class=\"ec-sliderItemRole\">
  1057.                         <div class=\"item_visual\">
  1058.                             {% for ProductImage in Product.ProductImage %}
  1059.                                 <div class=\"slide-item\"><span><img src=\"{{ asset(ProductImage, 'save_image') }}\"></span></div>
  1060.                             {% else %}
  1061.                                 <div class=\"slide-item\"><span><img src=\"{{ asset(''|no_image_product, 'save_image') }}\"/></span></div>
  1062.                             {% endfor %}
  1063.                         </div>
  1064.                         <div class=\"item_nav\">
  1065.                             {% for ProductImage in Product.ProductImage %}
  1066.                                 <div class=\"slideThumb\" data-index=\"{{ loop.index0 }}\"><span><img src=\"{{ asset(ProductImage, 'save_image') }}\"></span></div>
  1067.                             {% endfor %}
  1068.                         </div>
  1069.                     </div>
  1070.                 </div>
  1071.                 <div class=\"ec-productRole__description\">
  1072.                     {{ Product.description_detail|raw|nl2br }}
  1073.                 </div>
  1074.             </div>
  1075.             <div class=\"ec-grid2__cell\">
  1076.                 <div class=\"ec-productRole__profile ym-productRole__profile ym-bg_gray\">
  1077.                     {# 商品コード #}
  1078.                     {#
  1079.                     {% if Product.code_min is not empty %}
  1080.                         <div class=\"ec-productRole__code\">
  1081.                             {{ '商品コード'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  1082.                         </div>
  1083.                     {% endif %}
  1084.                     #}
  1085.                     {# 商品名 #}
  1086.                     <div class=\"ec-productRole__title\">
  1087.                         <h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
  1088.                     </div>
  1089.                     {# タグ #}
  1090.                     <ul class=\"ec-productRole__tags\">
  1091.                         {% for Tag in Product.Tags %}
  1092.                             <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  1093.                         {% endfor %}
  1094.                     </ul>
  1095.                     <div class=\"ym-productRole__price\">
  1096.                     {# 通常価格 #}
  1097.                     <div class=\"ym-price_regular\">
  1098.                     {% if Product.hasProductClass -%}
  1099.                         <div class=\"ec-productRole__priceRegular\">
  1100.                         {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  1101.                             <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  1102.                             <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1103.                         {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  1104.                             <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  1105.                             <!--<span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>-->
  1106.                         {% endif %}
  1107.                         </div>
  1108.                     {% else %}
  1109.                         {% if Product.getPrice01Max is not null %}
  1110.                             <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  1111.                             <!--<span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>-->
  1112.                         {% endif %}
  1113.                     {% endif %}
  1114.                     </div>
  1115.                     {# 販売価格 #}
  1116.                         <div class=\"ec-productRole__price\">
  1117.                         <!--<span class=\"ym-tag ym-tag_price\">特別価格</span>-->
  1118.                         {% if Product.hasProductClass -%}
  1119.                             {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1120.                                 <div class=\"ec-price\">
  1121.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1122.                                     <!--<span class=\"ec-price__tax\">{{ '税込'|trans }}</span>-->
  1123.                                 </div>
  1124.                             {% else %}
  1125.                                 <div class=\"ec-price\">
  1126.                                     <span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  1127.                                     <!--<span class=\"ec-price__tax\">{{ '税込'|trans }}</span>-->
  1128.                                 </div>
  1129.                             {% endif %}
  1130.                         {% else %}
  1131.                             <div class=\"ec-price\">
  1132.                                 <span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1133.                                 <!--<span class=\"ec-price__tax\">{{ '税込'|trans }}</span>-->
  1134.                             </div>
  1135.                         {% endif %}
  1136. <?php if (false): ?>\t\t\t\t\t\t\t
  1137. \t\t\t\t\t\t{% if TabaCustomFieldsProduct('add_priceinfo', Product.id) %}
  1138. \t\t\t\t\t\t<div style=\"margin: 10px 5px 0;\">
  1139. \t\t\t\t\t\t\t{{ TabaCustomFieldsProduct('add_priceinfo', Product.id)|raw }}
  1140. \t\t\t\t\t\t</div>
  1141. \t\t\t\t\t\t{% endif %}
  1142. <?php endif; ?>
  1143.                         </div>
  1144.                     </div>
  1145.                     {{ include('Product/sales_restrictions_cart.twig') }}
  1146.                     <div class=\"ec-modal\">
  1147.                         <div class=\"ec-modal-overlay\">
  1148.                             <div class=\"ec-modal-wrap\">
  1149.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1150.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1151.                                 <div class=\"ec-modal-box\">
  1152.                                     <div class=\"ec-role\">
  1153.                                         <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1154.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1155.                                     </div>
  1156.                                 </div>
  1157.                             </div>
  1158.                         </div>
  1159.                     </div>
  1160.                     {% if BaseInfo.option_favorite_product %}
  1161.                         <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  1162.                             <div class=\"ec-productRole__btn ym-btn_favorite\">
  1163.                                 {% if is_favorite == false %}
  1164.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1165.                                         {{ 'お気に入りに追加'|trans }}
  1166.                                     </button>
  1167.                                 {% else %}
  1168.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1169.                                             disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}
  1170.                                     </button>
  1171.                                 {% endif %}
  1172.                             </div>
  1173.                         </form>
  1174.                     {% endif %}
  1175.                     <div class=\"ym-product_sns fc-product_sns\"></div>
  1176.                     <p class=\"ym-guice_link\"><a href=\"/guide\">ご利用ガイド</a></p>
  1177.                 </div>
  1178.             </div>
  1179.         </div>
  1180.         {% if Product.freearea %}
  1181. \t\t <div class=\"ec-productRole__description\">
  1182. \t\t\t<div class=\"ym-product_description\">
  1183. \t\t\t\t<p class=\"ym-heading ym-heading_lv2\">商品情報</p>
  1184. \t\t\t{{ include(template_from_string(Product.freearea)) }}
  1185. <?php if (false): ?>
  1186. \t\t\t{% if TabaCustomFieldsProduct('size_detail', Product.id) or TabaCustomFieldsProduct('side_image', Product.id) %}
  1187. \t\t\t\t<p class=\"ym-heading ym-heading_lv2\">サイズ詳細</p>
  1188. \t\t\t\t{% if TabaCustomFieldsProduct('size_detail', Product.id) %}
  1189. \t\t\t\t\t{{TabaCustomFieldsProduct('size_detail', Product.id)|raw}}
  1190. \t\t\t\t{% endif %}
  1191. \t\t\t\t{% if TabaCustomFieldsProduct('side_image', Product.id) %}
  1192. \t\t\t\t\t<div class=\"ym-scroll\" style=\"margin-top: 20px;\">
  1193. \t\t\t\t\t\t<img src=\"{{TabaCustomFieldsProduct('side_image', Product.id)}}\" alt=\"\">
  1194. \t\t\t\t\t</div>
  1195. \t\t\t\t{% endif %}
  1196. \t\t\t{% endif %}
  1197. <?php endif; ?>
  1198. \t\t\t </div>
  1199. \t\t</div>
  1200.         {% endif %}
  1201.     </div>
  1202. {% endblock %}
  1203. ""__string_template__90b0d6266dd670430d31f13e0662cb1a""");
  1204.     }
  1205.     
  1206.     public function checkSecurity()
  1207.     {
  1208.         static $tags = array("set" => 13"if" => 132"for" => 287);
  1209.         static $filters = array("raw" => 129"escape" => 131"json_encode" => 145"trans" => 194"first" => 267"no_image_product" => 290"nl2br" => 301"price" => 330);
  1210.         static $functions = array("class_categories_as_json" => 129"url" => 240"asset" => 288"TabaCustomFieldsProduct" => 366"include" => 376"template_from_string" => 415);
  1211.         try {
  1212.             $this->sandbox->checkSecurity(
  1213.                 ['set''if''for'],
  1214.                 ['raw''escape''json_encode''trans''first''no_image_product''nl2br''price'],
  1215.                 ['class_categories_as_json''url''asset''TabaCustomFieldsProduct''include''template_from_string']
  1216.             );
  1217.         } catch (SecurityError $e) {
  1218.             $e->setSourceContext($this->source);
  1219.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1220.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1221.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1222.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1223.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1224.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1225.             }
  1226.             throw $e;
  1227.         }
  1228.     }
  1229. }