var/cache/dev/twig/a1/a12531506e9e45d29605aa91769142b682491406b10b87fa6b76e061779b1375.php line 40

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_2ff6fc0185ba932717ee492599358283389bbad343a0e2b97ffbfb94a9e80a46 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 1
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/detail.twig"));
  40.         // line 3
  41.         $context["body_class"] = "product_page";
  42.         // line 1
  43.         $this->parent $this->loadTemplate("default_frame.twig""Product/detail.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 5
  51.     public function block_stylesheet($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         // line 6
  59.         echo "<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css\"/>
  60.     <link rel=\"stylesheet\" href=\"/test-ec-05/html/user_data/assets/css/detail.min.css\">
  61.     <style>
  62.         .ec-layoutRole .ec-layoutRole__contents {
  63.             max-width: unset;
  64.         }
  65.         .p-detail__fv__inner__right {
  66.             width: 40%;
  67.         }
  68.         .p-detail__fv__inner__right__price {
  69.             font-size: clamp(30px,3.2vw,36px);
  70.         }
  71.         .p-detail__fv__inner__right__price .small {
  72.             font-size: 16px;
  73.         }
  74.         .p-detail__fv__inner__right__quantity {
  75.             justify-content: left;
  76.             align-items: flex-end;
  77.             margin: 15px 0 0;
  78.         }
  79.         .ec-productRole__btn,.ec-productRole__btn {
  80.             width: 200px;
  81.             margin-right: 40px;
  82.         }
  83.         .ec-productRole__btn button,.ec-productRole__btn button {
  84.             font-size: 16px;
  85.             border-radius: 5px;
  86.         }
  87.         .ec-blockBtn--action {
  88.             background-color: #B72C11;
  89.             border-color: #B72C11;
  90.         }
  91.         .ec-blockBtn--cancel {
  92.             background-color: #EEC5C1;
  93.             border-color: #EEC5C1;
  94.             color: #333;
  95.         }
  96.         .ec-productRole__price {
  97.             line-height: 0;
  98.         }
  99.         .ec-productRole__description {
  100.                 margin-top: 20px;
  101.                 border-top: 1px solid #333;
  102.                 padding-top: 10px;
  103.         }
  104.         .p-detail__fv__inner__right__price {
  105.             color: #B72C11;
  106.             font-weight: bold;
  107.         }
  108.         .p-detail__fv__inner__right__price.underline{
  109.             border-bottom: 1px solid #B72C11;
  110.         }
  111.         .sale.ec-blockBtn--action {
  112.             width: fit-content;
  113.             font-size: 18px;
  114.             cursor: unset;
  115.             line-height: 1.8;
  116.             display: inline-block;
  117.             height: auto;
  118.             margin-left: 15px;
  119.         }
  120.         .Category__list {
  121.             display: flex;
  122.         }
  123.         .Category__list_item {
  124.             margin-right: 15px;
  125.         }
  126.         .Category__list_item a {
  127.             display: block;
  128.             background-color: #fefefe;
  129.             border: 1px solid #333;
  130.             padding: 0 8px;
  131.             color: #333;
  132.             border-radius: 5px;
  133.         }
  134.         @media screen and (min-width:768px) and (max-width:1024px) {
  135.             .ec-productRole__btn {
  136.                 margin-right: 40px;
  137.                 width: 250px;
  138.             }
  139.             .p-detail__fv__inner__right {
  140.                 width: 100%;
  141.             }
  142.         }
  143.         @media screen and (max-width:768px) {
  144.             .p-detail__fv__inner__right {
  145.                 width: 100%;
  146.             }
  147.             .ec-productRole__btn {
  148.                 width: 70%;
  149.             }
  150.             .p-detail__fv__inner__right__quantity {
  151.                 flex-direction: column;
  152.                 justify-content: space-between;
  153.                 align-items: stretch;
  154.             }
  155.             .ec-productRole__btn {
  156.                 margin-bottom: 20px;
  157.             }
  158.             .ec-numberInput {
  159.                 margin-bottom: 15px;
  160.             }
  161.             .sale.ec-blockBtn--action {
  162.                 margin-left: 0;
  163.                 display: block;
  164.             }
  165.         }
  166.     </style>
  167. ";
  168.         
  169.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  170.         
  171.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  172.     }
  173.     // line 116
  174.     public function block_javascript($context, array $blocks = [])
  175.     {
  176.         $macros $this->macros;
  177.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  179.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  181.         // line 117
  182.         echo "    <script>
  183.         eccube.classCategories = ";
  184.         // line 118
  185.         echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson((isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'118$this->source); })()));
  186.         echo ";
  187.         // 規格2に選択肢を割り当てる。
  188.         function fnSetClassCategories(form, classcat_id2_selected) {
  189.             var \$form = \$(form);
  190.             var product_id = \$form.find('input[name=product_id]').val();
  191.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  192.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  193.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  194.         }
  195.         ";
  196.         // line 129
  197.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse129)) {
  198.             // line 130
  199.             echo "        fnSetClassCategories(
  200.             \$('#form1'), ";
  201.             // line 131
  202.             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.'131$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse131), "vars", [], "any"falsefalsefalse131), "value", [], "any"falsefalsefalse131));
  203.             echo "
  204.         );
  205.         ";
  206.         } elseif (twig_get_attribute($this->env$this->source,         // line 133
  207. ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse133)) {
  208.             // line 134
  209.             echo "        eccube.checkStock(\$('#form1'), ";
  210.             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.'134$this->source); })()), "id", [], "any"falsefalsefalse134), "html"nulltrue);
  211.             echo ", ";
  212.             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.'134$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse134), "vars", [], "any"falsefalsefalse134), "value", [], "any"falsefalsefalse134));
  213.             echo ", null);
  214.         ";
  215.         }
  216.         // line 136
  217.         echo "    </script>
  218.     <script>
  219.         \$(function() {
  220.             // bfcache無効化
  221.             \$(window).bind('pageshow', function(event) {
  222.                 if (event.originalEvent.persisted) {
  223.                     location.reload(true);
  224.                 }
  225.             });
  226.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  227.             // img タグに width, height が付与されている.
  228.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  229.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  230.             \$('.ec-grid2__cell').hide();
  231.             var removeSize = function () {
  232.                 \$('.slide-item').height('');
  233.                 \$('.slide-item img')
  234.                     .removeAttr('width')
  235.                     .removeAttr('height')
  236.                     .removeAttr('style');
  237.             };
  238.             var slickInitial = function(slick) {
  239.                 \$('.ec-grid2__cell').fadeIn(1500);
  240.                 var baseHeight = \$(slick.target).height();
  241.                 var baseWidth = \$(slick.target).width();
  242.                 var rate = baseWidth / baseHeight;
  243.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  244.                 // transform を使用することでCLSの影響を受けないようにする
  245.                 \$('.slide-item img')
  246.                     .css(
  247.                         {
  248.                             'transform-origin': 'top left',
  249.                             'transform': 'scaleY(' + rate + ')',
  250.                             'transition': 'transform .1s'
  251.                         }
  252.                     );
  253.                 // 正しいサイズに近くなったら属性を解除する
  254.                 setTimeout(removeSize, 500);
  255.             };
  256.             \$('.item_visual').on('init', slickInitial);
  257.             // リサイズ時は CLS の影響を受けないため属性を解除する
  258.             \$(window).resize(removeSize);
  259.             \$('.item_visual').slick({
  260.                 dots: false,
  261.                 arrows: false,
  262.                 responsive: [{
  263.                     breakpoint: 768,
  264.                     settings: {
  265.                         dots: true
  266.                     }
  267.                 }]
  268.             });
  269.         });
  270.     </script>
  271.     <script>
  272.         \$(function() {
  273.             \$('.add-cart').on('click', function(event) {
  274.                 ";
  275.         // line 195
  276.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse195)) {
  277.             // line 196
  278.             echo "                // 規格1フォームの必須チェック
  279.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  280.                     \$('#classcategory_id1')[0].setCustomValidity('";
  281.             // line 198
  282.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  283.             echo "');
  284.                     return true;
  285.                 } else {
  286.                     \$('#classcategory_id1')[0].setCustomValidity('');
  287.                 }
  288.                 ";
  289.         }
  290.         // line 204
  291.         echo "
  292.                 ";
  293.         // line 205
  294.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse205)) {
  295.             // line 206
  296.             echo "                // 規格2フォームの必須チェック
  297.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  298.                     \$('#classcategory_id2')[0].setCustomValidity('";
  299.             // line 208
  300.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html"nulltrue);
  301.             echo "');
  302.                     return true;
  303.                 } else {
  304.                     \$('#classcategory_id2')[0].setCustomValidity('');
  305.                 }
  306.                 ";
  307.         }
  308.         // line 214
  309.         echo "
  310.                 // 個数フォームのチェック
  311.                 if (\$('#quantity').val() < 1) {
  312.                     \$('#quantity')[0].setCustomValidity('";
  313.         // line 217
  314.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  315.         echo "');
  316.                     return true;
  317.                 } else {
  318.                     \$('#quantity')[0].setCustomValidity('');
  319.                 }
  320.                 event.preventDefault();
  321.                 \$form = \$('#form1');
  322.                 \$.ajax({
  323.                     url: \$form.attr('action'),
  324.                     type: \$form.attr('method'),
  325.                     data: \$form.serialize(),
  326.                     dataType: 'json',
  327.                     beforeSend: function(xhr, settings) {
  328.                         // Buttonを無効にする
  329.                         \$('.add-cart').prop('disabled', true);
  330.                     }
  331.                 }).done(function(data) {
  332.                     // レスポンス内のメッセージをalertで表示
  333.                     \$.each(data.messages, function() {
  334.                         \$('#ec-modal-header').text(this);
  335.                     });
  336.                     \$('.ec-modal').show()
  337.                     // カートブロックを更新する
  338.                     \$.ajax({
  339.                         url: \"";
  340.         // line 244
  341.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  342.         echo "\",
  343.                         type: 'GET',
  344.                         dataType: 'html'
  345.                     }).done(function(html) {
  346.                         \$('.ec-headerRole__cart').html(html);
  347.                     });
  348.                 }).fail(function(data) {
  349.                     alert('";
  350.         // line 251
  351.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  352.         echo "');
  353.                 }).always(function(data) {
  354.                     // Buttonを有効にする
  355.                     \$('.add-cart').prop('disabled', false);
  356.                 });
  357.             });
  358.         });
  359.         \$('.ec-modal-wrap').on('click', function(e) {
  360.             // モーダル内の処理は外側にバブリングさせない
  361.             e.stopPropagation();
  362.         });
  363.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  364.             \$('.ec-modal').hide()
  365.         });
  366.     </script>
  367.     <script type=\"application/ld+json\">
  368.     {
  369.         \"@context\": \"https://schema.org/\",
  370.         \"@type\": \"Product\",
  371.         \"name\": \"";
  372.         // line 271
  373.         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.'271$this->source); })()), "name", [], "any"falsefalsefalse271), "html"nulltrue);
  374.         echo "\",
  375.         \"image\": [
  376.             ";
  377.         // line 273
  378.         $context['_parent'] = $context;
  379.         $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.'273$this->source); })()), "ProductImage", [], "any"falsefalsefalse273));
  380.         $context['_iterated'] = false;
  381.         $context['loop'] = [
  382.           'parent' => $context['_parent'],
  383.           'index0' => 0,
  384.           'index'  => 1,
  385.           'first'  => true,
  386.         ];
  387.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  388.             $length count($context['_seq']);
  389.             $context['loop']['revindex0'] = $length 1;
  390.             $context['loop']['revindex'] = $length;
  391.             $context['loop']['length'] = $length;
  392.             $context['loop']['last'] = === $length;
  393.         }
  394.         foreach ($context['_seq'] as $context["_key"] => $context["img"]) {
  395.             // line 274
  396.             echo "                \"";
  397.             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.'274$this->source); })()), "request", [], "any"falsefalsefalse274), "schemeAndHttpHost", [], "any"falsefalsefalse274), "html"nulltrue);
  398.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"], "save_image"), "html"nulltrue);
  399.             echo "\"";
  400.             if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse274)) {
  401.                 echo ",";
  402.             }
  403.             // line 275
  404.             echo "
  405.             ";
  406.             $context['_iterated'] = true;
  407.             ++$context['loop']['index0'];
  408.             ++$context['loop']['index'];
  409.             $context['loop']['first'] = false;
  410.             if (isset($context['loop']['length'])) {
  411.                 --$context['loop']['revindex0'];
  412.                 --$context['loop']['revindex'];
  413.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  414.             }
  415.         }
  416.         if (!$context['_iterated']) {
  417.             // line 277
  418.             echo "                \"";
  419.             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.'277$this->source); })()), "request", [], "any"falsefalsefalse277), "schemeAndHttpHost", [], "any"falsefalsefalse277), "html"nulltrue);
  420.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  421.             echo "\"
  422.             ";
  423.         }
  424.         $_parent $context['_parent'];
  425.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
  426.         $context array_intersect_key($context$_parent) + $_parent;
  427.         // line 279
  428.         echo "        ],
  429.         \"description\": \"";
  430.         // line 280
  431.         echo twig_escape_filter($this->envtwig_slice($this->envtwig_replace_filter(((twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"truetruefalse280)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["Product"] ?? null), "description_list", [], "any"falsefalsefalse280), twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'280$this->source); })()), "description_detail", [], "any"falsefalsefalse280))) : (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'280$this->source); })()), "description_detail", [], "any"falsefalsefalse280))), ["
  432. => """ " => ""]), 0300), "html"nulltrue);
  433.         echo "\",
  434.         ";
  435.         // line 281
  436.         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.'281$this->source); })()), "code_min", [], "any"falsefalsefalse281)) {
  437.             // line 282
  438.             echo "        \"sku\": \"";
  439.             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.'282$this->source); })()), "code_min", [], "any"falsefalsefalse282), "html"nulltrue);
  440.             echo "\",
  441.         ";
  442.         }
  443.         // line 284
  444.         echo "        \"offers\": {
  445.             \"@type\": \"Offer\",
  446.             \"url\": \"";
  447.         // line 286
  448.         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.'286$this->source); })()), "id", [], "any"falsefalsefalse286)]), "html"nulltrue);
  449.         echo "\",
  450.             \"priceCurrency\": \"";
  451.         // line 287
  452.         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.'287$this->source); })()), "currency", [], "any"falsefalsefalse287), "html"nulltrue);
  453.         echo "\",
  454.             \"price\": ";
  455.         // line 288
  456.         ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'288$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse288)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'288$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse288), "html"nulltrue))) : (print (0)));
  457.         echo ",
  458.             // \"price\": ";
  459.         // line 289
  460.         ((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.'289$this->source); })()), "getPrice02Min", [], "any"falsefalsefalse289)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'289$this->source); })()), "getPrice02Min", [], "any"falsefalsefalse289), "html"nulltrue))) : (print (0)));
  461.         echo ",
  462.             \"availability\": \"";
  463.         // line 290
  464.         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.'290$this->source); })()), "stock_find", [], "any"falsefalsefalse290)) ? ("InStock") : ("OutOfStock"));
  465.         echo "\"
  466.         }
  467.     }
  468.     </script>
  469. ";
  470.         
  471.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  472.         
  473.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  474.     }
  475.     // line 296
  476.     public function block_main($context, array $blocks = [])
  477.     {
  478.         $macros $this->macros;
  479.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  480.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  481.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  482.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  483.         // line 297
  484.         echo "   <section class=\"p-detail__fv\">
  485.         <div class=\"p-detail__fv__inner\">
  486.             <div class=\"p-detail__fv__inner__left\">
  487.                 <div class=\"swiper\">
  488.                     <!-- Additional required wrapper -->
  489.                     <div class=\"swiper-wrapper\">
  490.                       <!-- Slides -->
  491.                       ";
  492.         // line 304
  493.         $context['_parent'] = $context;
  494.         $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.'304$this->source); })()), "ProductImage", [], "any"falsefalsefalse304));
  495.         $context['_iterated'] = false;
  496.         $context['loop'] = [
  497.           'parent' => $context['_parent'],
  498.           'index0' => 0,
  499.           'index'  => 1,
  500.           'first'  => true,
  501.         ];
  502.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  503.             $length count($context['_seq']);
  504.             $context['loop']['revindex0'] = $length 1;
  505.             $context['loop']['revindex'] = $length;
  506.             $context['loop']['length'] = $length;
  507.             $context['loop']['last'] = === $length;
  508.         }
  509.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  510.             // line 305
  511.             echo "                            <div class=\"swiper-slide\"><img src=\"";
  512.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  513.             echo "\" alt=\"";
  514.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse305)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'305$this->source); })()), "name", [], "any"falsefalsefalse305), "html"nulltrue))) : (print ("")));
  515.             echo "\"></div>
  516.                         ";
  517.             $context['_iterated'] = true;
  518.             ++$context['loop']['index0'];
  519.             ++$context['loop']['index'];
  520.             $context['loop']['first'] = false;
  521.             if (isset($context['loop']['length'])) {
  522.                 --$context['loop']['revindex0'];
  523.                 --$context['loop']['revindex'];
  524.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  525.             }
  526.         }
  527.         if (!$context['_iterated']) {
  528.             // line 307
  529.             echo "                            <div class=\"swiper-slide\"><img src=\"";
  530.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html"nulltrue);
  531.             echo "\" alt=\"";
  532.             ((twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse307)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'307$this->source); })()), "name", [], "any"falsefalsefalse307), "html"nulltrue))) : (print ("")));
  533.             echo "\" /></div>
  534.                         ";
  535.         }
  536.         $_parent $context['_parent'];
  537.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  538.         $context array_intersect_key($context$_parent) + $_parent;
  539.         // line 309
  540.         echo "                      
  541.                     </div>
  542.                 </div>
  543.                 <div class=\"slider-thumbnail\">
  544.                     <!-- Additional required wrapper -->
  545.                     <div class=\"swiper-wrapper\">
  546.                       <!-- Slides -->
  547.                       ";
  548.         // line 317
  549.         $context['_parent'] = $context;
  550.         $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.'317$this->source); })()), "ProductImage", [], "any"falsefalsefalse317));
  551.         $context['loop'] = [
  552.           'parent' => $context['_parent'],
  553.           'index0' => 0,
  554.           'index'  => 1,
  555.           'first'  => true,
  556.         ];
  557.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  558.             $length count($context['_seq']);
  559.             $context['loop']['revindex0'] = $length 1;
  560.             $context['loop']['revindex'] = $length;
  561.             $context['loop']['length'] = $length;
  562.             $context['loop']['last'] = === $length;
  563.         }
  564.         foreach ($context['_seq'] as $context["_key"] => $context["ProductImage"]) {
  565.             // line 318
  566.             echo "                            <div class=\"swiper-slide\" data-index=\"";
  567.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse318), "html"nulltrue);
  568.             echo "\"><img src=\"";
  569.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html"nulltrue);
  570.             echo "\" alt=\"\" width=\"133\" height=\"133\" loading=\"lazy\"></div>
  571.                         ";
  572.             ++$context['loop']['index0'];
  573.             ++$context['loop']['index'];
  574.             $context['loop']['first'] = false;
  575.             if (isset($context['loop']['length'])) {
  576.                 --$context['loop']['revindex0'];
  577.                 --$context['loop']['revindex'];
  578.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  579.             }
  580.         }
  581.         $_parent $context['_parent'];
  582.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
  583.         $context array_intersect_key($context$_parent) + $_parent;
  584.         // line 320
  585.         echo "                      
  586.                     </div>
  587.                 </div>
  588.                 
  589.                 <p style=\"text-align: left; font-size:14px;\">※写真はイメージです。<br>配達時には食品安全考慮の為真空パックにてお届け致します。</p>
  590.                 ";
  591.         // line 325
  592.         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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "9") || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "7")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "8")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "18")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "6")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "5")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "14")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "13")) || (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.'325$this->source); })()), "id", [], "any"falsefalsefalse325) == "19"))) {
  593.             // line 326
  594.             echo "                        <p style=\"text-align: left; font-size:14px;\">※商品に味付けはございません。<br>ご家庭で塩、ブラックペッパー、タレ、お出汁などご準備ください。</p>
  595.                 ";
  596.         } elseif ((twig_get_attribute($this->env$this->source,         // line 327
  597. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'327$this->source); })()), "id", [], "any"falsefalsefalse327) == "12")) {
  598.             // line 328
  599.             echo "                    <p style=\"text-align: left; font-size:14px;\">※塩、ブラックペッパーにて味付けをしておりますが、<br>調理後味気が足りない場合は塩を少々お掛けください。<br>また、わさび、おろししょうが、おろしニンニクが合います。</p>
  600.                 ";
  601.         } elseif ((twig_get_attribute($this->env$this->source,         // line 329
  602. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'329$this->source); })()), "id", [], "any"falsefalsefalse329) == "11")) {
  603.             // line 330
  604.             echo "                    <p style=\"text-align: left; font-size:14px;\">※塩、ブラックペッパーにて味付けされておりますので調理後そのままお召し上がり下さい。</p>
  605.                 ";
  606.         } elseif (((twig_get_attribute($this->env$this->source,         // line 331
  607. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'331$this->source); })()), "id", [], "any"falsefalsefalse331) == "16") || (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.'331$this->source); })()), "id", [], "any"falsefalsefalse331) == "17"))) {
  608.             // line 332
  609.             echo "                    <p style=\"text-align: left; font-size:14px;\">※ご自宅の油にてお揚げください。<br>※卵、小麦粉、パン粉を使用しております。<br>当該品目のアレルギーをお持ちの方はお控え下さい。</p>
  610.                 ";
  611.         }
  612.         // line 334
  613.         echo "                
  614.                 <div class=\"ec-productRole__description__pcNone\">";
  615.         // line 335
  616.         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.'335$this->source); })()), "description_detail", [], "any"falsefalsefalse335));
  617.         echo "
  618.                 </div>
  619.             </div>
  620.             <div class=\"p-detail__fv__inner__right\">
  621.                 ";
  622.         // line 339
  623.         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.'339$this->source); })()), "freearea", [], "any"falsefalsefalse339)) {
  624.             // line 340
  625.             echo "                    <p class=\"p-detail__fv__inner__right__subtitle\">
  626.                         ";
  627.             // line 341
  628.             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.'341$this->source); })()), "freearea", [], "any"falsefalsefalse341)));
  629.             echo "
  630.                         ";
  631.             // line 343
  632.             echo "                    </p>
  633.                 ";
  634.         }
  635.         // line 345
  636.         echo "                ";
  637.         // line 346
  638.         echo "                ";
  639.         // line 347
  640.         echo "                ";
  641.         // line 348
  642.         echo "                ";
  643.         if (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'348$this->source); })()), "hasProductClass", [], "any"falsefalsefalse348)) {
  644.             // line 349
  645.             echo "<div class=\"ec-productRole__priceRegular\">
  646.                             ";
  647.             // line 350
  648.             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.'350$this->source); })()), "getPrice01Min", [], "any"falsefalsefalse350)) && (twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'350$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse350) == twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'350$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsefalse350)))) {
  649.                 // line 351
  650.                 echo "                                <span class=\"ec-productRole__priceRegularPrice\">";
  651.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  652.                 echo ":<span class=\"price01-default\">";
  653.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'351$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse351)), "html"nulltrue);
  654.                 echo "</span></span>
  655.                                 ";
  656.                 // line 353
  657.                 echo "                                <span class=\"ec-productRole__priceRegularTax\">";
  658.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  659.                 echo "</span>
  660.                             ";
  661.             } elseif (( !(null === twig_get_attribute($this->env$this->source,             // line 354
  662. (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'354$this->source); })()), "getPrice01Min", [], "any"falsefalsefalse354)) &&  !(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.'354$this->source); })()), "getPrice01Max", [], "any"falsefalsefalse354)))) {
  663.                 // line 355
  664.                 echo "                                <span class=\"ec-productRole__priceRegularPrice\">";
  665.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  666.                 echo ":<span class=\"price01-default\">";
  667.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'355$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse355)), "html"nulltrue);
  668.                 echo "~ ";
  669.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'355$this->source); })()), "getPrice01IncTaxMax", [], "any"falsefalsefalse355)), "html"nulltrue);
  670.                 echo "</span></span>
  671.                                 ";
  672.                 // line 357
  673.                 echo "                                <span class=\"ec-productRole__priceRegularTax\">";
  674.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  675.                 echo "</span>
  676.                             ";
  677.             }
  678.             // line 359
  679.             echo "                        </div>
  680.                     ";
  681.         } else {
  682.             // line 361
  683.             echo "                        ";
  684.             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.'361$this->source); })()), "getPrice01Max", [], "any"falsefalsefalse361))) {
  685.                 // line 362
  686.                 echo "                            <span class=\"ec-productRole__priceRegularPrice\">";
  687.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html"nulltrue);
  688.                 echo ":";
  689.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'362$this->source); })()), "getPrice01IncTaxMin", [], "any"falsefalsefalse362)), "html"nulltrue);
  690.                 echo "</span>
  691.                             ";
  692.                 // line 364
  693.                 echo "                            <span class=\"ec-productRole__priceRegularTax\">";
  694.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  695.                 echo "</span>
  696.                         ";
  697.             }
  698.             // line 366
  699.             echo "                    ";
  700.         }
  701.         // line 367
  702.         echo "                <p class=\"p-detail__fv__inner__right__price\">
  703.                     <div class=\"ec-productRole__price\">
  704.                         販売価格
  705.                         ";
  706.         // line 370
  707.         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.'370$this->source); })()), "hasProductClass", [], "any"falsefalsefalse370)) {
  708.             // line 371
  709.             if ((twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'371$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse371) == 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))) {
  710.                 // line 372
  711.                 echo "                                <div class=\"p-detail__fv__inner__right__price\">
  712.                                     <span class=\"ec-price__price price02-default p-detail__fv__inner__right__price underline\">";
  713.                 // line 373
  714.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'373$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse373)), "html"nulltrue);
  715.                 echo "</span>
  716.                                     ";
  717.                 // line 375
  718.                 echo "                                    <span class=\"ec-price__tax small\">";
  719.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  720.                 echo "</span>
  721.                                 </div>
  722.                             ";
  723.             } else {
  724.                 // line 378
  725.                 echo "                                <div class=\"p-detail__fv__inner__right__price\">
  726.                                     <span class=\"ec-price__price price02-default p-detail__fv__inner__right__price underline\">";
  727.                 // line 379
  728.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'379$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse379)), "html"nulltrue);
  729.                 echo " ~ ";
  730.                 echo twig_escape_filter($this->env$this->extensions['Eccube\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.'379$this->source); })()), "getPrice02IncTaxMax", [], "any"falsefalsefalse379)), "html"nulltrue);
  731.                 echo "</span>
  732.                                     ";
  733.                 // line 381
  734.                 echo "                                    <span class=\"ec-price__tax small\">";
  735.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  736.                 echo "</span>
  737.                                 </div>
  738.                             ";
  739.             }
  740.             // line 384
  741.             echo "                        ";
  742.         } else {
  743.             // line 385
  744.             echo "                            <div class=\"p-detail__fv__inner__right__price\">
  745.                                 <span class=\"ec-price__price p-detail__fv__inner__right__price underline\">";
  746.             // line 386
  747.             echo twig_escape_filter($this->env$this->extensions['Eccube\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.'386$this->source); })()), "getPrice02IncTaxMin", [], "any"falsefalsefalse386)), "html"nulltrue);
  748.             echo "</span>
  749.                                 ";
  750.             // line 388
  751.             echo "                                <span class=\"ec-price__tax small\">";
  752.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html"nulltrue);
  753.             echo "</span>
  754.                             </div>
  755.                         ";
  756.         }
  757.         // line 391
  758.         echo "                    </div>
  759.                 </p>
  760.                 ";
  761.         // line 393
  762.         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.'393$this->source); })()), "ProductCategories", [], "any"falsefalsefalse393))) {
  763.             // line 394
  764.             echo "                        <div class=\"ec-productRole__category\">
  765.                             <div>";
  766.             // line 395
  767.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("関連カテゴリ"), "html"nulltrue);
  768.             echo "</div>
  769.                                 <ul class=\"Category__list\">
  770.                                     ";
  771.             // line 397
  772.             $context['_parent'] = $context;
  773.             $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.'397$this->source); })()), "ProductCategories", [], "any"falsefalsefalse397));
  774.             foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  775.                 // line 398
  776.                 echo "                                    <li class=\"Category__list_item\">
  777.                                         ";
  778.                 // line 399
  779.                 $context['_parent'] = $context;
  780.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse399), "path", [], "any"falsefalsefalse399));
  781.                 $context['loop'] = [
  782.                   'parent' => $context['_parent'],
  783.                   'index0' => 0,
  784.                   'index'  => 1,
  785.                   'first'  => true,
  786.                 ];
  787.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  788.                     $length count($context['_seq']);
  789.                     $context['loop']['revindex0'] = $length 1;
  790.                     $context['loop']['revindex'] = $length;
  791.                     $context['loop']['length'] = $length;
  792.                     $context['loop']['last'] = === $length;
  793.                 }
  794.                 foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  795.                     // line 400
  796.                     echo "                                            <a href=\"";
  797.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  798.                     echo "?category_id=";
  799.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "id", [], "any"falsefalsefalse400), "html"nulltrue);
  800.                     echo "#page_anchor\">";
  801.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Category"], "name", [], "any"falsefalsefalse400), "html"nulltrue);
  802.                     echo "</a>";
  803.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse400) == false)) {
  804.                         // line 401
  805.                         echo "                                            <span>></span>";
  806.                     }
  807.                     ++$context['loop']['index0'];
  808.                     ++$context['loop']['index'];
  809.                     $context['loop']['first'] = false;
  810.                     if (isset($context['loop']['length'])) {
  811.                         --$context['loop']['revindex0'];
  812.                         --$context['loop']['revindex'];
  813.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  814.                     }
  815.                 }
  816.                 $_parent $context['_parent'];
  817.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  818.                 $context array_intersect_key($context$_parent) + $_parent;
  819.                 // line 403
  820.                 echo "                                    </li>
  821.                                     ";
  822.             }
  823.             $_parent $context['_parent'];
  824.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  825.             $context array_intersect_key($context$_parent) + $_parent;
  826.             // line 405
  827.             echo "                                </ul>
  828.                         </div>
  829.                     ";
  830.         }
  831.         // line 408
  832.         echo "                <div class=\"p-detail__fv__inner__right__quantity\">
  833.                     ";
  834.         // line 410
  835.         echo "                    ";
  836.         // line 411
  837.         echo "                    ";
  838.         // line 412
  839.         echo "                    ";
  840.         // line 413
  841.         echo "                    ";
  842.         // line 414
  843.         echo "                    ";
  844.         // line 415
  845.         echo "                    <form action=\"";
  846.         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.'415$this->source); })()), "id", [], "any"falsefalsefalse415)]), "html"nulltrue);
  847.         echo "\" method=\"post\" id=\"form1\" name=\"form1\">
  848.                         ";
  849.         // line 416
  850.         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.'416$this->source); })()), "stock_find", [], "any"falsefalsefalse416)) {
  851.             // line 417
  852.             echo "                            <div class=\"ec-productRole__actions\">
  853.                                 ";
  854.             // line 418
  855.             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse418)) {
  856.                 // line 419
  857.                 echo "                                    <div class=\"ec-select\">
  858.                                         ";
  859.                 // line 420
  860.                 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.'420$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse420), 'row');
  861.                 echo "
  862.                                         ";
  863.                 // line 421
  864.                 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.'421$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse421), 'errors');
  865.                 echo "
  866.                                     </div>
  867.                                     ";
  868.                 // line 423
  869.                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse423)) {
  870.                     // line 424
  871.                     echo "                                        <div class=\"ec-select\">
  872.                                             ";
  873.                     // line 425
  874.                     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.'425$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse425), 'row');
  875.                     echo "
  876.                                             ";
  877.                     // line 426
  878.                     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.'426$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse426), 'errors');
  879.                     echo "
  880.                                         </div>
  881.                                     ";
  882.                 }
  883.                 // line 429
  884.                 echo "                                ";
  885.             }
  886.             // line 430
  887.             echo "                                <div class=\"ec-numberInput\"><span>";
  888.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  889.             echo "</span>
  890.                                     ";
  891.             // line 431
  892.             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.'431$this->source); })()), "quantity", [], "any"falsefalsefalse431), 'widget');
  893.             echo "
  894.                                     ";
  895.             // line 432
  896.             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.'432$this->source); })()), "quantity", [], "any"falsefalsefalse432), 'errors');
  897.             echo "
  898.                                 </div>
  899.                             </div>
  900.                             <div class=\"ec-productRole__btn\">
  901.                                 <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  902.                                     ";
  903.             // line 437
  904.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  905.             echo "
  906.                                 </button>
  907.                             </div>
  908.                         ";
  909.         } else {
  910.             // line 441
  911.             echo "                            <div class=\"ec-productRole__btn\">
  912.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  913.                                     ";
  914.             // line 443
  915.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html"nulltrue);
  916.             echo "
  917.                                 </button>
  918.                             </div>
  919.                         ";
  920.         }
  921.         // line 447
  922.         echo "
  923.                         ";
  924.         // line 448
  925.         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.'448$this->source); })()), 'rest');
  926.         echo "
  927.                     </form>
  928.                     <div class=\"ec-modal\">
  929.                         <div class=\"ec-modal-overlay\">
  930.                             <div class=\"ec-modal-wrap\">
  931.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  932.         // line 453
  933.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  934.         echo "\" alt=\"\"/></span></span>
  935.                                 <div id=\"ec-modal-header\" class=\"text-center\">";
  936.         // line 454
  937.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  938.         echo "</div>
  939.                                 <div class=\"ec-modal-box\">
  940.                                     <div class=\"ec-role\">
  941.                                         <span class=\"ec-inlineBtn--cancel\">";
  942.         // line 457
  943.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  944.         echo "</span>
  945.                                         <a href=\"";
  946.         // line 458
  947.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  948.         echo "\" class=\"ec-inlineBtn--action\">";
  949.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  950.         echo "</a>
  951.                                     </div>
  952.                                 </div>
  953.                             </div>
  954.                         </div>
  955.                     </div>
  956.                     ";
  957.         // line 464
  958.         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.'464$this->source); })()), "option_favorite_product", [], "any"falsefalsefalse464)) {
  959.             // line 465
  960.             echo "                        <form action=\"";
  961.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_favorite", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'465$this->source); })()), "id", [], "any"falsefalsefalse465)]), "html"nulltrue);
  962.             echo "\" method=\"post\">
  963.                             <div class=\"ec-productRole__btn\">
  964.                                 ";
  965.             // line 467
  966.             if (((isset($context["is_favorite"]) || array_key_exists("is_favorite"$context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.'467$this->source); })()) == false)) {
  967.                 // line 468
  968.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  969.                                         ";
  970.                 // line 469
  971.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加"), "html"nulltrue);
  972.                 echo "
  973.                                     </button>
  974.                                 ";
  975.             } else {
  976.                 // line 472
  977.                 echo "                                    <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  978.                                             disabled=\"disabled\">";
  979.                 // line 473
  980.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html"nulltrue);
  981.                 echo "
  982.                                     </button>
  983.                                 ";
  984.             }
  985.             // line 476
  986.             echo "                            </div>
  987.                         </form>
  988.                     ";
  989.         }
  990.         // line 479
  991.         echo "                </div>
  992.                 <p style=\"margin-top: 15px; font-size:14px;\">送料は全国一律1,350円となっております。<br>
  993.                     商品合計金額で16,000円以上購入で、送料は弊社負担とさせていただきます。</p>
  994.                 <div class=\"ec-productRole__description__spNone\">";
  995.         // line 482
  996.         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.'482$this->source); })()), "description_detail", [], "any"falsefalsefalse482));
  997.         echo "
  998.                     </div>
  999.             </div>
  1000.         </div>
  1001. </section>
  1002. <section class=\"p-detail__merchandise\">
  1003.             <img class=\"cloud2\" src=\"";
  1004.         // line 489
  1005.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/test-ec-05/html/user_data/assets/img/common/cloud_gl1.webp"), "html"nulltrue);
  1006.         echo "\" alt=\"雲\">
  1007.             <img class=\"cloud1\" src=\"";
  1008.         // line 490
  1009.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/test-ec-05/html/user_data/assets/img/common/cloud__gl2.webp"), "html"nulltrue);
  1010.         echo "\" alt=\"雲\">
  1011.             <img id=\"visible\" class=\"absolute3\" src=\"";
  1012.         // line 491
  1013.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/test-ec-05/html/user_data/assets/img/common/chara2.webp"), "html"nulltrue);
  1014.         echo "\" alt=\"キャラクター\">
  1015.         <div class=\"section__title\">
  1016.             <img src=\"";
  1017.         // line 493
  1018.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/test-ec-05/html/user_data/assets/img/common/cow.webp"), "html"nulltrue);
  1019.         echo "\" alt=\"牛のイラスト\">
  1020.             <h2>商品詳細</h2>
  1021.         </div>
  1022.         <div class=\"p-detail__merchandise__box\">
  1023.             <div class=\"p-detail__merchandise__box__left\">
  1024.                 <img src=\"";
  1025.         // line 498
  1026.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/test-ec-05/html/user_data/assets/img/common/EC6062.jpeg"), "html"nulltrue);
  1027.         echo "\" alt=\"お肉の写真\">
  1028.             </div>
  1029.             <p class=\"p-detail__merchandise__box__right\">
  1030.                 私たちが自信を持って厳選した銘柄牛を<br>
  1031.                 端材まで余すことなくふんだんに使用し、<br>
  1032.                 カルビ、ロース、モモなどの部位の他に<br>
  1033.                 ハンバーグなどの加工食品も合わせた詰<br>
  1034.                 め合わせとなっております。<br>
  1035.                 銘柄牛の美味しさがギュッと詰まった商<br>
  1036.                 品となっておりますので、ぜひこの機会<br>
  1037.                 にお求めください。</p>
  1038.         </div>
  1039.        </section>
  1040.       
  1041. ";
  1042.         
  1043.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  1044.         
  1045.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  1046.     }
  1047.     public function getTemplateName()
  1048.     {
  1049.         return "Product/detail.twig";
  1050.     }
  1051.     public function isTraitable()
  1052.     {
  1053.         return false;
  1054.     }
  1055.     public function getDebugInfo()
  1056.     {
  1057.         return array (  1060 => 498,  1052 => 493,  1047 => 491,  1043 => 490,  1039 => 489,  1029 => 482,  1024 => 479,  1019 => 476,  1013 => 473,  1010 => 472,  1004 => 469,  1001 => 468,  999 => 467,  993 => 465,  991 => 464,  980 => 458,  976 => 457,  970 => 454,  966 => 453,  958 => 448,  955 => 447,  948 => 443,  944 => 441,  937 => 437,  929 => 432,  925 => 431,  920 => 430,  917 => 429,  911 => 426,  907 => 425,  904 => 424,  902 => 423,  897 => 421,  893 => 420,  890 => 419,  888 => 418,  885 => 417,  883 => 416,  878 => 415,  876 => 414,  874 => 413,  872 => 412,  870 => 411,  868 => 410,  865 => 408,  860 => 405,  853 => 403,  838 => 401,  829 => 400,  812 => 399,  809 => 398,  805 => 397,  800 => 395,  797 => 394,  795 => 393,  791 => 391,  784 => 388,  780 => 386,  777 => 385,  774 => 384,  767 => 381,  761 => 379,  758 => 378,  751 => 375,  747 => 373,  744 => 372,  742 => 371,  740 => 370,  735 => 367,  732 => 366,  726 => 364,  719 => 362,  716 => 361,  712 => 359,  706 => 357,  697 => 355,  695 => 354,  690 => 353,  683 => 351,  681 => 350,  678 => 349,  675 => 348,  673 => 347,  671 => 346,  669 => 345,  665 => 343,  661 => 341,  658 => 340,  656 => 339,  649 => 335,  646 => 334,  642 => 332,  640 => 331,  637 => 330,  635 => 329,  632 => 328,  630 => 327,  627 => 326,  625 => 325,  618 => 320,  599 => 318,  582 => 317,  572 => 309,  561 => 307,  543 => 305,  525 => 304,  516 => 297,  506 => 296,  491 => 290,  487 => 289,  483 => 288,  479 => 287,  475 => 286,  471 => 284,  465 => 282,  463 => 281,  458 => 280,  455 => 279,  445 => 277,  431 => 275,  423 => 274,  405 => 273,  400 => 271,  377 => 251,  367 => 244,  337 => 217,  332 => 214,  323 => 208,  319 => 206,  317 => 205,  314 => 204,  305 => 198,  301 => 196,  299 => 195,  238 => 136,  230 => 134,  228 => 133,  223 => 131,  220 => 130,  218 => 129,  204 => 118,  201 => 117,  191 => 116,  73 => 6,  63 => 5,  52 => 1,  50 => 3,  37 => 1,);
  1058.     }
  1059.     public function getSourceContext()
  1060.     {
  1061.         return new Source("{% extends 'default_frame.twig' %}
  1062. {% set body_class = 'product_page' %}
  1063. {% block stylesheet %}
  1064. <link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css\"/>
  1065.     <link rel=\"stylesheet\" href=\"/test-ec-05/html/user_data/assets/css/detail.min.css\">
  1066.     <style>
  1067.         .ec-layoutRole .ec-layoutRole__contents {
  1068.             max-width: unset;
  1069.         }
  1070.         .p-detail__fv__inner__right {
  1071.             width: 40%;
  1072.         }
  1073.         .p-detail__fv__inner__right__price {
  1074.             font-size: clamp(30px,3.2vw,36px);
  1075.         }
  1076.         .p-detail__fv__inner__right__price .small {
  1077.             font-size: 16px;
  1078.         }
  1079.         .p-detail__fv__inner__right__quantity {
  1080.             justify-content: left;
  1081.             align-items: flex-end;
  1082.             margin: 15px 0 0;
  1083.         }
  1084.         .ec-productRole__btn,.ec-productRole__btn {
  1085.             width: 200px;
  1086.             margin-right: 40px;
  1087.         }
  1088.         .ec-productRole__btn button,.ec-productRole__btn button {
  1089.             font-size: 16px;
  1090.             border-radius: 5px;
  1091.         }
  1092.         .ec-blockBtn--action {
  1093.             background-color: #B72C11;
  1094.             border-color: #B72C11;
  1095.         }
  1096.         .ec-blockBtn--cancel {
  1097.             background-color: #EEC5C1;
  1098.             border-color: #EEC5C1;
  1099.             color: #333;
  1100.         }
  1101.         .ec-productRole__price {
  1102.             line-height: 0;
  1103.         }
  1104.         .ec-productRole__description {
  1105.                 margin-top: 20px;
  1106.                 border-top: 1px solid #333;
  1107.                 padding-top: 10px;
  1108.         }
  1109.         .p-detail__fv__inner__right__price {
  1110.             color: #B72C11;
  1111.             font-weight: bold;
  1112.         }
  1113.         .p-detail__fv__inner__right__price.underline{
  1114.             border-bottom: 1px solid #B72C11;
  1115.         }
  1116.         .sale.ec-blockBtn--action {
  1117.             width: fit-content;
  1118.             font-size: 18px;
  1119.             cursor: unset;
  1120.             line-height: 1.8;
  1121.             display: inline-block;
  1122.             height: auto;
  1123.             margin-left: 15px;
  1124.         }
  1125.         .Category__list {
  1126.             display: flex;
  1127.         }
  1128.         .Category__list_item {
  1129.             margin-right: 15px;
  1130.         }
  1131.         .Category__list_item a {
  1132.             display: block;
  1133.             background-color: #fefefe;
  1134.             border: 1px solid #333;
  1135.             padding: 0 8px;
  1136.             color: #333;
  1137.             border-radius: 5px;
  1138.         }
  1139.         @media screen and (min-width:768px) and (max-width:1024px) {
  1140.             .ec-productRole__btn {
  1141.                 margin-right: 40px;
  1142.                 width: 250px;
  1143.             }
  1144.             .p-detail__fv__inner__right {
  1145.                 width: 100%;
  1146.             }
  1147.         }
  1148.         @media screen and (max-width:768px) {
  1149.             .p-detail__fv__inner__right {
  1150.                 width: 100%;
  1151.             }
  1152.             .ec-productRole__btn {
  1153.                 width: 70%;
  1154.             }
  1155.             .p-detail__fv__inner__right__quantity {
  1156.                 flex-direction: column;
  1157.                 justify-content: space-between;
  1158.                 align-items: stretch;
  1159.             }
  1160.             .ec-productRole__btn {
  1161.                 margin-bottom: 20px;
  1162.             }
  1163.             .ec-numberInput {
  1164.                 margin-bottom: 15px;
  1165.             }
  1166.             .sale.ec-blockBtn--action {
  1167.                 margin-left: 0;
  1168.                 display: block;
  1169.             }
  1170.         }
  1171.     </style>
  1172. {% endblock %}
  1173. {% block javascript %}
  1174.     <script>
  1175.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  1176.         // 規格2に選択肢を割り当てる。
  1177.         function fnSetClassCategories(form, classcat_id2_selected) {
  1178.             var \$form = \$(form);
  1179.             var product_id = \$form.find('input[name=product_id]').val();
  1180.             var \$sele1 = \$form.find('select[name=classcategory_id1]');
  1181.             var \$sele2 = \$form.find('select[name=classcategory_id2]');
  1182.             eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
  1183.         }
  1184.         {% if form.classcategory_id2 is defined %}
  1185.         fnSetClassCategories(
  1186.             \$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  1187.         );
  1188.         {% elseif form.classcategory_id1 is defined %}
  1189.         eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  1190.         {% endif %}
  1191.     </script>
  1192.     <script>
  1193.         \$(function() {
  1194.             // bfcache無効化
  1195.             \$(window).bind('pageshow', function(event) {
  1196.                 if (event.originalEvent.persisted) {
  1197.                     location.reload(true);
  1198.                 }
  1199.             });
  1200.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  1201.             // img タグに width, height が付与されている.
  1202.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  1203.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  1204.             \$('.ec-grid2__cell').hide();
  1205.             var removeSize = function () {
  1206.                 \$('.slide-item').height('');
  1207.                 \$('.slide-item img')
  1208.                     .removeAttr('width')
  1209.                     .removeAttr('height')
  1210.                     .removeAttr('style');
  1211.             };
  1212.             var slickInitial = function(slick) {
  1213.                 \$('.ec-grid2__cell').fadeIn(1500);
  1214.                 var baseHeight = \$(slick.target).height();
  1215.                 var baseWidth = \$(slick.target).width();
  1216.                 var rate = baseWidth / baseHeight;
  1217.                 \$('.slide-item').height(baseHeight * rate); // 余白を削除する
  1218.                 // transform を使用することでCLSの影響を受けないようにする
  1219.                 \$('.slide-item img')
  1220.                     .css(
  1221.                         {
  1222.                             'transform-origin': 'top left',
  1223.                             'transform': 'scaleY(' + rate + ')',
  1224.                             'transition': 'transform .1s'
  1225.                         }
  1226.                     );
  1227.                 // 正しいサイズに近くなったら属性を解除する
  1228.                 setTimeout(removeSize, 500);
  1229.             };
  1230.             \$('.item_visual').on('init', slickInitial);
  1231.             // リサイズ時は CLS の影響を受けないため属性を解除する
  1232.             \$(window).resize(removeSize);
  1233.             \$('.item_visual').slick({
  1234.                 dots: false,
  1235.                 arrows: false,
  1236.                 responsive: [{
  1237.                     breakpoint: 768,
  1238.                     settings: {
  1239.                         dots: true
  1240.                     }
  1241.                 }]
  1242.             });
  1243.         });
  1244.     </script>
  1245.     <script>
  1246.         \$(function() {
  1247.             \$('.add-cart').on('click', function(event) {
  1248.                 {% if form.classcategory_id1 is defined %}
  1249.                 // 規格1フォームの必須チェック
  1250.                 if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
  1251.                     \$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1252.                     return true;
  1253.                 } else {
  1254.                     \$('#classcategory_id1')[0].setCustomValidity('');
  1255.                 }
  1256.                 {% endif %}
  1257.                 {% if form.classcategory_id2 is defined %}
  1258.                 // 規格2フォームの必須チェック
  1259.                 if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
  1260.                     \$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  1261.                     return true;
  1262.                 } else {
  1263.                     \$('#classcategory_id2')[0].setCustomValidity('');
  1264.                 }
  1265.                 {% endif %}
  1266.                 // 個数フォームのチェック
  1267.                 if (\$('#quantity').val() < 1) {
  1268.                     \$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  1269.                     return true;
  1270.                 } else {
  1271.                     \$('#quantity')[0].setCustomValidity('');
  1272.                 }
  1273.                 event.preventDefault();
  1274.                 \$form = \$('#form1');
  1275.                 \$.ajax({
  1276.                     url: \$form.attr('action'),
  1277.                     type: \$form.attr('method'),
  1278.                     data: \$form.serialize(),
  1279.                     dataType: 'json',
  1280.                     beforeSend: function(xhr, settings) {
  1281.                         // Buttonを無効にする
  1282.                         \$('.add-cart').prop('disabled', true);
  1283.                     }
  1284.                 }).done(function(data) {
  1285.                     // レスポンス内のメッセージをalertで表示
  1286.                     \$.each(data.messages, function() {
  1287.                         \$('#ec-modal-header').text(this);
  1288.                     });
  1289.                     \$('.ec-modal').show()
  1290.                     // カートブロックを更新する
  1291.                     \$.ajax({
  1292.                         url: \"{{ url('block_cart') }}\",
  1293.                         type: 'GET',
  1294.                         dataType: 'html'
  1295.                     }).done(function(html) {
  1296.                         \$('.ec-headerRole__cart').html(html);
  1297.                     });
  1298.                 }).fail(function(data) {
  1299.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  1300.                 }).always(function(data) {
  1301.                     // Buttonを有効にする
  1302.                     \$('.add-cart').prop('disabled', false);
  1303.                 });
  1304.             });
  1305.         });
  1306.         \$('.ec-modal-wrap').on('click', function(e) {
  1307.             // モーダル内の処理は外側にバブリングさせない
  1308.             e.stopPropagation();
  1309.         });
  1310.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  1311.             \$('.ec-modal').hide()
  1312.         });
  1313.     </script>
  1314.     <script type=\"application/ld+json\">
  1315.     {
  1316.         \"@context\": \"https://schema.org/\",
  1317.         \"@type\": \"Product\",
  1318.         \"name\": \"{{ Product.name }}\",
  1319.         \"image\": [
  1320.             {% for img in Product.ProductImage %}
  1321.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
  1322.             {% else %}
  1323.                 \"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
  1324.             {% endfor %}
  1325.         ],
  1326.         \"description\": \"{{ Product.description_list | default(Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
  1327.         {% if Product.code_min %}
  1328.         \"sku\": \"{{ Product.code_min }}\",
  1329.         {% endif %}
  1330.         \"offers\": {
  1331.             \"@type\": \"Offer\",
  1332.             \"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
  1333.             \"priceCurrency\": \"{{ eccube_config.currency }}\",
  1334.             \"price\": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},
  1335.             // \"price\": {{ Product.getPrice02Min ? Product.getPrice02Min : 0}},
  1336.             \"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
  1337.         }
  1338.     }
  1339.     </script>
  1340. {% endblock %}
  1341. {% block main %}
  1342.    <section class=\"p-detail__fv\">
  1343.         <div class=\"p-detail__fv__inner\">
  1344.             <div class=\"p-detail__fv__inner__left\">
  1345.                 <div class=\"swiper\">
  1346.                     <!-- Additional required wrapper -->
  1347.                     <div class=\"swiper-wrapper\">
  1348.                       <!-- Slides -->
  1349.                       {% for ProductImage in Product.ProductImage %}
  1350.                             <div class=\"swiper-slide\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\"></div>
  1351.                         {% else %}
  1352.                             <div class=\"swiper-slide\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" /></div>
  1353.                         {% endfor %}
  1354.                       
  1355.                     </div>
  1356.                 </div>
  1357.                 <div class=\"slider-thumbnail\">
  1358.                     <!-- Additional required wrapper -->
  1359.                     <div class=\"swiper-wrapper\">
  1360.                       <!-- Slides -->
  1361.                       {% for ProductImage in Product.ProductImage %}
  1362.                             <div class=\"swiper-slide\" data-index=\"{{ loop.index0 }}\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"\" width=\"133\" height=\"133\" loading=\"lazy\"></div>
  1363.                         {% endfor %}
  1364.                       
  1365.                     </div>
  1366.                 </div>
  1367.                 
  1368.                 <p style=\"text-align: left; font-size:14px;\">※写真はイメージです。<br>配達時には食品安全考慮の為真空パックにてお届け致します。</p>
  1369.                 {% if Product.id == '9' or Product.id == '7' or Product.id == '8' or Product.id == '18' or Product.id == '6' or Product.id == '5' or Product.id == '14' or Product.id == '13' or Product.id == '19' %}
  1370.                         <p style=\"text-align: left; font-size:14px;\">※商品に味付けはございません。<br>ご家庭で塩、ブラックペッパー、タレ、お出汁などご準備ください。</p>
  1371.                 {% elseif Product.id == '12' %}
  1372.                     <p style=\"text-align: left; font-size:14px;\">※塩、ブラックペッパーにて味付けをしておりますが、<br>調理後味気が足りない場合は塩を少々お掛けください。<br>また、わさび、おろししょうが、おろしニンニクが合います。</p>
  1373.                 {% elseif Product.id == '11' %}
  1374.                     <p style=\"text-align: left; font-size:14px;\">※塩、ブラックペッパーにて味付けされておりますので調理後そのままお召し上がり下さい。</p>
  1375.                 {% elseif Product.id == '16' or Product.id == '17' %}
  1376.                     <p style=\"text-align: left; font-size:14px;\">※ご自宅の油にてお揚げください。<br>※卵、小麦粉、パン粉を使用しております。<br>当該品目のアレルギーをお持ちの方はお控え下さい。</p>
  1377.                 {% endif %}
  1378.                 
  1379.                 <div class=\"ec-productRole__description__pcNone\">{{ Product.description_detail|raw|nl2br }}
  1380.                 </div>
  1381.             </div>
  1382.             <div class=\"p-detail__fv__inner__right\">
  1383.                 {% if Product.freearea %}
  1384.                     <p class=\"p-detail__fv__inner__right__subtitle\">
  1385.                         {{ include(template_from_string(Product.freearea)) }}
  1386.                         {#<br>{{ Product.name }}#}
  1387.                     </p>
  1388.                 {% endif %}
  1389.                 {#<h2 class=\"p-detail__fv__inner__right__title\">#}
  1390.                 {#    {{ Product.name }}#}
  1391.                 {#</h2>#}
  1392.                 {% if Product.hasProductClass -%}
  1393.                         <div class=\"ec-productRole__priceRegular\">
  1394.                             {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  1395.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  1396.                                 {#<span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01Min|price }}</span></span>#}
  1397.                                 <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1398.                             {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  1399.                                 <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  1400.                                 {#<span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01Min|price }}~ {{ Product.getPrice01Max|price }}</span></span>#}
  1401.                                 <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1402.                             {% endif %}
  1403.                         </div>
  1404.                     {% else %}
  1405.                         {% if Product.getPrice01Max is not null %}
  1406.                             <span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  1407.                             {#<span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:{{ Product.getPrice01Min|price }}</span>#}
  1408.                             <span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
  1409.                         {% endif %}
  1410.                     {% endif %}
  1411.                 <p class=\"p-detail__fv__inner__right__price\">
  1412.                     <div class=\"ec-productRole__price\">
  1413.                         販売価格
  1414.                         {% if Product.hasProductClass -%}
  1415.                             {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  1416.                                 <div class=\"p-detail__fv__inner__right__price\">
  1417.                                     <span class=\"ec-price__price price02-default p-detail__fv__inner__right__price underline\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1418.                                     {#<span class=\"ec-price__price price02-default p-detail__fv__inner__right__price\">{{ Product.getPrice02Min|price }}</span>#}
  1419.                                     <span class=\"ec-price__tax small\">{{ '税込'|trans }}</span>
  1420.                                 </div>
  1421.                             {% else %}
  1422.                                 <div class=\"p-detail__fv__inner__right__price\">
  1423.                                     <span class=\"ec-price__price price02-default p-detail__fv__inner__right__price underline\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  1424.                                     {#<span class=\"ec-price__price price02-default p-detail__fv__inner__right__price\">{{ Product.getPrice02Min|price }} ~ {{ Product.getPrice02Max|price }}</span>#}
  1425.                                     <span class=\"ec-price__tax small\">{{ '税込'|trans }}</span>
  1426.                                 </div>
  1427.                             {% endif %}
  1428.                         {% else %}
  1429.                             <div class=\"p-detail__fv__inner__right__price\">
  1430.                                 <span class=\"ec-price__price p-detail__fv__inner__right__price underline\">{{ Product.getPrice02IncTaxMin|price }}</span>
  1431.                                 {#<span class=\"ec-price__price p-detail__fv__inner__right__price\">{{ Product.getPrice02Min|price }}</span>#}
  1432.                                 <span class=\"ec-price__tax small\">{{ '税込'|trans }}</span>
  1433.                             </div>
  1434.                         {% endif %}
  1435.                     </div>
  1436.                 </p>
  1437.                 {% if Product.ProductCategories is not empty %}
  1438.                         <div class=\"ec-productRole__category\">
  1439.                             <div>{{ '関連カテゴリ'|trans }}</div>
  1440.                                 <ul class=\"Category__list\">
  1441.                                     {% for ProductCategory in Product.ProductCategories %}
  1442.                                     <li class=\"Category__list_item\">
  1443.                                         {% for Category in ProductCategory.Category.path %}
  1444.                                             <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}#page_anchor\">{{ Category.name }}</a> {%- if loop.last == false %}
  1445.                                             <span>></span>{% endif -%}
  1446.                                         {% endfor %}
  1447.                                     </li>
  1448.                                     {% endfor %}
  1449.                                 </ul>
  1450.                         </div>
  1451.                     {% endif %}
  1452.                 <div class=\"p-detail__fv__inner__right__quantity\">
  1453.                     {#<p>数量</p>#}
  1454.                     {#<div class=\"p-detail__fv__inner__right__quantity__box\">#}
  1455.                     {#    <p>ー</p>#}
  1456.                     {#    <p>1</p>#}
  1457.                     {#    <p>+</p>#}
  1458.                     {#</div>#}
  1459.                     <form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
  1460.                         {% if Product.stock_find %}
  1461.                             <div class=\"ec-productRole__actions\">
  1462.                                 {% if form.classcategory_id1 is defined %}
  1463.                                     <div class=\"ec-select\">
  1464.                                         {{ form_row(form.classcategory_id1) }}
  1465.                                         {{ form_errors(form.classcategory_id1) }}
  1466.                                     </div>
  1467.                                     {% if form.classcategory_id2 is defined %}
  1468.                                         <div class=\"ec-select\">
  1469.                                             {{ form_row(form.classcategory_id2) }}
  1470.                                             {{ form_errors(form.classcategory_id2) }}
  1471.                                         </div>
  1472.                                     {% endif %}
  1473.                                 {% endif %}
  1474.                                 <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  1475.                                     {{ form_widget(form.quantity) }}
  1476.                                     {{ form_errors(form.quantity) }}
  1477.                                 </div>
  1478.                             </div>
  1479.                             <div class=\"ec-productRole__btn\">
  1480.                                 <button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
  1481.                                     {{ 'カートに入れる'|trans }}
  1482.                                 </button>
  1483.                             </div>
  1484.                         {% else %}
  1485.                             <div class=\"ec-productRole__btn\">
  1486.                                 <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  1487.                                     {{ 'ただいま品切れ中です。'|trans }}
  1488.                                 </button>
  1489.                             </div>
  1490.                         {% endif %}
  1491.                         {{ form_rest(form) }}
  1492.                     </form>
  1493.                     <div class=\"ec-modal\">
  1494.                         <div class=\"ec-modal-overlay\">
  1495.                             <div class=\"ec-modal-wrap\">
  1496.                                 <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  1497.                                 <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1498.                                 <div class=\"ec-modal-box\">
  1499.                                     <div class=\"ec-role\">
  1500.                                         <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  1501.                                         <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  1502.                                     </div>
  1503.                                 </div>
  1504.                             </div>
  1505.                         </div>
  1506.                     </div>
  1507.                     {% if BaseInfo.option_favorite_product %}
  1508.                         <form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
  1509.                             <div class=\"ec-productRole__btn\">
  1510.                                 {% if is_favorite == false %}
  1511.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
  1512.                                         {{ 'お気に入りに追加'|trans }}
  1513.                                     </button>
  1514.                                 {% else %}
  1515.                                     <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
  1516.                                             disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}
  1517.                                     </button>
  1518.                                 {% endif %}
  1519.                             </div>
  1520.                         </form>
  1521.                     {% endif %}
  1522.                 </div>
  1523.                 <p style=\"margin-top: 15px; font-size:14px;\">送料は全国一律1,350円となっております。<br>
  1524.                     商品合計金額で16,000円以上購入で、送料は弊社負担とさせていただきます。</p>
  1525.                 <div class=\"ec-productRole__description__spNone\">{{ Product.description_detail|raw|nl2br }}
  1526.                     </div>
  1527.             </div>
  1528.         </div>
  1529. </section>
  1530. <section class=\"p-detail__merchandise\">
  1531.             <img class=\"cloud2\" src=\"{{asset ('/test-ec-05/html/user_data/assets/img/common/cloud_gl1.webp')}}\" alt=\"雲\">
  1532.             <img class=\"cloud1\" src=\"{{asset ('/test-ec-05/html/user_data/assets/img/common/cloud__gl2.webp')}}\" alt=\"雲\">
  1533.             <img id=\"visible\" class=\"absolute3\" src=\"{{asset ('/test-ec-05/html/user_data/assets/img/common/chara2.webp')}}\" alt=\"キャラクター\">
  1534.         <div class=\"section__title\">
  1535.             <img src=\"{{asset ('/test-ec-05/html/user_data/assets/img/common/cow.webp')}}\" alt=\"牛のイラスト\">
  1536.             <h2>商品詳細</h2>
  1537.         </div>
  1538.         <div class=\"p-detail__merchandise__box\">
  1539.             <div class=\"p-detail__merchandise__box__left\">
  1540.                 <img src=\"{{asset ('/test-ec-05/html/user_data/assets/img/common/EC6062.jpeg')}}\" alt=\"お肉の写真\">
  1541.             </div>
  1542.             <p class=\"p-detail__merchandise__box__right\">
  1543.                 私たちが自信を持って厳選した銘柄牛を<br>
  1544.                 端材まで余すことなくふんだんに使用し、<br>
  1545.                 カルビ、ロース、モモなどの部位の他に<br>
  1546.                 ハンバーグなどの加工食品も合わせた詰<br>
  1547.                 め合わせとなっております。<br>
  1548.                 銘柄牛の美味しさがギュッと詰まった商<br>
  1549.                 品となっておりますので、ぜひこの機会<br>
  1550.                 にお求めください。</p>
  1551.         </div>
  1552.        </section>
  1553.       
  1554. {% endblock %}""Product/detail.twig""/home/xb579178/xb579178.xbiz.jp/public_html/test-ec-05/app/template/default/Product/detail.twig");
  1555.     }
  1556. }