var/cache/dev/twig/96/960d06d1c94e3f06cd2b0ff8d3e57eeb.php line 53

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_84331aaef481e2933e6246ae94c2d2b0 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.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  40.         // line 13
  41.         $context["body_class"] = "product_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Product/detail.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 15
  51.     public function block_stylesheet($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         // line 16
  59.         echo "    <style>
  60.         .slick-slider {
  61.             margin-bottom: 30px;
  62.         }
  63.         .slick-dots {
  64.             position: absolute;
  65.             bottom: -45px;
  66.             display: block;
  67.             width: 100%;
  68.             padding: 0;
  69.             list-style: none;
  70.             text-align: center;
  71.         }
  72.         .slick-dots li {
  73.             position: relative;
  74.             display: inline-block;
  75.             width: 20px;
  76.             height: 20px;
  77.             margin: 0 5px;
  78.             padding: 0;
  79.             cursor: pointer;
  80.         }
  81.         .slick-dots li button {
  82.             font-size: 0;
  83.             line-height: 0;
  84.             display: block;
  85.             width: 20px;
  86.             height: 20px;
  87.             padding: 5px;
  88.             cursor: pointer;
  89.             color: transparent;
  90.             border: 0;
  91.             outline: none;
  92.             background: transparent;
  93.         }
  94.         .slick-dots li button:hover,
  95.         .slick-dots li button:focus {
  96.             outline: none;
  97.         }
  98.         .slick-dots li button:hover:before,
  99.         .slick-dots li button:focus:before {
  100.             opacity: 1;
  101.         }
  102.         .slick-dots li button:before {
  103.             content: \" \";
  104.             line-height: 20px;
  105.             position: absolute;
  106.             top: 0;
  107.             left: 0;
  108.             width: 12px;
  109.             height: 12px;
  110.             text-align: center;
  111.             opacity: .25;
  112.             background-color: black;
  113.             border-radius: 50%;
  114.         }
  115.         .slick-dots li.slick-active button:before {
  116.             opacity: .75;
  117.             background-color: black;
  118.         }
  119.         .slick-dots li button.thumbnail img {
  120.             width: 0;
  121.             height: 0;
  122.         }
  123.     </style>
  124. ";
  125.         
  126.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  127.         
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  129.     }
  130.     // line 95
  131.     public function block_javascript($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  138.         // line 96
  139.         echo "    <script>
  140.         eccube.classCategories = ";
  141.         // line 97
  142.         echo $this->extensions['Customize\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'97$this->source); })()));
  143.         echo ";
  144.         
  145.         // 規格2に選択肢を割り当てる。
  146.         function fnSetClassCategories(form, classcat_id2_selected) {
  147.             var \$form = \$(form);
  148.             var product_id = \$form.find('input[name=product_id]').val();
  149.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  150.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  151.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  152.         }
  153.         ";
  154.         // line 109
  155.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse109)) {
  156.             // line 110
  157.             echo "        fnSetClassCategories(
  158.             \$('#form1'), ";
  159.             // line 111
  160.             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.'111$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse111), "vars", [], "any"falsefalsefalse111), "value", [], "any"falsefalsefalse111));
  161.             echo "
  162.         );
  163.         ";
  164.         } elseif (twig_get_attribute($this->env$this->source,         // line 113
  165. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse113)) {
  166.             // line 114
  167.             echo "        eccube.checkStock(\$('#form1'), ";
  168.             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.'114$this->source); })()), "id", [], "any"falsefalsefalse114), "html"nulltrue);
  169.             echo ", ";
  170.             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.'114$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse114), "vars", [], "any"falsefalsefalse114), "value", [], "any"falsefalsefalse114));
  171.             echo ", null);
  172.         ";
  173.         }
  174.         // line 116
  175.         echo "    </script>
  176.     <script>
  177.         \$(function() {
  178.             // bfcache無効化
  179.             \$(window).bind('pageshow', function(event) {
  180.                 if (event.originalEvent.persisted) {
  181.                     location.reload(true);
  182.                 }
  183.             });
  184.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  185.             // img タグに width, height が付与されている.
  186.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  187.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  188.             \$('.ec-grid2__cell').hide();
  189.             var removeSize = function () {
  190.                 \$('.slide-item').height('');
  191.                 \$('.slide-item img')
  192.                     .removeAttr('width')
  193.                     .removeAttr('height')
  194.                     .removeAttr('style');
  195.             };
  196.             var slickInitial = function(slick) {
  197.                 \$('.ec-grid2__cell').fadeIn(1500);
  198.                 var baseHeight = \$(slick.target).height();
  199.                 var baseWidth = \$(slick.target).width();
  200.                 var rate = baseWidth / baseHeight;
  201.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  202.                 // transform を使用することでCLSの影響を受けないようにする
  203.                 \$('.slide-item img')
  204.                     .css(
  205.                         {
  206.                             'transform-origin': 'top left',
  207.                             'transform': 'scaleY(' + rate + ')',
  208.                             'transition': 'transform .1s'
  209.                         }
  210.                     );
  211.                 // 正しいサイズに近くなったら属性を解除する
  212.                 setTimeout(removeSize, 500);
  213.             };
  214.             \$('.item_visual').on('init', slickInitial);
  215.             // リサイズ時は CLS の影響を受けないため属性を解除する
  216.             \$(window).resize(removeSize);
  217.             \$('.item_visual').slick({
  218.                 dots: false,
  219.                 arrows: false,
  220.                 responsive: [{
  221.                     breakpoint: 768,
  222.                     settings: {
  223.                         dots: true
  224.                     }
  225.                 }]
  226.             });
  227.             \$('.slideThumb').on('click', function() {
  228.                 var index = \$(this).attr('data-index');
  229.                 \$('.item_visual').slick('slickGoTo', index, false);
  230.             })
  231.         });
  232.     </script>
  233.     <script>
  234.         \$(function() {
  235.             \$('.add-cart').on('click', function(event) {
  236.                 ";
  237.         // line 180
  238.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse180)) {
  239.             // line 181
  240.             echo "                // 規格1フォームの必須チェック
  241.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  242.                     \$('#classcategory_id1')[0].setCustomValidity('";
  243.             // line 183
  244.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  245.             echo "');
  246.                     return true;
  247.                 } else {
  248.                     \$('#classcategory_id1')[0].setCustomValidity('');
  249.                 }
  250.                 ";
  251.         }
  252.         // line 189
  253.         echo "
  254.                 ";
  255.         // line 190
  256.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse190)) {
  257.             // line 191
  258.             echo "                // 規格2フォームの必須チェック
  259.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  260.                     \$('#classcategory_id2')[0].setCustomValidity('";
  261.             // line 193
  262.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  263.             echo "');
  264.                     return true;
  265.                 } else {
  266.                     \$('#classcategory_id2')[0].setCustomValidity('');
  267.                 }
  268.                 ";
  269.         }
  270.         // line 199
  271.         echo "
  272.                 // 個数フォームのチェック
  273.                 if (\$('#quantity').val() < 1) {
  274.                     \$('#quantity')[0].setCustomValidity('";
  275.         // line 202
  276.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  277.         echo "');
  278.                     return true;
  279.                 } else {
  280.                     \$('#quantity')[0].setCustomValidity('');
  281.                 }
  282.                 event.preventDefault();
  283.                 \$form = \$('#form1');
  284.                 \$.ajax({
  285.                     url: \$form.attr('action'),
  286.                     type: \$form.attr('method'),
  287.                     data: \$form.serialize(),
  288.                     dataType: 'json',
  289.                     beforeSend: function(xhr, settings) {
  290.                         // Buttonを無効にする
  291.                         \$('.add-cart').prop('disabled', true);
  292.                     }
  293.                 }).done(function(data) {
  294.                     // レスポンス内のメッセージをalertで表示
  295.                     \$.each(data.messages, function() {
  296.                         \$('#ec-modal-header').text(this);
  297.                     });
  298.                     \$('.ec-modal').show()
  299.                     // カートブロックを更新する
  300.                     \$.ajax({
  301.                         url: \"";
  302.         // line 229
  303.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  304.         echo "\",
  305.                         type: 'GET',
  306.                         dataType: 'html'
  307.                     }).done(function(html) {
  308.                         \$('.ec-headerRole__cart').html(html);
  309.                     });
  310.                 }).fail(function(data) {
  311.                     alert('";
  312.         // line 236
  313.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  314.         echo "');
  315.                 }).always(function(data) {
  316.                     // Buttonを有効にする
  317.                     \$('.add-cart').prop('disabled', false);
  318.                 });
  319.             });
  320.         });
  321.         \$('.ec-modal-wrap').on('click', function(e) {
  322.             // モーダル内の処理は外側にバブリングさせない
  323.             e.stopPropagation();
  324.         });
  325.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  326.             \$('.ec-modal').hide()
  327.         });
  328.     </script>
  329.     <script type=\"application/ld+json\">
  330.     {
  331.         \"@context\": \"https://schema.org/\",
  332.         \"@type\": \"Product\",
  333.         \"name\": \"";
  334.         // line 256
  335.         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.'256$this->source); })()), "Maker", [], "any"falsefalsefalse256)) {
  336.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'256$this->source); })()), "Maker", [], "any"falsefalsefalse256), "nameEn", [], "any"falsefalsefalse256), "html"nulltrue);
  337.             echo " ";
  338.         }
  339.         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.'256$this->source); })()), "name", [], "any"falsefalsefalse256), "html"nulltrue);
  340.         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.'256$this->source); })()), "model_year", [], "any"falsefalsefalse256)) {
  341.             echo " ";
  342.             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.'256$this->source); })()), "model_year", [], "any"falsefalsefalse256), "html"nulltrue);
  343.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("年モデル"), "html"nulltrue);
  344.         }
  345.         echo "\",
  346.         \"image\": [
  347.             ";
  348.         // line 258
  349.         $context['_parent'] = $context;
  350.         $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.'258$this->source); })()), "ProductImage", [], "any"falsefalsefalse258));
  351.         $context['_iterated'] = false;
  352.         $context['loop'] = [
  353.           'parent' => $context['_parent'],
  354.           'index0' => 0,
  355.           'index'  => 1,
  356.           'first'  => true,
  357.         ];
  358.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  359.             $length count($context['_seq']);
  360.             $context['loop']['revindex0'] = $length 1;
  361.             $context['loop']['revindex'] = $length;
  362.             $context['loop']['length'] = $length;
  363.             $context['loop']['last'] = === $length;
  364.         }
  365.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  366.             // line 259
  367.             echo "                \"";
  368.             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.'259$this->source); })()), "request", [], "any"falsefalsefalse259), "schemeAndHttpHost", [], "any"falsefalsefalse259), "html"nulltrue);
  369.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"], "save_image"), "html"nulltrue);
  370.             echo "\"";
  371.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse259)) {
  372.                 echo ",";
  373.             }
  374.             // line 260
  375.             echo "
  376.             ";
  377.             $context['_iterated'] = true;
  378.             ++$context['loop']['index0'];
  379.             ++$context['loop']['index'];
  380.             $context['loop']['first'] = false;
  381.             if (isset($context['loop']['length'])) {
  382.                 --$context['loop']['revindex0'];
  383.                 --$context['loop']['revindex'];
  384.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  385.             }
  386.         }
  387.         if (!$context['_iterated']) {
  388.             // line 262
  389.             echo "                \"";
  390.             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.'262$this->source); })()), "request", [], "any"falsefalsefalse262), "schemeAndHttpHost", [], "any"falsefalsefalse262), "html"nulltrue);
  391.             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);
  392.             echo "\"
  393.             ";
  394.         }
  395.         $_parent $context['_parent'];
  396.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  397.         $context array_intersect_key($context$_parent) + $_parent;
  398.         // line 264
  399.         echo "        ],
  400.     \"description\": \"";
  401.         // line 265
  402.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_replace_filter(((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.'265$this->source); })()), "description_list", [], "any"falsefalsefalse265) . " ") . 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.'265$this->source); })()), "description_detail", [], "any"falsefalsefalse265)), ["
  403. => """ " => ""]), 0300), "html"nulltrue);
  404.         echo "\",
  405.         ";
  406.         // line 266
  407.         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.'266$this->source); })()), "code_min", [], "any"falsefalsefalse266)) {
  408.             // line 267
  409.             echo "        \"sku\": \"";
  410.             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.'267$this->source); })()), "code_min", [], "any"falsefalsefalse267), "html"nulltrue);
  411.             echo "\",
  412.         ";
  413.         }
  414.         // line 269
  415.         echo "        \"offers\": {
  416.             \"@type\": \"Offer\",
  417.             \"url\": \"";
  418.         // line 271
  419.         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.'271$this->source); })()), "id", [], "any"falsefalsefalse271)]), "html"nulltrue);
  420.         echo "\",
  421.             \"priceCurrency\": \"";
  422.         // line 272
  423.         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.'272$this->source); })()), "currency", [], "any"falsefalsefalse272), "html"nulltrue);
  424.         echo "\",
  425.             \"price\": ";
  426.         // line 273
  427.         ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'273$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse273)) ? (print (twig_escape_filter($this->envtwig_round((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'273$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse273) / 1.0500000000000000444089209850062616169452667236328125), 0"common"), "html"nulltrue))) : (print (0)));
  428.         echo ",
  429.             \"availability\": \"";
  430.         // line 274
  431.         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.'274$this->source); })()), "stock_find", [], "any"falsefalsefalse274)) ? ("InStock") : ("OutOfStock"));
  432.         echo "\"
  433.         }
  434.     }
  435.     </script>
  436. ";
  437.         
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  439.         
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  441.     }
  442.     // line 280
  443.     public function block_main($context, array $blocks = [])
  444.     {
  445.         $macros $this->macros;
  446.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  447.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  448.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  449.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  450.         // line 281
  451.         echo "    <div class=\"ec-productRole\">
  452.         <div class=\"ec-grid2\">
  453.             <div class=\"ec-grid2__cell\">
  454.                 <div class=\"ec-sliderItemRole\">
  455.                     <div class=\"item_visual\">
  456.                         ";
  457.         // line 287
  458.         $context["ImageLoop"] = "";
  459.         // line 288
  460.         echo "                        ";
  461.         $context['_parent'] = $context;
  462.         $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.'288$this->source); })()), "ProductImage", [], "any"falsefalsefalse288));
  463.         $context['_iterated'] = false;
  464.         $context['loop'] = [
  465.           'parent' => $context['_parent'],
  466.           'index0' => 0,
  467.           'index'  => 1,
  468.           'first'  => true,
  469.         ];
  470.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  471.             $length count($context['_seq']);
  472.             $context['loop']['revindex0'] = $length 1;
  473.             $context['loop']['revindex'] = $length;
  474.             $context['loop']['length'] = $length;
  475.             $context['loop']['last'] = === $length;
  476.         }
  477.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  478.             // line 289
  479.             echo "                            ";
  480.             $context["ImageLoop"] = twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse289);
  481.             // line 290
  482.             echo "                            <div class=\"slide-item\">
  483.                                 <img src=\"";
  484.             // line 291
  485.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  486.             echo "\" alt=\"";
  487.             if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse291)) {
  488.                 ((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.'291$this->source); })()), "Maker", [], "any"falsefalsefalse291)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_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); })()), "Maker", [], "any"falsefalsefalse291), "nameEn", [], "any"falsefalsefalse291) . " "), "html"nulltrue))) : (print ("")));
  489.                 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.'291$this->source); })()), "name", [], "any"falsefalsefalse291), "html"nulltrue);
  490.                 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.'291$this->source); })()), "model_year", [], "any"falsefalsefalse291)) {
  491.                     echo " ";
  492.                     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.'291$this->source); })()), "model_year", [], "any"falsefalsefalse291), "html"nulltrue);
  493.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("年モデル"), "html"nulltrue);
  494.                 }
  495.             }
  496.             echo "\" width=\"550\" height=\"550\"";
  497.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse291) > 1)) {
  498.                 echo " loading=\"lazy\"";
  499.             }
  500.             echo ">
  501.                                 ";
  502.             // line 292
  503.             if ((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "ProductImageAlts", [], "any"truetruefalse292) &&  !(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.'292$this->source); })()), "ProductImageAlts", [], "any"falsefalsefalse292)))) {
  504.                 // line 293
  505.                 echo "                                    ";
  506.                 $context["altText"] = "";
  507.                 // line 294
  508.                 echo "                                    ";
  509.                 $context["ProductImageAlt"] = twig_first($this->envtwig_array_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); })()), "ProductImageAlts", [], "any"falsefalsefalse294), function ($__alt__) use ($context$macros) { $context["alt"] = $__alt__; return (twig_get_attribute($this->env$this->source, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'294$this->source); })()), "sort_no", [], "any"falsefalsefalse294) == (isset($context["ImageLoop"]) || array_key_exists("ImageLoop"$context) ? $context["ImageLoop"] : (function () { throw new RuntimeError('Variable "ImageLoop" does not exist.'294$this->source); })())); }));
  510.                 // line 295
  511.                 echo "                                    ";
  512.                 if ((twig_get_attribute($this->env$this->source, ($context["ProductImageAlt"] ?? null), "alt_text", [], "any"truetruefalse295) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["ProductImageAlt"]) || array_key_exists("ProductImageAlt"$context) ? $context["ProductImageAlt"] : (function () { throw new RuntimeError('Variable "ProductImageAlt" does not exist.'295$this->source); })()), "alt_text", [], "any"falsefalsefalse295)))) {
  513.                     // line 296
  514.                     echo "                                        ";
  515.                     $context["altText"] = twig_get_attribute($this->env$this->source, (isset($context["ProductImageAlt"]) || array_key_exists("ProductImageAlt"$context) ? $context["ProductImageAlt"] : (function () { throw new RuntimeError('Variable "ProductImageAlt" does not exist.'296$this->source); })()), "alt_text", [], "any"falsefalsefalse296);
  516.                     // line 297
  517.                     echo "                                        <p class=\"text-center\" style=\"width:80%; margin-top:1em;\">";
  518.                     echo twig_escape_filter($this->env, (isset($context["altText"]) || array_key_exists("altText"$context) ? $context["altText"] : (function () { throw new RuntimeError('Variable "altText" does not exist.'297$this->source); })()), "html"nulltrue);
  519.                     echo "</p>
  520.                                     ";
  521.                 }
  522.                 // line 299
  523.                 echo "                                ";
  524.             }
  525.             // line 300
  526.             echo "                            </div>
  527.                         ";
  528.             $context['_iterated'] = true;
  529.             ++$context['loop']['index0'];
  530.             ++$context['loop']['index'];
  531.             $context['loop']['first'] = false;
  532.             if (isset($context['loop']['length'])) {
  533.                 --$context['loop']['revindex0'];
  534.                 --$context['loop']['revindex'];
  535.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  536.             }
  537.         }
  538.         if (!$context['_iterated']) {
  539.             // line 302
  540.             echo "                            <div class=\"slide-item\"><img src=\"";
  541.             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);
  542.             echo "\" alt=\"";
  543.             if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse302)) {
  544.                 ((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.'302$this->source); })()), "Maker", [], "any"falsefalsefalse302)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_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.'302$this->source); })()), "Maker", [], "any"falsefalsefalse302), "nameEn", [], "any"falsefalsefalse302) . " "), "html"nulltrue))) : (print ("")));
  545.                 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.'302$this->source); })()), "name", [], "any"falsefalsefalse302), "html"nulltrue);
  546.                 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.'302$this->source); })()), "model_year", [], "any"falsefalsefalse302)) {
  547.                     echo " ";
  548.                     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.'302$this->source); })()), "model_year", [], "any"falsefalsefalse302), "html"nulltrue);
  549.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("年モデル"), "html"nulltrue);
  550.                 }
  551.             }
  552.             echo "\" width=\"550\" height=\"550\"></div>
  553.                         ";
  554.         }
  555.         $_parent $context['_parent'];
  556.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  557.         $context array_intersect_key($context$_parent) + $_parent;
  558.         // line 304
  559.         echo "                    </div>
  560.                     <div class=\"item_nav\">
  561.                         ";
  562.         // line 306
  563.         $context["ImageLoop"] = "";
  564.         // line 307
  565.         echo "                        ";
  566.         $context['_parent'] = $context;
  567.         $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.'307$this->source); })()), "ProductImage", [], "any"falsefalsefalse307));
  568.         $context['loop'] = [
  569.           'parent' => $context['_parent'],
  570.           'index0' => 0,
  571.           'index'  => 1,
  572.           'first'  => true,
  573.         ];
  574.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  575.             $length count($context['_seq']);
  576.             $context['loop']['revindex0'] = $length 1;
  577.             $context['loop']['revindex'] = $length;
  578.             $context['loop']['length'] = $length;
  579.             $context['loop']['last'] = === $length;
  580.         }
  581.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  582.             // line 308
  583.             echo "                            ";
  584.             $context["ImageLoop"] = twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse308);
  585.             // line 309
  586.             echo "                            <div class=\"slideThumb\" data-index=\"";
  587.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse309), "html"nulltrue);
  588.             echo "\">
  589.                                 <img src=\"";
  590.             // line 310
  591.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  592.             echo "\" alt=\"";
  593.             ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'310$this->source); })()), "Maker", [], "any"falsefalsefalse310)) ? (print (twig_escape_filter($this->env, (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'310$this->source); })()), "Maker", [], "any"falsefalsefalse310), "nameEn", [], "any"falsefalsefalse310) . " "), "html"nulltrue))) : (print ("")));
  594.             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.'310$this->source); })()), "name", [], "any"falsefalsefalse310), "html"nulltrue);
  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.'310$this->source); })()), "model_year", [], "any"falsefalsefalse310)) {
  596.                 echo " ";
  597.                 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.'310$this->source); })()), "model_year", [], "any"falsefalsefalse310), "html"nulltrue);
  598.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("年モデル"), "html"nulltrue);
  599.             }
  600.             echo "\" width=\"133\" height=\"133\" loading=\"lazy\">
  601.                                 ";
  602.             // line 311
  603.             if ((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "ProductImageAlts", [], "any"truetruefalse311) &&  !(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.'311$this->source); })()), "ProductImageAlts", [], "any"falsefalsefalse311)))) {
  604.                 // line 312
  605.                 echo "                                    ";
  606.                 $context["altText"] = "";
  607.                 // line 313
  608.                 echo "                                    ";
  609.                 $context["ProductImageAlt"] = twig_first($this->envtwig_array_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.'313$this->source); })()), "ProductImageAlts", [], "any"falsefalsefalse313), function ($__alt__) use ($context$macros) { $context["alt"] = $__alt__; return (twig_get_attribute($this->env$this->source, (isset($context["alt"]) || array_key_exists("alt"$context) ? $context["alt"] : (function () { throw new RuntimeError('Variable "alt" does not exist.'313$this->source); })()), "sort_no", [], "any"falsefalsefalse313) == (isset($context["ImageLoop"]) || array_key_exists("ImageLoop"$context) ? $context["ImageLoop"] : (function () { throw new RuntimeError('Variable "ImageLoop" does not exist.'313$this->source); })())); }));
  610.                 // line 314
  611.                 echo "                                    ";
  612.                 if ((twig_get_attribute($this->env$this->source, ($context["ProductImageAlt"] ?? null), "alt_text", [], "any"truetruefalse314) &&  !(null === twig_get_attribute($this->env$this->source, (isset($context["ProductImageAlt"]) || array_key_exists("ProductImageAlt"$context) ? $context["ProductImageAlt"] : (function () { throw new RuntimeError('Variable "ProductImageAlt" does not exist.'314$this->source); })()), "alt_text", [], "any"falsefalsefalse314)))) {
  613.                     // line 315
  614.                     echo "                                        ";
  615.                     $context["altText"] = twig_get_attribute($this->env$this->source, (isset($context["ProductImageAlt"]) || array_key_exists("ProductImageAlt"$context) ? $context["ProductImageAlt"] : (function () { throw new RuntimeError('Variable "ProductImageAlt" does not exist.'315$this->source); })()), "alt_text", [], "any"falsefalsefalse315);
  616.                     // line 316
  617.                     echo "                                        <p class=\"text-center\" style=\"width:80%;\">";
  618.                     echo twig_escape_filter($this->env, (isset($context["altText"]) || array_key_exists("altText"$context) ? $context["altText"] : (function () { throw new RuntimeError('Variable "altText" does not exist.'316$this->source); })()), "html"nulltrue);
  619.                     echo "</p>
  620.                                     ";
  621.                 }
  622.                 // line 318
  623.                 echo "                                ";
  624.             }
  625.             // line 319
  626.             echo "                            </div>
  627.                         ";
  628.             ++$context['loop']['index0'];
  629.             ++$context['loop']['index'];
  630.             $context['loop']['first'] = false;
  631.             if (isset($context['loop']['length'])) {
  632.                 --$context['loop']['revindex0'];
  633.                 --$context['loop']['revindex'];
  634.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  635.             }
  636.         }
  637.         $_parent $context['_parent'];
  638.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  639.         $context array_intersect_key($context$_parent) + $_parent;
  640.         // line 321
  641.         echo "                    </div>
  642.                 </div>
  643.             </div>
  644.             <div class=\"ec-grid2__cell\">
  645.                 <div class=\"ec-productRole__profile\">
  646.                     ";
  647.         // line 327
  648.         echo "                    <div class=\"ec-productRole__title\">
  649.                         <h2 class=\"ec-headingTitle\">";
  650.         // line 328
  651.         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.'328$this->source); })()), "Maker", [], "any"falsefalsefalse328)) {
  652.             echo "<span class=\"small\"> ";
  653.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'328$this->source); })()), "Maker", [], "any"falsefalsefalse328), "nameEn", [], "any"falsefalsefalse328), "html"nulltrue);
  654.             echo "(";
  655.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'328$this->source); })()), "Maker", [], "any"falsefalsefalse328), "nameJp", [], "any"falsefalsefalse328), "html"nulltrue);
  656.             echo ")</span>";
  657.         }
  658.         echo "<br />";
  659.         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.'328$this->source); })()), "name", [], "any"falsefalsefalse328), "html"nulltrue);
  660.         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.'328$this->source); })()), "model_year", [], "any"falsefalsefalse328)) {
  661.             echo " ";
  662.             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.'328$this->source); })()), "model_year", [], "any"falsefalsefalse328), "html"nulltrue);
  663.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("年モデル"), "html"nulltrue);
  664.         }
  665.         echo "</h2>
  666.                     </div>
  667.                     ";
  668.         // line 331
  669.         echo "                    <ul class=\"ec-productRole__tags\">
  670.                         ";
  671.         // line 332
  672.         $context['_parent'] = $context;
  673.         $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.'332$this->source); })()), "Tags", [], "any"falsefalsefalse332));
  674.         foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  675.             // line 333
  676.             echo "                            <li class=\"ec-productRole__tag tag_";
  677.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsefalse333), "html"nulltrue);
  678.             echo "\">";
  679.             echo twig_escape_filter($this->env$context["Tag"], "html"nulltrue);
  680.             echo "</li>
  681.                         ";
  682.         }
  683.         $_parent $context['_parent'];
  684.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  685.         $context array_intersect_key($context$_parent) + $_parent;
  686.         // line 335
  687.         echo "                    </ul>
  688.                     ";
  689.         // line 337
  690.         echo "                    ";
  691.         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.'337$this->source); })()), "hasProductClass", [], "any"falsefalsefalse337)) {
  692.             // line 338
  693.             echo "<div class=\"ec-productRole__priceRegular\">
  694.                             ";
  695.             // line 339
  696.             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.'339$this->source); })()), "getPrice01Min", [], "any"falsefalsefalse339)) && (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"falsefalsefalse339) == 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); })()), "getPrice01IncTaxMax", [], "any"falsefalsefalse339)))) {
  697.                 // line 340
  698.                 echo "                                <span class=\"ec-productRole__priceRegularPrice\">";
  699.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メーカー希望小売価格"), "html"nulltrue);
  700.                 echo ":<span class=\"price01-default\">";
  701.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(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.'340$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse340)), "html"nulltrue);
  702.                 echo "</span></span>
  703.                                 <span class=\"ec-productRole__priceRegularTax\">";
  704.                 // line 341
  705.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  706.                 echo "</span>
  707.                             ";
  708.             } elseif (( !(null === twig_get_attribute($this->env$this->source,             // line 342
  709. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'342$this->source); })()), "getPrice01Min", [], "any"falsefalsefalse342)) &&  !(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.'342$this->source); })()), "getPrice01Max", [], "any"falsefalsefalse342)))) {
  710.                 // line 343
  711.                 echo "                                <span class=\"ec-productRole__priceRegularPrice\">";
  712.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メーカー希望小売価格"), "html"nulltrue);
  713.                 echo ":<span class=\"price01-default\">";
  714.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(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.'343$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse343)), "html"nulltrue);
  715.                 echo "~ ";
  716.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(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.'343$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsefalse343)), "html"nulltrue);
  717.                 echo "</span></span>
  718.                                 <span class=\"ec-productRole__priceRegularTax\">";
  719.                 // line 344
  720.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  721.                 echo "</span>
  722.                             ";
  723.             }
  724.             // line 346
  725.             echo "                        </div>
  726.                     ";
  727.         } else {
  728.             // line 348
  729.             echo "                        ";
  730.             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.'348$this->source); })()), "getPrice01Max", [], "any"falsefalsefalse348))) {
  731.                 // line 349
  732.                 echo "                            <span class=\"ec-productRole__priceRegularPrice\">";
  733.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メーカー希望小売価格"), "html"nulltrue);
  734.                 echo ":";
  735.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'349$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse349)), "html"nulltrue);
  736.                 echo "</span>
  737.                             <span class=\"ec-productRole__priceRegularTax\">";
  738.                 // line 350
  739.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  740.                 echo "</span>
  741.                         ";
  742.             }
  743.             // line 352
  744.             echo "                    ";
  745.         }
  746.         // line 353
  747.         echo "                    ";
  748.         // line 354
  749.         echo "                    ";
  750.         // line 355
  751.         echo "                    ";
  752.         // line 356
  753.         echo "                    ";
  754.         // line 357
  755.         echo "                    <div class=\"ec-productRole__price\">
  756.                         ";
  757.         // line 358
  758.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'358$this->source); })()), "hasProductClass", [], "any"falsefalsefalse358)) {
  759.             // line 360
  760.             echo "                            ";
  761.             if ((twig_in_filter("teika_price"twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'360$this->source); })()), "ask_price", [], "any"falsefalsefalse360)) && !twig_in_filter("hidden_price"twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'360$this->source); })()), "ask_price", [], "any"falsefalsefalse360)))) {
  762.                 // line 361
  763.                 echo "                            ";
  764.                 // line 362
  765.                 echo "                                ";
  766.                 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.'362$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse362) == twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'362$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse362))) {
  767.                     // line 363
  768.                     echo "                                    <div class=\"ec-price\">
  769.                                         <span class=\"ec-price__price\">販売価格:</span>
  770.                                         <span class=\"ec-price__price price02-default teika_price\">";
  771.                     // line 365
  772.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'365$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse365)), "html"nulltrue);
  773.                     echo "</span>
  774.                                         <span class=\"ec-price__tax\">";
  775.                     // line 366
  776.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  777.                     echo "</span>
  778.                                     </div>
  779.                                 ";
  780.                 } else {
  781.                     // line 369
  782.                     echo "                                    <div class=\"ec-price\">
  783.                                         <span class=\"ec-price__price\">販売価格:</span>
  784.                                         <span class=\"ec-price__price price02-default teika_price\">";
  785.                     // line 371
  786.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'371$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse371)), "html"nulltrue);
  787.                     echo " ~ ";
  788.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'371$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse371)), "html"nulltrue);
  789.                     echo "</span>
  790.                                         <span class=\"ec-price__tax\">";
  791.                     // line 372
  792.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  793.                     echo "</span>
  794.                                     </div>
  795.                                 ";
  796.                 }
  797.                 // line 375
  798.                 echo "                            ";
  799.             } elseif (twig_in_filter("hidden_price"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.'375$this->source); })()), "ask_price", [], "any"falsefalsefalse375))) {
  800.                 // line 376
  801.                 echo "                            ";
  802.                 // line 377
  803.                 echo "                                ";
  804.                 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.'377$this->source); })()), "info_comment2", [], "any"falsefalsefalse377))) {
  805.                     // line 378
  806.                     echo "                                    <div class=\"ec-price\">
  807.                                         <span class=\"ec-price__price\">";
  808.                     // line 379
  809.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'379$this->source); })()), "info_comment2", [], "any"falsefalsefalse379)), "html"nulltrue);
  810.                     echo "</span>
  811.                                     </div>
  812.                                 ";
  813.                 } elseif (twig_test_empty(twig_get_attribute($this->env$this->source,                 // line 381
  814. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'381$this->source); })()), "info_comment2", [], "any"falsefalsefalse381))) {
  815.                     // line 382
  816.                     echo "                                    <div class=\"ec-price\">
  817.                                         <span class=\"ec-price__price\">";
  818.                     // line 383
  819.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ビックリ大特価!"), "html"nulltrue);
  820.                     echo "</span>
  821.                                     </div>
  822.                                 ";
  823.                 }
  824.                 // line 386
  825.                 echo "                            ";
  826.             } else {
  827.                 // line 387
  828.                 echo "                            ";
  829.                 // line 388
  830.                 echo "                                ";
  831.                 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); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse388) == 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); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse388))) {
  832.                     // line 389
  833.                     echo "                                    <div class=\"ec-price\">
  834.                                         <span class=\"ec-price__price\">現金特価:</span>
  835.                                         <span class=\"ec-price__price price02-default genkin_tokka\">";
  836.                     // line 391
  837.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((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.'391$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse391) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  838.                     echo "</span>
  839.                                         <span class=\"ec-price__tax\">";
  840.                     // line 392
  841.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  842.                     echo "</span>
  843.                                     </div>
  844.                                 ";
  845.                 } else {
  846.                     // line 395
  847.                     echo "                                    <div class=\"ec-price\">
  848.                                         <span class=\"ec-price__price\">現金特価:</span>
  849.                                         <span class=\"ec-price__price price02-default genkin_tokka\">";
  850.                     // line 397
  851.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((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.'397$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse397) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  852.                     echo " ~ ";
  853.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((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.'397$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse397) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  854.                     echo "</span>
  855.                                         <span class=\"ec-price__tax\">";
  856.                     // line 398
  857.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  858.                     echo "</span>
  859.                                     </div>
  860.                                 ";
  861.                 }
  862.                 // line 401
  863.                 echo "                            ";
  864.             }
  865.             // line 402
  866.             echo "                        ";
  867.         } else {
  868.             // line 403
  869.             echo "                            ";
  870.             // line 404
  871.             echo "                            ";
  872.             if ((twig_in_filter("teika_price"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.'404$this->source); })()), "ask_price", [], "any"falsefalsefalse404)) && !twig_in_filter("hidden_price"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.'404$this->source); })()), "ask_price", [], "any"falsefalsefalse404)))) {
  873.                 // line 405
  874.                 echo "                                <div class=\"ec-price\">
  875.                                         <span class=\"ec-price__price\">販売価格:</span>
  876.                                     <span class=\"ec-price__price\">";
  877.                 // line 407
  878.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter(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.'407$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse407)), "html"nulltrue);
  879.                 echo "</span>
  880.                                     <span class=\"ec-price__tax\">";
  881.                 // line 408
  882.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  883.                 echo "</span>
  884.                                 </div>
  885.                             ";
  886.             } elseif ((twig_in_filter("hidden_price"twig_get_attribute($this->env$this->source,             // line 410
  887. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'410$this->source); })()), "ask_price", [], "any"falsefalsefalse410)) &&  !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.'410$this->source); })()), "info_comment2", [], "any"falsefalsefalse410)))) {
  888.                 // line 411
  889.                 echo "                                <div class=\"ec-price\">
  890.                                     <span class=\"ec-price__price\">";
  891.                 // line 412
  892.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(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.'412$this->source); })()), "info_comment2", [], "any"falsefalsefalse412)), "html"nulltrue);
  893.                 echo "</span>
  894.                                 </div>
  895.                             ";
  896.             } elseif ((twig_in_filter("hidden_price"twig_get_attribute($this->env$this->source,             // line 414
  897. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'414$this->source); })()), "ask_price", [], "any"falsefalsefalse414)) && 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.'414$this->source); })()), "info_comment2", [], "any"falsefalsefalse414)))) {
  898.                 // line 415
  899.                 echo "                                <div class=\"ec-price\">
  900.                                     <span class=\"ec-price__price\">";
  901.                 // line 416
  902.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ビックリ大特価!"), "html"nulltrue);
  903.                 echo "</span>
  904.                                 </div>
  905.                             ";
  906.             } else {
  907.                 // line 419
  908.                 echo "                                <div class=\"ec-price\">
  909.                                         <span class=\"ec-price__price\">現金特価:</span>
  910.                                     <span class=\"ec-price__price\">";
  911.                 // line 421
  912.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter((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.'421$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse421) / 1.0500000000000000444089209850062616169452667236328125)), "html"nulltrue);
  913.                 echo "</span>
  914.                                     <span class=\"ec-price__tax\">";
  915.                 // line 422
  916.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  917.                 echo "</span>
  918.                                 </div>
  919.                             ";
  920.             }
  921.             // line 425
  922.             echo "                        ";
  923.         }
  924.         // line 426
  925.         echo "                    </div>
  926.                     ";
  927.         // line 428
  928.         echo "                    ";
  929.         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.'428$this->source); })()), "code_min", [], "any"falsefalsefalse428))) {
  930.             // line 429
  931.             echo "                        <div class=\"ec-productRole__code\">
  932.                             ";
  933.             // line 430
  934.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品コード"), "html"nulltrue);
  935.             echo ": <span class=\"product-code-default\">";
  936.             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.'430$this->source); })()), "code_min", [], "any"falsefalsefalse430), "html"nulltrue);
  937.             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.'430$this->source); })()), "code_min", [], "any"falsefalsefalse430) != 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.'430$this->source); })()), "code_max", [], "any"falsefalsefalse430))) {
  938.                 echo " ~ ";
  939.                 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.'430$this->source); })()), "code_max", [], "any"falsefalsefalse430), "html"nulltrue);
  940.             }
  941.             echo "</span>
  942.                         </div>
  943.                     ";
  944.         }
  945.         // line 433
  946.         echo "
  947.                     ";
  948.         // line 435
  949.         echo "                    ";
  950.         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.'435$this->source); })()), "ProductCategories", [], "any"falsefalsefalse435))) {
  951.             // line 436
  952.             echo "                        <div class=\"ec-productRole__category\">
  953.                             <div>";
  954.             // line 437
  955.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("関連カテゴリ"), "html"nulltrue);
  956.             echo "</div>
  957.                             ";
  958.             // line 438
  959.             $context['_parent'] = $context;
  960.             $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.'438$this->source); })()), "ProductCategories", [], "any"falsefalsefalse438));
  961.             foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  962.                 // line 439
  963.                 echo "                                ";
  964.                 if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse439), "countBranches", [], "any"falsefalsefalse439) == 1)) {
  965.                     // line 440
  966.                     echo "                                    <ul>
  967.                                         <li>
  968.                                             ";
  969.                     // line 442
  970.                     $context['_parent'] = $context;
  971.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse442), "path", [], "any"falsefalsefalse442));
  972.                     $context['loop'] = [
  973.                       'parent' => $context['_parent'],
  974.                       'index0' => 0,
  975.                       'index'  => 1,
  976.                       'first'  => true,
  977.                     ];
  978.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  979.                         $length count($context['_seq']);
  980.                         $context['loop']['revindex0'] = $length 1;
  981.                         $context['loop']['revindex'] = $length;
  982.                         $context['loop']['length'] = $length;
  983.                         $context['loop']['last'] = === $length;
  984.                     }
  985.                     foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  986.                         // line 443
  987.                         echo "                                                <a href=\"";
  988.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  989.                         echo "?category_id=";
  990.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "id", [], "any"falsefalsefalse443), "html"nulltrue);
  991.                         echo "\">";
  992.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "name", [], "any"falsefalsefalse443), "html"nulltrue);
  993.                         echo "</a>";
  994.                         if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse443) == false)) {
  995.                             // line 444
  996.                             echo "                                                <span>></span>";
  997.                         }
  998.                         ++$context['loop']['index0'];
  999.                         ++$context['loop']['index'];
  1000.                         $context['loop']['first'] = false;
  1001.                         if (isset($context['loop']['length'])) {
  1002.                             --$context['loop']['revindex0'];
  1003.                             --$context['loop']['revindex'];
  1004.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  1005.                         }
  1006.                     }
  1007.                     $_parent $context['_parent'];
  1008.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  1009.                     $context array_intersect_key($context$_parent) + $_parent;
  1010.                     // line 446
  1011.                     echo "                                        </li>
  1012.                                     </ul>
  1013.                                 ";
  1014.                 }
  1015.                 // line 449
  1016.                 echo "                            ";
  1017.             }
  1018.             $_parent $context['_parent'];
  1019.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  1020.             $context array_intersect_key($context$_parent) + $_parent;
  1021.             // line 450
  1022.             echo "                        </div>
  1023.                     ";
  1024.         }
  1025.         // line 452
  1026.         echo "                    <form action=\"";
  1027.         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.'452$this->source); })()), "id", [], "any"falsefalsefalse452)]), "html"nulltrue);
  1028.         echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  1029.                         ";
  1030.         // line 453
  1031.         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.'453$this->source); })()), "stock_find", [], "any"falsefalsefalse453)) {
  1032.             // line 454
  1033.             echo "                            <div class=\"ec-productRole__actions\">
  1034.                                 ";
  1035.             // line 455
  1036.             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse455)) {
  1037.                 // line 456
  1038.                 echo "                                    <div class=\"ec-select\">
  1039.                                         ";
  1040.                 // line 457
  1041.                 $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(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.'457$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse457), [=> "Form/custom_form_div_layout.twig"], true);
  1042.                 // line 458
  1043.                 echo "                                        ";
  1044.                 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.'458$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse458), 'row');
  1045.                 echo "
  1046.                                         ";
  1047.                 // line 459
  1048.                 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.'459$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse459), 'errors');
  1049.                 echo "
  1050.                                     </div>
  1051.                                     ";
  1052.                 // line 461
  1053.                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse461)) {
  1054.                     // line 462
  1055.                     echo "                                        <div class=\"ec-select\">
  1056.                                             ";
  1057.                     // line 463
  1058.                     $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'463$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse463), [=> "Form/custom_form_div_layout.twig"], true);
  1059.                     // line 464
  1060.                     echo "                                            ";
  1061.                     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.'464$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse464), 'row');
  1062.                     echo "
  1063.                                             ";
  1064.                     // line 465
  1065.                     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.'465$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse465), 'errors');
  1066.                     echo "
  1067.                                         </div>
  1068.                                     ";
  1069.                 }
  1070.                 // line 468
  1071.                 echo "                                ";
  1072.             }
  1073.             // line 469
  1074.             echo "                                    <div class=\"ec-numberInput\"><span>";
  1075.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  1076.             echo "</span>
  1077.                                         ";
  1078.             // line 470
  1079.             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.'470$this->source); })()), "quantity", [], "any"falsefalsefalse470), 'widget');
  1080.             echo "
  1081.                                         ";
  1082.             // line 471
  1083.             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.'471$this->source); })()), "quantity", [], "any"falsefalsefalse471), 'errors');
  1084.             echo "
  1085.                                     </div>
  1086.                             </div>
  1087.                             ";
  1088.             // line 474
  1089.             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.'474$this->source); })()), "disable_cart", [], "any"falsefalsefalse474))) {
  1090.                 // line 475
  1091.                 echo "                                <div class=\"ec-productRole__btn\">
  1092.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1093.                                         ";
  1094.                 // line 477
  1095.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("対面販売の為、お問い合わせください。"), "html"nulltrue);
  1096.                 echo "
  1097.                                     </button>
  1098.                                 </div>
  1099.                             ";
  1100.             } elseif (twig_test_empty(twig_get_attribute($this->env$this->source,             // line 480
  1101. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'480$this->source); })()), "disable_cart", [], "any"falsefalsefalse480))) {
  1102.                 // line 481
  1103.                 echo "                               <div class=\"ec-productRole__btn\">
  1104.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  1105.                                         ";
  1106.                 // line 483
  1107.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  1108.                 echo "
  1109.                                     </button>
  1110.                                 </div>
  1111.                             ";
  1112.             }
  1113.             // line 487
  1114.             echo "                        ";
  1115.         } else {
  1116.             // line 488
  1117.             echo "                            ";
  1118.             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.'488$this->source); })()), "disable_cart", [], "any"falsefalsefalse488))) {
  1119.                 // line 489
  1120.                 echo "                                <div class=\"ec-productRole__btn\">
  1121.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1122.                                         ";
  1123.                 // line 491
  1124.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("対面販売の為、お問い合わせください。"), "html"nulltrue);
  1125.                 echo "
  1126.                                     </button>
  1127.                                 </div>
  1128.                             ";
  1129.             } elseif (twig_test_empty(twig_get_attribute($this->env$this->source,             // line 494
  1130. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'494$this->source); })()), "disable_cart", [], "any"falsefalsefalse494))) {
  1131.                 // line 495
  1132.                 echo "                                <div class=\"ec-productRole__btn\">
  1133.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1134.                                         ";
  1135.                 // line 497
  1136.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  1137.                 echo "
  1138.                                     </button>
  1139.                                 </div>
  1140.                             ";
  1141.             }
  1142.             // line 501
  1143.             echo "                        ";
  1144.         }
  1145.         // line 502
  1146.         echo "
  1147.                         ";
  1148.         // line 503
  1149.         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.'503$this->source); })()), 'rest');
  1150.         echo "
  1151.                     </form>
  1152.                     <div class=\"ec-modal\">
  1153.                         <div class=\"ec-modal-overlay\">
  1154.                             <div class=\"ec-modal-wrap\">
  1155.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  1156.         // line 509
  1157.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  1158.         echo "\" alt=\"\"/></span></span>
  1159.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  1160.         // line 510
  1161.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  1162.         echo "</div>
  1163.                                 <div class=\"ec-modal-box\">
  1164.                                     <div class=\"ec-role\">
  1165.                                         <span class=\"ec-inlineBtn--cancel\">";
  1166.         // line 513
  1167.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  1168.         echo "</span>
  1169.                                         <a href=\"";
  1170.         // line 514
  1171.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  1172.         echo "\" class=\"ec-inlineBtn--action\">";
  1173.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  1174.         echo "</a>
  1175.                                     </div>
  1176.                                 </div>
  1177.                             </div>
  1178.                         </div>
  1179.                     </div>
  1180.                     <div class=\"ec-productRole__btn\">
  1181.                                 <button onclick=\"location.href='";
  1182.         // line 521
  1183.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact", ["contact_pname" => (isset($context["contact_pname"]) || array_key_exists("contact_pname"$context) ? $context["contact_pname"] : (function () { throw new RuntimeError('Variable "contact_pname" does not exist.'521$this->source); })()), "contact_pcode" => (isset($context["contact_pcode"]) || array_key_exists("contact_pcode"$context) ? $context["contact_pcode"] : (function () { throw new RuntimeError('Variable "contact_pcode" does not exist.'521$this->source); })()), "contact_pid" => (isset($context["contact_pid"]) || array_key_exists("contact_pid"$context) ? $context["contact_pid"] : (function () { throw new RuntimeError('Variable "contact_pid" does not exist.'521$this->source); })())]), "html"nulltrue);
  1184.         echo "'\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1185.                                     ";
  1186.         // line 522
  1187.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  1188.         echo "
  1189.                                 </button>
  1190.                             </div>
  1191.                     <!--";
  1192.         // line 525
  1193.         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.'525$this->source); })()), "option_favorite_product", [], "any"falsefalsefalse525)) {
  1194.             // line 526
  1195.             echo "                        <form action=\"";
  1196.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
  1197.             echo "\" method=\"post\">
  1198.                             <div class=\"ec-productRole__btn\">
  1199.                                 ";
  1200.             // line 528
  1201.             if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'528$this->source); })()) == false)) {
  1202.                 // line 529
  1203.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1204.                                         ";
  1205.                 // line 530
  1206.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お問い合わせ"), "html"nulltrue);
  1207.                 echo "
  1208.                                     </button>
  1209.                                 ";
  1210.             } else {
  1211.                 // line 533
  1212.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1213.                                             disabled=\"disabled\">";
  1214.                 // line 534
  1215.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html"nulltrue);
  1216.                 echo "
  1217.                                     </button>
  1218.                                 ";
  1219.             }
  1220.             // line 537
  1221.             echo "                            </div>
  1222.                         </form>
  1223.                     ";
  1224.         }
  1225.         // line 539
  1226.         echo "-->
  1227.                     ";
  1228.         // line 542
  1229.         echo "                    <div>
  1230.                         <ul>
  1231.                             ";
  1232.         // line 544
  1233.         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.'544$this->source); })()), "stock_find", [], "any"falsefalsefalse544)) {
  1234.             echo " ";
  1235.             // line 545
  1236.             echo "                                <li><span class=\"ec-color-red\">在庫有り表示でも店頭展示していない場合があります。<span class=\"ec-font-bold\">実物をご覧になりたい場合はご来店前にメールにてご連絡ください。</span></span></li>
  1237.                             ";
  1238.         }
  1239.         // line 547
  1240.         echo "                            ";
  1241.         if ((twig_length_filter($this->envtwig_array_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.'547$this->source); })()), "Tags", [], "any"falsefalsefalse547), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'547$this->source); })()), "id", [], "any"falsefalsefalse547) == 10); })) > 0)) {
  1242.             echo " ";
  1243.             // line 548
  1244.             echo "                                <li>メーカー取寄せとなります。在庫状況はできる限り反映しておりますが、タイミングによっては欠品の場合もございます。</li>
  1245.                             ";
  1246.         }
  1247.         // line 550
  1248.         echo "                            ";
  1249.         if (twig_in_filter("f2f"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.'550$this->source); })()), "delivery_product_type", [], "any"falsefalsefalse550))) {
  1250.             echo " ";
  1251.             // line 551
  1252.             echo "                                <li>こちらの商品は原則<span class=\"ec-font-bold\">対面販売</span>となります。ご購入の際は店頭かメールにてご相談ください。</li>
  1253.                             ";
  1254.         }
  1255.         // line 553
  1256.         echo "                            ";
  1257.         if (twig_in_filter("ebike"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.'553$this->source); })()), "delivery_product_type", [], "any"falsefalsefalse553))) {
  1258.             echo " ";
  1259.             // line 554
  1260.             echo "                                <li>大型商品となります。<span class=\"ec-font-bold\">配送をご希望の場合は送料にご注意ください。</span>当店より30km圏内であれば、弊社スタッフが配送に伺いますので送料無料です。詳しくは店頭にてご相談ください。</li>
  1261.                             ";
  1262.         }
  1263.         // line 556
  1264.         echo "                            ";
  1265.         if ((twig_length_filter($this->envtwig_array_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.'556$this->source); })()), "Tags", [], "any"falsefalsefalse556), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'556$this->source); })()), "id", [], "any"falsefalsefalse556) == 8); })) > 0)) {
  1266.             echo " ";
  1267.             // line 557
  1268.             echo "                                <li><span class=\"ec-font-bold\">アウトレット品となります。</span>キズや塗装不良がある場合や、通常商品と保証内容が異なる場合があります。詳しくは店頭かメールにてご相談ください。</li>
  1269.                             ";
  1270.         }
  1271.         // line 559
  1272.         echo "                            ";
  1273.         if ((twig_length_filter($this->envtwig_array_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.'559$this->source); })()), "Tags", [], "any"falsefalsefalse559), function ($__tag__) use ($context$macros) { $context["tag"] = $__tag__; return (twig_get_attribute($this->env$this->source, (isset($context["tag"]) || array_key_exists("tag"$context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.'559$this->source); })()), "id", [], "any"falsefalsefalse559) == 7); })) > 0)) {
  1274.             echo " ";
  1275.             // line 560
  1276.             echo "                                <li>代理店取り寄せの特価品です。当店で在庫はしていない場合は実物をご覧いただけません。</li>
  1277.                             ";
  1278.         }
  1279.         // line 562
  1280.         echo "                        </ul>
  1281.                     </div>
  1282.                 </div>
  1283.             </div>
  1284.         </div>
  1285.         ";
  1286.         // line 568
  1287.         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.'568$this->source); })()), "description_detail", [], "any"falsefalsefalse568)) {
  1288.             // line 569
  1289.             echo "            <div class=\"ec-productRole__description\">";
  1290.             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.'569$this->source); })()), "description_detail", [], "any"falsefalsefalse569));
  1291.             echo "
  1292.                     </div>
  1293.         ";
  1294.         }
  1295.         // line 572
  1296.         echo "
  1297.         ";
  1298.         // line 573
  1299.         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.'573$this->source); })()), "freearea", [], "any"falsefalsefalse573)) {
  1300.             // line 574
  1301.             echo "             <div class=\"ec-productRole__description\">
  1302.                  ";
  1303.             // line 575
  1304.             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.'575$this->source); })()), "freearea", [], "any"falsefalsefalse575)));
  1305.             echo "
  1306.             </div>
  1307.         ";
  1308.         }
  1309.         // line 578
  1310.         echo "    </div>
  1311. ";
  1312.         
  1313.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1314.         
  1315.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1316.     }
  1317.     public function getTemplateName()
  1318.     {
  1319.         return "Product/detail.twig";
  1320.     }
  1321.     public function isTraitable()
  1322.     {
  1323.         return false;
  1324.     }
  1325.     public function getDebugInfo()
  1326.     {
  1327.         return array (  1359 => 578,  1353 => 575,  1350 => 574,  1348 => 573,  1345 => 572,  1338 => 569,  1336 => 568,  1328 => 562,  1324 => 560,  1320 => 559,  1316 => 557,  1312 => 556,  1308 => 554,  1304 => 553,  1300 => 551,  1296 => 550,  1292 => 548,  1288 => 547,  1284 => 545,  1281 => 544,  1277 => 542,  1273 => 539,  1268 => 537,  1262 => 534,  1259 => 533,  1253 => 530,  1250 => 529,  1248 => 528,  1242 => 526,  1240 => 525,  1234 => 522,  1230 => 521,  1218 => 514,  1214 => 513,  1208 => 510,  1204 => 509,  1195 => 503,  1192 => 502,  1189 => 501,  1182 => 497,  1178 => 495,  1176 => 494,  1170 => 491,  1166 => 489,  1163 => 488,  1160 => 487,  1153 => 483,  1149 => 481,  1147 => 480,  1141 => 477,  1137 => 475,  1135 => 474,  1129 => 471,  1125 => 470,  1120 => 469,  1117 => 468,  1111 => 465,  1106 => 464,  1104 => 463,  1101 => 462,  1099 => 461,  1094 => 459,  1089 => 458,  1087 => 457,  1084 => 456,  1082 => 455,  1079 => 454,  1077 => 453,  1072 => 452,  1068 => 450,  1062 => 449,  1057 => 446,  1042 => 444,  1033 => 443,  1016 => 442,  1012 => 440,  1009 => 439,  1005 => 438,  1001 => 437,  998 => 436,  995 => 435,  992 => 433,  980 => 430,  977 => 429,  974 => 428,  971 => 426,  968 => 425,  962 => 422,  958 => 421,  954 => 419,  948 => 416,  945 => 415,  943 => 414,  938 => 412,  935 => 411,  933 => 410,  928 => 408,  924 => 407,  920 => 405,  917 => 404,  915 => 403,  912 => 402,  909 => 401,  903 => 398,  897 => 397,  893 => 395,  887 => 392,  883 => 391,  879 => 389,  876 => 388,  874 => 387,  871 => 386,  865 => 383,  862 => 382,  860 => 381,  855 => 379,  852 => 378,  849 => 377,  847 => 376,  844 => 375,  838 => 372,  832 => 371,  828 => 369,  822 => 366,  818 => 365,  814 => 363,  811 => 362,  809 => 361,  806 => 360,  804 => 358,  801 => 357,  799 => 356,  797 => 355,  795 => 354,  793 => 353,  790 => 352,  785 => 350,  778 => 349,  775 => 348,  771 => 346,  766 => 344,  757 => 343,  755 => 342,  751 => 341,  744 => 340,  742 => 339,  739 => 338,  736 => 337,  733 => 335,  722 => 333,  718 => 332,  715 => 331,  697 => 328,  694 => 327,  687 => 321,  672 => 319,  669 => 318,  663 => 316,  660 => 315,  657 => 314,  654 => 313,  651 => 312,  649 => 311,  637 => 310,  632 => 309,  629 => 308,  611 => 307,  609 => 306,  605 => 304,  586 => 302,  572 => 300,  569 => 299,  563 => 297,  560 => 296,  557 => 295,  554 => 294,  551 => 293,  549 => 292,  531 => 291,  528 => 290,  525 => 289,  506 => 288,  504 => 287,  496 => 281,  486 => 280,  471 => 274,  467 => 273,  463 => 272,  459 => 271,  455 => 269,  449 => 267,  447 => 266,  442 => 265,  439 => 264,  429 => 262,  415 => 260,  407 => 259,  389 => 258,  375 => 256,  352 => 236,  342 => 229,  312 => 202,  307 => 199,  298 => 193,  294 => 191,  292 => 190,  289 => 189,  280 => 183,  276 => 181,  274 => 180,  208 => 116,  200 => 114,  198 => 113,  193 => 111,  190 => 110,  188 => 109,  173 => 97,  170 => 96,  160 => 95,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  1328.     }
  1329.     public function getSourceContext()
  1330.     {
  1331.         return new Source("{#
  1332. This file is part of EC-CUBE
  1333. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1334. http://www.ec-cube.co.jp/
  1335. For the full copyright and license information, please view the LICENSE
  1336. file that was distributed with this source code.
  1337. #}
  1338. {% extends 'default_frame.twig' %}
  1339. {% set body_class = 'product_page' %}
  1340. {% block stylesheet %}
  1341.     <style>
  1342.         .slick-slider {
  1343.             margin-bottom: 30px;
  1344.         }
  1345.         .slick-dots {
  1346.             position: absolute;
  1347.             bottom: -45px;
  1348.             display: block;
  1349.             width: 100%;
  1350.             padding: 0;
  1351.             list-style: none;
  1352.             text-align: center;
  1353.         }
  1354.         .slick-dots li {
  1355.             position: relative;
  1356.             display: inline-block;
  1357.             width: 20px;
  1358.             height: 20px;
  1359.             margin: 0 5px;
  1360.             padding: 0;
  1361.             cursor: pointer;
  1362.         }
  1363.         .slick-dots li button {
  1364.             font-size: 0;
  1365.             line-height: 0;
  1366.             display: block;
  1367.             width: 20px;
  1368.             height: 20px;
  1369.             padding: 5px;
  1370.             cursor: pointer;
  1371.             color: transparent;
  1372.             border: 0;
  1373.             outline: none;
  1374.             background: transparent;
  1375.         }
  1376.         .slick-dots li button:hover,
  1377.         .slick-dots li button:focus {
  1378.             outline: none;
  1379.         }
  1380.         .slick-dots li button:hover:before,
  1381.         .slick-dots li button:focus:before {
  1382.             opacity: 1;
  1383.         }
  1384.         .slick-dots li button:before {
  1385.             content: \" \";
  1386.             line-height: 20px;
  1387.             position: absolute;
  1388.             top: 0;
  1389.             left: 0;
  1390.             width: 12px;
  1391.             height: 12px;
  1392.             text-align: center;
  1393.             opacity: .25;
  1394.             background-color: black;
  1395.             border-radius: 50%;
  1396.         }
  1397.         .slick-dots li.slick-active button:before {
  1398.             opacity: .75;
  1399.             background-color: black;
  1400.         }
  1401.         .slick-dots li button.thumbnail img {
  1402.             width: 0;
  1403.             height: 0;
  1404.         }
  1405.     </style>
  1406. {% endblock %}
  1407. {% block javascript %}
  1408.     <script>
  1409.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  1410.         
  1411.         // 規格2に選択肢を割り当てる。
  1412.         function fnSetClassCategories(form, classcat_id2_selected) {
  1413.             var \$form = \$(form);
  1414.             var product_id = \$form.find('input[name=product_id]').val();
  1415.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  1416.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  1417.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  1418.         }
  1419.         {% if form.classcategory_id2 is defined %}
  1420.         fnSetClassCategories(
  1421.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  1422.         );
  1423.         {% elseif form.classcategory_id1 is defined %}
  1424.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  1425.         {% endif %}
  1426.     </script>
  1427.     <script>
  1428.         \$(function() {
  1429.             // bfcache無効化
  1430.             \$(window).bind('pageshow', function(event) {
  1431.                 if (event.originalEvent.persisted) {
  1432.                     location.reload(true);
  1433.                 }
  1434.             });
  1435.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  1436.             // img タグに width, height が付与されている.
  1437.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  1438.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  1439.             \$('.ec-grid2__cell').hide();
  1440.             var removeSize = function () {
  1441.                 \$('.slide-item').height('');
  1442.                 \$('.slide-item img')
  1443.                     .removeAttr('width')
  1444.                     .removeAttr('height')
  1445.                     .removeAttr('style');
  1446.             };
  1447.             var slickInitial = function(slick) {
  1448.                 \$('.ec-grid2__cell').fadeIn(1500);
  1449.                 var baseHeight = \$(slick.target).height();
  1450.                 var baseWidth = \$(slick.target).width();
  1451.                 var rate = baseWidth / baseHeight;
  1452.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  1453.                 // transform を使用することでCLSの影響を受けないようにする
  1454.                 \$('.slide-item img')
  1455.                     .css(
  1456.                         {
  1457.                             'transform-origin': 'top left',
  1458.                             'transform': 'scaleY(' + rate + ')',
  1459.                             'transition': 'transform .1s'
  1460.                         }
  1461.                     );
  1462.                 // 正しいサイズに近くなったら属性を解除する
  1463.                 setTimeout(removeSize, 500);
  1464.             };
  1465.             \$('.item_visual').on('init', slickInitial);
  1466.             // リサイズ時は CLS の影響を受けないため属性を解除する
  1467.             \$(window).resize(removeSize);
  1468.             \$('.item_visual').slick({
  1469.                 dots: false,
  1470.                 arrows: false,
  1471.                 responsive: [{
  1472.                     breakpoint: 768,
  1473.                     settings: {
  1474.                         dots: true
  1475.                     }
  1476.                 }]
  1477.             });
  1478.             \$('.slideThumb').on('click', function() {
  1479.                 var index = \$(this).attr('data-index');
  1480.                 \$('.item_visual').slick('slickGoTo', index, false);
  1481.             })
  1482.         });
  1483.     </script>
  1484.     <script>
  1485.         \$(function() {
  1486.             \$('.add-cart').on('click', function(event) {
  1487.                 {% if form.classcategory_id1 is defined %}
  1488.                 // 規格1フォームの必須チェック
  1489.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  1490.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1491.                     return true;
  1492.                 } else {
  1493.                     \$('#classcategory_id1')[0].setCustomValidity('');
  1494.                 }
  1495.                 {% endif %}
  1496.                 {% if form.classcategory_id2 is defined %}
  1497.                 // 規格2フォームの必須チェック
  1498.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  1499.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1500.                     return true;
  1501.                 } else {
  1502.                     \$('#classcategory_id2')[0].setCustomValidity('');
  1503.                 }
  1504.                 {% endif %}
  1505.                 // 個数フォームのチェック
  1506.                 if (\$('#quantity').val() < 1) {
  1507.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1508.                     return true;
  1509.                 } else {
  1510.                     \$('#quantity')[0].setCustomValidity('');
  1511.                 }
  1512.                 event.preventDefault();
  1513.                 \$form = \$('#form1');
  1514.                 \$.ajax({
  1515.                     url: \$form.attr('action'),
  1516.                     type: \$form.attr('method'),
  1517.                     data: \$form.serialize(),
  1518.                     dataType: 'json',
  1519.                     beforeSend: function(xhr, settings) {
  1520.                         // Buttonを無効にする
  1521.                         \$('.add-cart').prop('disabled', true);
  1522.                     }
  1523.                 }).done(function(data) {
  1524.                     // レスポンス内のメッセージをalertで表示
  1525.                     \$.each(data.messages, function() {
  1526.                         \$('#ec-modal-header').text(this);
  1527.                     });
  1528.                     \$('.ec-modal').show()
  1529.                     // カートブロックを更新する
  1530.                     \$.ajax({
  1531.                         url: \"{{ url('block_cart') }}\",
  1532.                         type: 'GET',
  1533.                         dataType: 'html'
  1534.                     }).done(function(html) {
  1535.                         \$('.ec-headerRole__cart').html(html);
  1536.                     });
  1537.                 }).fail(function(data) {
  1538.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1539.                 }).always(function(data) {
  1540.                     // Buttonを有効にする
  1541.                     \$('.add-cart').prop('disabled', false);
  1542.                 });
  1543.             });
  1544.         });
  1545.         \$('.ec-modal-wrap').on('click', function(e) {
  1546.             // モーダル内の処理は外側にバブリングさせない
  1547.             e.stopPropagation();
  1548.         });
  1549.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  1550.             \$('.ec-modal').hide()
  1551.         });
  1552.     </script>
  1553.     <script type=\"application/ld+json\">
  1554.     {
  1555.         \"@context\": \"https://schema.org/\",
  1556.         \"@type\": \"Product\",
  1557.         \"name\": \"{% if Product.Maker %}{{ Product.Maker.nameEn }} {% endif %}{{ Product.name }}{% if Product.model_year %} {{ Product.model_year }}{{ '年モデル'|trans }}{% endif %}\",
  1558.         \"image\": [
  1559.             {% for img in Product.ProductImage %}
  1560.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
  1561.             {% else %}
  1562.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
  1563.             {% endfor %}
  1564.         ],
  1565.     \"description\": \"{{ (Product.description_list ~ ' ' ~ Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
  1566.         {% if Product.code_min %}
  1567.         \"sku\": \"{{ Product.code_min }}\",
  1568.         {% endif %}
  1569.         \"offers\": {
  1570.             \"@type\": \"Offer\",
  1571.             \"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
  1572.             \"priceCurrency\": \"{{ eccube_config.currency }}\",
  1573.             \"price\": {{ Product.getPrice02IncTaxMin ? (Product.getPrice02IncTaxMin / 1.05)|round(0, 'common') : 0}},
  1574.             \"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
  1575.         }
  1576.     }
  1577.     </script>
  1578. {% endblock %}
  1579. {% block main %}
  1580.     <div class=\"ec-productRole\">
  1581.         <div class=\"ec-grid2\">
  1582.             <div class=\"ec-grid2__cell\">
  1583.                 <div class=\"ec-sliderItemRole\">
  1584.                     <div class=\"item_visual\">
  1585.                         {% set ImageLoop = '' %}
  1586.                         {% for ProductImage in Product.ProductImage %}
  1587.                             {% set ImageLoop = loop.index %}
  1588.                             <div class=\"slide-item\">
  1589.                                 <img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{% if loop.first %}{{ Product.Maker ? Product.Maker.nameEn ~ ' ' : '' }}{{ Product.name }}{% if Product.model_year %} {{ Product.model_year }}{{ '年モデル'|trans }}{% endif %}{% endif %}\" width=\"550\" height=\"550\"{% if loop.index > 1 %} loading=\"lazy\"{% endif %}>
  1590.                                 {% if Product.ProductImageAlts is defined and Product.ProductImageAlts is not null %}
  1591.                                     {% set altText = '' %}
  1592.                                     {% set ProductImageAlt = Product.ProductImageAlts|filter(alt => alt.sort_no == ImageLoop)|first %}
  1593.                                     {% if ProductImageAlt.alt_text is defined and ProductImageAlt.alt_text is not null %}
  1594.                                         {% set altText = ProductImageAlt.alt_text %}
  1595.                                         <p class=\"text-center\" style=\"width:80%; margin-top:1em;\">{{ altText }}</p>
  1596.                                     {% endif %}
  1597.                                 {% endif %}
  1598.                             </div>
  1599.                         {% else %}
  1600.                             <div class=\"slide-item\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" alt=\"{% if loop.first %}{{ Product.Maker ? Product.Maker.nameEn ~ ' ' : '' }}{{ Product.name }}{% if Product.model_year %} {{ Product.model_year }}{{ '年モデル'|trans }}{% endif %}{% endif %}\" width=\"550\" height=\"550\"></div>
  1601.                         {% endfor %}
  1602.                     </div>
  1603.                     <div class=\"item_nav\">
  1604.                         {% set ImageLoop = '' %}
  1605.                         {% for ProductImage in Product.ProductImage %}
  1606.                             {% set ImageLoop = loop.index %}
  1607.                             <div class=\"slideThumb\" data-index=\"{{ loop.index0 }}\">
  1608.                                 <img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{{ Product.Maker ? Product.Maker.nameEn ~ ' ' : '' }}{{ Product.name }}{% if Product.model_year %} {{ Product.model_year }}{{ '年モデル'|trans }}{% endif %}\" width=\"133\" height=\"133\" loading=\"lazy\">
  1609.                                 {% if Product.ProductImageAlts is defined and Product.ProductImageAlts is not null %}
  1610.                                     {% set altText = '' %}
  1611.                                     {% set ProductImageAlt = Product.ProductImageAlts|filter(alt => alt.sort_no == ImageLoop)|first %}
  1612.                                     {% if ProductImageAlt.alt_text is defined and ProductImageAlt.alt_text is not null %}
  1613.                                         {% set altText = ProductImageAlt.alt_text %}
  1614.                                         <p class=\"text-center\" style=\"width:80%;\">{{ altText }}</p>
  1615.                                     {% endif %}
  1616.                                 {% endif %}
  1617.                             </div>
  1618.                         {% endfor %}
  1619.                     </div>
  1620.                 </div>
  1621.             </div>
  1622.             <div class=\"ec-grid2__cell\">
  1623.                 <div class=\"ec-productRole__profile\">
  1624.                     {# 商品名 #}
  1625.                     <div class=\"ec-productRole__title\">
  1626.                         <h2 class=\"ec-headingTitle\">{% if Product.Maker %}<span class=\"small\"> {{ Product.Maker.nameEn }}({{ Product.Maker.nameJp }})</span>{% endif %}<br />{{ Product.name }}{% if Product.model_year %} {{ Product.model_year }}{{ '年モデル'|trans }}{% endif %}</h2>
  1627.                     </div>
  1628.                     {# タグ #}
  1629.                     <ul class=\"ec-productRole__tags\">
  1630.                         {% for Tag in Product.Tags %}
  1631.                             <li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  1632.                         {% endfor %}
  1633.                     </ul>
  1634.                     {# 通常価格 #}
  1635.                     {% if Product.hasProductClass -%}
  1636.                         <div class=\"ec-productRole__priceRegular\">
  1637.                             {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  1638.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ 'メーカー希望小売価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  1639.                                 <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1640.                             {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  1641.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ 'メーカー希望小売価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  1642.                                 <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1643.                             {% endif %}
  1644.                         </div>
  1645.                     {% else %}
  1646.                         {% if Product.getPrice01Max is not null %}
  1647.                             <span class=\"ec-productRole__priceRegularPrice\">{{ 'メーカー希望小売価格'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  1648.                             <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1649.                         {% endif %}
  1650.                     {% endif %}
  1651.                     {# 販売価格、その他備考 #}
  1652.                     {# 表示について、規格1の選択肢がapp/Customize/Entity/ProductTrait.php、規格2の選択肢はeccube.jsで制御。 #}
  1653.                     {# 規格を持たない商品はこのファイル上で制御しているよう。 #}
  1654.                     {# 表示フラグ系はProductTypeExtension.phpで実装、ask_priceのみカートに値を渡して、値引処理に使用している。 #}
  1655.                     <div class=\"ec-productRole__price\">
  1656.                         {% if Product.hasProductClass -%}
  1657.                             {# 規格を持つ商品の場合の処理 #}
  1658.                             {% if 'teika_price' in Product.ask_price and 'hidden_price' not in Product.ask_price %}
  1659.                             {# 現金特価未適用フラグがある場合、現金特価計算をさせないように動作。規格1規格2がある場合の動作修正はeccube.jsも触る。 #}
  1660.                                 {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1661.                                     <div class=\"ec-price\">
  1662.                                         <span class=\"ec-price__price\">販売価格:</span>
  1663.                                         <span class=\"ec-price__price price02-default teika_price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1664.                                         <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1665.                                     </div>
  1666.                                 {% else %}
  1667.                                     <div class=\"ec-price\">
  1668.                                         <span class=\"ec-price__price\">販売価格:</span>
  1669.                                         <span class=\"ec-price__price price02-default teika_price\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  1670.                                         <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1671.                                     </div>
  1672.                                 {% endif %}
  1673.                             {% elseif 'hidden_price' in Product.ask_price %}
  1674.                             {# 売価非表示フラグがある場合の処理。コメントありとなしで条件分岐。 #}
  1675.                                 {% if Product.info_comment2 is not empty %}
  1676.                                     <div class=\"ec-price\">
  1677.                                         <span class=\"ec-price__price\">{{ Product.info_comment2|trans }}</span>
  1678.                                     </div>
  1679.                                 {% elseif Product.info_comment2 is empty %}
  1680.                                     <div class=\"ec-price\">
  1681.                                         <span class=\"ec-price__price\">{{ 'ビックリ大特価!'|trans }}</span>
  1682.                                     </div>
  1683.                                 {% endif %}
  1684.                             {% else %}
  1685.                             {# 条件なしの処理。現金特価での表示。規格2がある場合の動作修正はeccube.jsも同時に触る必要がある。 #}
  1686.                                 {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1687.                                     <div class=\"ec-price\">
  1688.                                         <span class=\"ec-price__price\">現金特価:</span>
  1689.                                         <span class=\"ec-price__price price02-default genkin_tokka\">{{ (Product.getPrice02IncTaxMin / 1.05)|price }}</span>
  1690.                                         <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1691.                                     </div>
  1692.                                 {% else %}
  1693.                                     <div class=\"ec-price\">
  1694.                                         <span class=\"ec-price__price\">現金特価:</span>
  1695.                                         <span class=\"ec-price__price price02-default genkin_tokka\">{{ (Product.getPrice02IncTaxMin / 1.05)|price }} ~ {{ (Product.getPrice02IncTaxMax / 1.05)|price }}</span>
  1696.                                         <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1697.                                     </div>
  1698.                                 {% endif %}
  1699.                             {% endif %}
  1700.                         {% else %}
  1701.                             {# 規格がない商品の場合の処理 #}
  1702.                             {% if 'teika_price' in Product.ask_price and 'hidden_price' not in Product.ask_price %}
  1703.                                 <div class=\"ec-price\">
  1704.                                         <span class=\"ec-price__price\">販売価格:</span>
  1705.                                     <span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1706.                                     <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1707.                                 </div>
  1708.                             {% elseif 'hidden_price' in Product.ask_price and Product.info_comment2 is not empty %}
  1709.                                 <div class=\"ec-price\">
  1710.                                     <span class=\"ec-price__price\">{{ Product.info_comment2|trans }}</span>
  1711.                                 </div>
  1712.                             {% elseif 'hidden_price' in Product.ask_price and Product.info_comment2 is empty %}
  1713.                                 <div class=\"ec-price\">
  1714.                                     <span class=\"ec-price__price\">{{ 'ビックリ大特価!'|trans }}</span>
  1715.                                 </div>
  1716.                             {% else %}
  1717.                                 <div class=\"ec-price\">
  1718.                                         <span class=\"ec-price__price\">現金特価:</span>
  1719.                                     <span class=\"ec-price__price\">{{ (Product.getPrice02IncTaxMin / 1.05)|price }}</span>
  1720.                                     <span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
  1721.                                 </div>
  1722.                             {% endif %}
  1723.                         {% endif %}
  1724.                     </div>
  1725.                     {# 商品コード #}
  1726.                     {% if Product.code_min is not empty %}
  1727.                         <div class=\"ec-productRole__code\">
  1728.                             {{ '商品コード'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  1729.                         </div>
  1730.                     {% endif %}
  1731.                     {# 関連カテゴリ #}
  1732.                     {% if Product.ProductCategories is not empty %}
  1733.                         <div class=\"ec-productRole__category\">
  1734.                             <div>{{ '関連カテゴリ'|trans }}</div>
  1735.                             {% for ProductCategory in Product.ProductCategories %}
  1736.                                 {% if ProductCategory.Category.countBranches == 1 %}
  1737.                                     <ul>
  1738.                                         <li>
  1739.                                             {% for Category in ProductCategory.Category.path %}
  1740.                                                 <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a> {%- if loop.last == false %}
  1741.                                                 <span>></span>{% endif -%}
  1742.                                             {% endfor %}
  1743.                                         </li>
  1744.                                     </ul>
  1745.                                 {% endif %}
  1746.                             {% endfor %}
  1747.                         </div>
  1748.                     {% endif %}
  1749.                     <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  1750.                         {% if Product.stock_find %}
  1751.                             <div class=\"ec-productRole__actions\">
  1752.                                 {% if form.classcategory_id1 is defined %}
  1753.                                     <div class=\"ec-select\">
  1754.                                         {% form_theme form.classcategory_id1 'Form/custom_form_div_layout.twig' %}
  1755.                                         {{ form_row(form.classcategory_id1) }}
  1756.                                         {{ form_errors(form.classcategory_id1) }}
  1757.                                     </div>
  1758.                                     {% if form.classcategory_id2 is defined %}
  1759.                                         <div class=\"ec-select\">
  1760.                                             {% form_theme form.classcategory_id2 'Form/custom_form_div_layout.twig' %}
  1761.                                             {{ form_row(form.classcategory_id2) }}
  1762.                                             {{ form_errors(form.classcategory_id2) }}
  1763.                                         </div>
  1764.                                     {% endif %}
  1765.                                 {% endif %}
  1766.                                     <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1767.                                         {{ form_widget(form.quantity) }}
  1768.                                         {{ form_errors(form.quantity) }}
  1769.                                     </div>
  1770.                             </div>
  1771.                             {% if Product.disable_cart is not empty %}
  1772.                                 <div class=\"ec-productRole__btn\">
  1773.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1774.                                         {{ '対面販売の為、お問い合わせください。'|trans }}
  1775.                                     </button>
  1776.                                 </div>
  1777.                             {% elseif Product.disable_cart is empty %}
  1778.                                <div class=\"ec-productRole__btn\">
  1779.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  1780.                                         {{ 'カートに入れる'|trans }}
  1781.                                     </button>
  1782.                                 </div>
  1783.                             {% endif %}
  1784.                         {% else %}
  1785.                             {% if Product.disable_cart is not empty %}
  1786.                                 <div class=\"ec-productRole__btn\">
  1787.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1788.                                         {{ '対面販売の為、お問い合わせください。'|trans }}
  1789.                                     </button>
  1790.                                 </div>
  1791.                             {% elseif Product.disable_cart is empty %}
  1792.                                 <div class=\"ec-productRole__btn\">
  1793.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1794.                                         {{ 'ただいま品切れ中です。'|trans }}
  1795.                                     </button>
  1796.                                 </div>
  1797.                             {% endif %}
  1798.                         {% endif %}
  1799.                         {{ form_rest(form) }}
  1800.                     </form>
  1801.                     <div class=\"ec-modal\">
  1802.                         <div class=\"ec-modal-overlay\">
  1803.                             <div class=\"ec-modal-wrap\">
  1804.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1805.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1806.                                 <div class=\"ec-modal-box\">
  1807.                                     <div class=\"ec-role\">
  1808.                                         <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1809.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1810.                                     </div>
  1811.                                 </div>
  1812.                             </div>
  1813.                         </div>
  1814.                     </div>
  1815.                     <div class=\"ec-productRole__btn\">
  1816.                                 <button onclick=\"location.href='{{ url('contact',{'contact_pname':contact_pname, 'contact_pcode':contact_pcode, 'contact_pid':contact_pid, })}}'\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1817.                                     {{ 'お問い合わせ'|trans }}
  1818.                                 </button>
  1819.                             </div>
  1820.                     <!--{% if BaseInfo.option_favorite_product %}
  1821.                         <form action=\"{{ url('contact') }}\" method=\"post\">
  1822.                             <div class=\"ec-productRole__btn\">
  1823.                                 {% if is_favorite == false %}
  1824.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1825.                                         {{ 'お問い合わせ'|trans }}
  1826.                                     </button>
  1827.                                 {% else %}
  1828.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1829.                                             disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}
  1830.                                     </button>
  1831.                                 {% endif %}
  1832.                             </div>
  1833.                         </form>
  1834.                     {% endif %}-->
  1835.                     {# 以下商品の属性ごとの注意書きを表記する。 #}
  1836.                     <div>
  1837.                         <ul>
  1838.                             {% if Product.stock_find %} {# 在庫数が1以上のSKUが含まれている場合 #}
  1839.                                 <li><span class=\"ec-color-red\">在庫有り表示でも店頭展示していない場合があります。<span class=\"ec-font-bold\">実物をご覧になりたい場合はご来店前にメールにてご連絡ください。</span></span></li>
  1840.                             {% endif %}
  1841.                             {% if Product.Tags|filter(tag => tag.id == 10)|length > 0 %} {# 商品タグにメーカー取寄せが含まれる場合 #}
  1842.                                 <li>メーカー取寄せとなります。在庫状況はできる限り反映しておりますが、タイミングによっては欠品の場合もございます。</li>
  1843.                             {% endif %}
  1844.                             {% if 'f2f' in Product.delivery_product_type %} {# 商品の配送属性にf2f(対面販売)が含まれる場合 #}
  1845.                                 <li>こちらの商品は原則<span class=\"ec-font-bold\">対面販売</span>となります。ご購入の際は店頭かメールにてご相談ください。</li>
  1846.                             {% endif %}
  1847.                             {% if 'ebike' in Product.delivery_product_type %} {# 商品の配送属性にebikeが含まれる場合 #}
  1848.                                 <li>大型商品となります。<span class=\"ec-font-bold\">配送をご希望の場合は送料にご注意ください。</span>当店より30km圏内であれば、弊社スタッフが配送に伺いますので送料無料です。詳しくは店頭にてご相談ください。</li>
  1849.                             {% endif %}
  1850.                             {% if Product.Tags|filter(tag => tag.id == 8)|length > 0 %} {# 商品タグにアウトレット品が含まれる場合 #}
  1851.                                 <li><span class=\"ec-font-bold\">アウトレット品となります。</span>キズや塗装不良がある場合や、通常商品と保証内容が異なる場合があります。詳しくは店頭かメールにてご相談ください。</li>
  1852.                             {% endif %}
  1853.                             {% if Product.Tags|filter(tag => tag.id == 7)|length > 0 %} {# 商品タグに代理店取り寄せ特価が含まれる場合 #}
  1854.                                 <li>代理店取り寄せの特価品です。当店で在庫はしていない場合は実物をご覧いただけません。</li>
  1855.                             {% endif %}
  1856.                         </ul>
  1857.                     </div>
  1858.                 </div>
  1859.             </div>
  1860.         </div>
  1861.         {% if Product.description_detail %}
  1862.             <div class=\"ec-productRole__description\">{{ Product.description_detail|raw|nl2br }}
  1863.                     </div>
  1864.         {% endif %}
  1865.         {% if Product.freearea %}
  1866.              <div class=\"ec-productRole__description\">
  1867.                  {{ include(template_from_string(Product.freearea)) }}
  1868.             </div>
  1869.         {% endif %}
  1870.     </div>
  1871. {% endblock %}""Product/detail.twig""/home/xs0607itami/xs0607itami.xsrv.jp/public_html/app/template/default/Product/detail.twig");
  1872.     }
  1873. }