var/cache/dev/twig/dd/ddf8c13c1c43f26ede0d461ff47a531db49bb51f71d0047a33fd388fd5ce7dd4.php line 401

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/new.twig */
  14. class __TwigTemplate_b1808fd320936418c90bbf427e88881bae50f96fa5bd40c614266509ad2f3e00 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/new.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/new.twig"));
  39.         // line 13
  40.         $context["body_class"] = "product_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Product/new.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  46.         
  47.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  48.     }
  49.     // line 15
  50.     public function block_javascript($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         // line 16
  58.         echo "    <script>
  59.         eccube.productsClassCategories = {
  60.             ";
  61.         // line 18
  62.         $context['_parent'] = $context;
  63.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'18$this->source); })()));
  64.         $context['loop'] = [
  65.           'parent' => $context['_parent'],
  66.           'index0' => 0,
  67.           'index'  => 1,
  68.           'first'  => true,
  69.         ];
  70.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  71.             $length count($context['_seq']);
  72.             $context['loop']['revindex0'] = $length 1;
  73.             $context['loop']['revindex'] = $length;
  74.             $context['loop']['length'] = $length;
  75.             $context['loop']['last'] = === $length;
  76.         }
  77.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  78.             // line 19
  79.             echo "            \"";
  80.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse19), "js"), "html"nulltrue);
  81.             echo "\": ";
  82.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  83.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse19) == false)) {
  84.                 echo ", ";
  85.             }
  86.             // line 20
  87.             echo "            ";
  88.             ++$context['loop']['index0'];
  89.             ++$context['loop']['index'];
  90.             $context['loop']['first'] = false;
  91.             if (isset($context['loop']['length'])) {
  92.                 --$context['loop']['revindex0'];
  93.                 --$context['loop']['revindex'];
  94.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  95.             }
  96.         }
  97.         $_parent $context['_parent'];
  98.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  99.         $context array_intersect_key($context$_parent) + $_parent;
  100.         // line 21
  101.         echo "        };
  102.         \$(function() {
  103.             // 表示件数を変更
  104.             \$('.disp-number').change(function() {
  105.                 var dispNumber = \$(this).val();
  106.                 \$('#disp_number').val(dispNumber);
  107.                 \$('#pageno').val(1);
  108.                 \$(\"#form1\").submit();
  109.             });
  110.             // 並び順を変更
  111.             \$('.order-by').change(function() {
  112.                 var orderBy = \$(this).val();
  113.                 \$('#orderby').val(orderBy);
  114.                 \$('#pageno').val(1);
  115.                 \$(\"#form1\").submit();
  116.             });
  117.             var modalTimer;
  118.             \$('.add-cart').on('click', function(e) {
  119.                 var self = \$(this);
  120.                 onAddCart(e, \$(this), 1, function() {
  121.                     var \$form = self.parents('li');
  122.                     \$form.find(\".ec-productRole__btn--only\").addClass(\"d-none\");
  123.                     \$form.find(\".ec-productRole__btn--group\").removeClass(\"d-none\");
  124.                     window.clearTimeout(modalTimer);
  125.                     \$('.ec-modal').show()
  126.                     modalTimer = window.setTimeout(function() {
  127.                         \$('.ec-modal').hide();
  128.                     }, 1500)
  129.                 });
  130.             });
  131.             \$('.minus__btn').on('click', function(e) {
  132.                 onAddCart(e, \$(this), -1);
  133.             })
  134.             \$('.plus__btn').on('click', function(e) {
  135.                 onAddCart(e, \$(this));
  136.             })
  137.             function onAddCart(e, self, quantity = 1, callback) {
  138.                 var \$form = \$(self).parents('li').find('form.productForm');
  139.                 // 個数フォームのチェック
  140.                 \$form.parent().find('.quantity').val(quantity);
  141.                 e.preventDefault();
  142.                 \$.ajax({
  143.                     url: \$form.attr('action'),
  144.                     type: \$form.attr('method'),
  145.                     data: \$form.serialize(),
  146.                     dataType: 'json',
  147.                     beforeSend: function(xhr, settings) {
  148.                         // Buttonを無効にする
  149.                         \$(self).prop('disabled', true);
  150.                     }
  151.                 }).done(function(data) {
  152.                     // レスポンス内のメッセージをalertで表示
  153.                     \$.each(data.messages, function() {
  154.                         \$('#ec-modal-header').text(this);
  155.                     });
  156.                     var \$quantityLabelEl = \$(self).parents('li').find('.quantity_label');
  157.                     \$quantityLabelEl.text(\$quantityLabelEl.text() * 1 + quantity * 1);
  158.                     if(callback) {
  159.                         callback();
  160.                     }
  161.                     // カートブロックを更新する
  162.                     \$.ajax({
  163.                         url: '";
  164.         // line 91
  165.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  166.         echo "',
  167.                         type: 'GET',
  168.                         dataType: 'html'
  169.                     }).done(function(html) {
  170.                         \$('.ec-headerRole__cart').html(html);
  171.                     });
  172.                 }).fail(function(data) {
  173.                     alert('";
  174.         // line 98
  175.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  176.         echo "');
  177.                     \$(self).prop('disabled', false);
  178.                 }).always(function(data) {
  179.                     var \$parent = \$(self).parents('li');
  180.                     let stockVal = \$parent.find('.stock').val() * 1;
  181.                     var \$quantityLabelEl = \$parent.find('.quantity_label');
  182.                     var _quantity = \$quantityLabelEl.text() * 1;
  183.                     if(_quantity == 0) {
  184.                         // enable minus button
  185.                         \$(self).prop('disabled', false);
  186.                         \$parent.find(\".ec-productRole__btn--only\").removeClass(\"d-none\");
  187.                         \$parent.find(\".ec-productRole__btn--group\").addClass(\"d-none\");
  188.                     }
  189.                     if(_quantity > 0 && _quantity < stockVal) {
  190.                         // Buttonを有効にする
  191.                         \$(self).prop('disabled', false);
  192.                         \$parent.find('.plus__btn').prop('disabled', false);
  193.                     }
  194.                 });
  195.             }
  196.         });
  197.         \$('.ec-modal-wrap').on('click', function(e) {
  198.             // モーダル内の処理は外側にバブリングさせない
  199.             e.stopPropagation();
  200.         });
  201.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  202.             \$('.ec-modal').hide()
  203.         });
  204.     </script>
  205. ";
  206.         
  207.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  208.         
  209.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  210.     }
  211.     // line 133
  212.     public function block_main($context, array $blocks = [])
  213.     {
  214.         $macros $this->macros;
  215.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  216.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  217.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  218.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  219.         // line 134
  220.         echo "    <ul class=\"breadcrumb w-p\">
  221.         <li class=\"breadcrumb__item\">
  222.             <a href=\"";
  223.         // line 136
  224.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  225.         echo "\" class=\"breadcrumb__item__link\">
  226.                 ホーム
  227.             </a>
  228.         </li>
  229.         <li class=\"breadcrumb__item\">
  230.             <p class=\"breadcrumb__item__arrow\">></p>
  231.         </li>
  232.         <li class=\"breadcrumb__item\">
  233.             <p class=\"breadcrumb__item__text\">新着商品一覧</p>
  234.         </li>
  235.     </ul>
  236.     <div class=\"ec-pageHeader contentHeader\">
  237.         <h1>";
  238.         // line 148
  239.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("新着商品一覧"), "html"nulltrue);
  240.         echo "</h1>
  241.     </div>
  242.     ";
  243.         // line 150
  244.         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'150$this->source); })()), "category_id", [], "any"falsefalsefalse150), "vars", [], "any"falsefalsefalse150), "errors", [], "any"falsefalsefalse150)) > 0)) {
  245.             // line 151
  246.             echo "        <div class=\"ec-searchnavRole\">
  247.             <p class=\"errormsg text-danger\">";
  248.             // line 152
  249.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  250.             echo "</p>
  251.         </div>
  252.     ";
  253.         } else {
  254.             // line 155
  255.             echo "        <div class=\"ec-searchnavRole\">
  256.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  257.                 ";
  258.             // line 157
  259.             $context['_parent'] = $context;
  260.             $context['_seq'] = twig_ensure_traversable((isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'157$this->source); })()));
  261.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  262.                 // line 158
  263.                 echo "                    <input type=\"hidden\" id=\"";
  264.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse158), "id", [], "any"falsefalsefalse158), "html"nulltrue);
  265.                 echo "\"
  266.                            name=\"";
  267.                 // line 159
  268.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse159), "full_name", [], "any"falsefalsefalse159), "html"nulltrue);
  269.                 echo "\"
  270.                            ";
  271.                 // line 160
  272.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse160), "value", [], "any"falsefalsefalse160))) {
  273.                     echo "value=\"";
  274.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse160), "value", [], "any"falsefalsefalse160), "html"nulltrue);
  275.                     echo "\" ";
  276.                 }
  277.                 echo "/>
  278.                 ";
  279.             }
  280.             $_parent $context['_parent'];
  281.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  282.             $context array_intersect_key($context$_parent) + $_parent;
  283.             // line 162
  284.             echo "            </form>
  285.             ";
  286.             // line 181
  287.             echo "            <div class=\"ec-searchnavRole__infos\">
  288.                 <div class=\"ec-searchnavRole__counter\">
  289.                     ";
  290.             // line 189
  291.             echo "                </div>
  292.                 ";
  293.             // line 190
  294.             if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'190$this->source); })()), "totalItemCount", [], "any"falsefalsefalse190) > 0)) {
  295.                 // line 191
  296.                 echo "                    <div class=\"ec-searchnavRole__actions\">
  297.                         <div class=\"ec-select\">
  298.                             ";
  299.                 // line 193
  300.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'193$this->source); })()), "disp_number", [], "any"falsefalsefalse193), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  301.                 echo "
  302.                             ";
  303.                 // line 194
  304.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["search_form"]) || array_key_exists("search_form"$context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.'194$this->source); })()), "orderby", [], "any"falsefalsefalse194), 'widget', ["id" => """attr" => ["class" => "order-by d-none"]]);
  305.                 echo "
  306.                         </div>
  307.                     </div>
  308.                 ";
  309.             }
  310.             // line 198
  311.             echo "            </div>
  312.         </div>
  313.         <ul class=\"stockList\">
  314.             <li class=\"stockList__block\">
  315.                 <p class=\"stockList__block__text\">在庫あり:</p>
  316.                 <p class=\"stockList__block__mark\">◎</p>
  317.             </li>
  318.             <li class=\"stockList__block\">
  319.                 <p class=\"stockList__block__text\">残りわずか:</p>
  320.                 <p class=\"stockList__block__mark\">○</p>
  321.             </li>
  322.             <li class=\"stockList__block\">
  323.                 <p class=\"stockList__block__text\">取り寄せ:</p>
  324.                 <p class=\"stockList__block__mark\">■</p>
  325.             </li>
  326.         </ul>
  327.         ";
  328.             // line 214
  329.             if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'214$this->source); })()), "totalItemCount", [], "any"falsefalsefalse214) > 0)) {
  330.                 // line 215
  331.                 echo "            <div class=\"ec-shelfRole\">
  332.                 <ul class=\"ec-shelfGrid\">
  333.                     ";
  334.                 // line 217
  335.                 $context['_parent'] = $context;
  336.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'217$this->source); })()));
  337.                 $context['loop'] = [
  338.                   'parent' => $context['_parent'],
  339.                   'index0' => 0,
  340.                   'index'  => 1,
  341.                   'first'  => true,
  342.                 ];
  343.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  344.                     $length count($context['_seq']);
  345.                     $context['loop']['revindex0'] = $length 1;
  346.                     $context['loop']['revindex'] = $length;
  347.                     $context['loop']['length'] = $length;
  348.                     $context['loop']['last'] = === $length;
  349.                 }
  350.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  351.                     // line 218
  352.                     echo "                        <li class=\"ec-shelfGrid__item\">
  353.                             <a href=\"";
  354.                     // line 219
  355.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse219)]), "html"nulltrue);
  356.                     echo "\">
  357.                                 <div class=\"ec-shelfGrid__item-image\">
  358.                                     <img src=\"";
  359.                     // line 221
  360.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsefalse221)), "save_image"), "html"nulltrue);
  361.                     echo "\" alt=\"";
  362.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse221), "html"nulltrue);
  363.                     echo "\" ";
  364.                     if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse221) > 5)) {
  365.                         echo " loading=\"lazy\"";
  366.                     }
  367.                     echo ">
  368.                                     ";
  369.                     // line 222
  370.                     if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse222)) > 0)) {
  371.                         // line 223
  372.                         echo "                                    <ul class=\"ec-shelfGrid__item-tags\">
  373.                                         ";
  374.                         // line 224
  375.                         $context['_parent'] = $context;
  376.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Product"], "Tags", [], "any"falsefalsefalse224));
  377.                         foreach ($context['_seq'] as $context["_key"] => $context["Tag"]) {
  378.                             // line 225
  379.                             echo "                                            <li class=\"ec-shelfGrid__item-tags__tag tag_";
  380.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Tag"], "id", [], "any"falsefalsefalse225), "html"nulltrue);
  381.                             echo "\">";
  382.                             echo twig_escape_filter($this->env$context["Tag"], "html"nulltrue);
  383.                             echo "</li>
  384.                                         ";
  385.                         }
  386.                         $_parent $context['_parent'];
  387.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Tag'], $context['_parent'], $context['loop']);
  388.                         $context array_intersect_key($context$_parent) + $_parent;
  389.                         // line 227
  390.                         echo "                                    </ul>
  391.                                     ";
  392.                     }
  393.                     // line 229
  394.                     echo "                                </div>
  395.                                 <p class=\"ec-shelfGrid__item-name\">";
  396.                     // line 230
  397.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse230), "html"nulltrue);
  398.                     echo "</p>
  399.                                 ";
  400.                     // line 231
  401.                     if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
  402.                         // line 232
  403.                         echo "
  404.                                 <div class=\"ec-shelfGrid__item-stock\">
  405.                                     <div class=\"ec-shelfGrid__item-stock__block\">
  406.                                         <p class=\"ec-shelfGrid__item-stock__block__title\">
  407.                                             【発送目安】
  408.                                         </p>
  409.                                         <p class=\"ec-shelfGrid__item-stock__block__detail\">
  410.                                             ";
  411.                         // line 239
  412.                         if (twig_get_attribute($this->env$this->source$context["Product"], "getDeliveryDuration", [], "any"falsefalsefalse239)) {
  413.                             // line 240
  414.                             echo "                                                ";
  415.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["Product"], "getDeliveryDuration", [], "any"falsefalsefalse240), "name", [], "any"falsefalsefalse240), "html"nulltrue);
  416.                             echo "
  417.                                             ";
  418.                         } else {
  419.                             // line 242
  420.                             echo "                                                指定なし
  421.                                             ";
  422.                         }
  423.                         // line 244
  424.                         echo "                                        </p>
  425.                                     </div>
  426.                                     <div class=\"ec-shelfGrid__item-stock__block\">
  427.                                         <p class=\"ec-shelfGrid__item-stock__block__title\">
  428.                                             【在庫】
  429.                                         </p>
  430.                                         ";
  431.                         // line 251
  432.                         echo "                                        <p class=\"ec-shelfGrid__item-stock__block__detail\">
  433.                                             ";
  434.                         // line 252
  435.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getStockUnlimitedMin", [], "any"falsefalsefalse252) || (twig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse252) >= 10))) {
  436.                             // line 253
  437.                             echo "                                                ◎
  438.                                             ";
  439.                         } else {
  440.                             // line 255
  441.                             echo "                                                ";
  442.                             if (((twig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse255) >= 1) && (twig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse255) <= 9))) {
  443.                                 // line 256
  444.                                 echo "                                                    ○
  445.                                                 ";
  446.                             }
  447.                             // line 258
  448.                             echo "                                                ";
  449.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse258) <= 0)) {
  450.                                 // line 259
  451.                                 echo "                                                    ■
  452.                                                 ";
  453.                             }
  454.                             // line 261
  455.                             echo "                                            ";
  456.                         }
  457.                         // line 262
  458.                         echo "                                        </p>
  459.                                     </div>
  460.                                 </div>
  461.                                 ";
  462.                         // line 270
  463.                         echo "                                ";
  464.                         if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse270)) {
  465.                             // line 271
  466.                             echo "                                    <p>";
  467.                             echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse271));
  468.                             echo "</p>
  469.                                 ";
  470.                         }
  471.                         // line 273
  472.                         echo "                                <div class=\"ec-shelfGrid__item-flex\">
  473.                                     <p class=\"price02-default ec-shelfGrid__item-price\">
  474.                                         ";
  475.                         // line 275
  476.                         if (twig_get_attribute($this->env$this->source$context["Product"], "isInSale", [], "any"falsefalsefalse275)) {
  477.                             // line 276
  478.                             echo "                                            <span class=\"ec-shelfGrid__item-price__sale\">セール商品</span>
  479.                                         ";
  480.                         }
  481.                         // line 278
  482.                         echo "                                        ";
  483.                         if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse278)) {
  484.                             // line 279
  485.                             echo "                                            ";
  486.                             if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsefalse279) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsefalse279))) {
  487.                                 // line 280
  488.                                 echo "                                                ";
  489.                                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse280)), "html"nulltrue);
  490.                                 echo "
  491.                                             ";
  492.                             } else {
  493.                                 // line 282
  494.                                 echo "                                                ";
  495.                                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse282)), "html"nulltrue);
  496.                                 echo " ~ ";
  497.                                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse282)), "html"nulltrue);
  498.                                 echo "
  499.                                             ";
  500.                             }
  501.                             // line 284
  502.                             echo "                                        ";
  503.                         } else {
  504.                             // line 285
  505.                             echo "                                            ";
  506.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse285)), "html"nulltrue);
  507.                             echo "
  508.                                         ";
  509.                         }
  510.                         // line 287
  511.                         echo "                                    </p>
  512.                                     <div class=\"ec-shelfGrid__item-flex__favorite\">
  513.                                         <form class=\"ec-favoriteForm\" action=\"?\" method=\"?\">
  514.                                             <div class=\"ec-productRole__btn\">
  515.                                                 <button data-method=\"POST\" data-action=\"";
  516.                         // line 291
  517.                         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$context["Product"], "id", [], "any"falsefalsefalse291)]), "html"nulltrue);
  518.                         echo "\" id=\"favorite\" class=\"";
  519.                         if ((twig_get_attribute($this->env$this->source, ($context["isFavorite"] ?? null), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse291), [], "array"truetruefalse291) && (twig_get_attribute($this->env$this->source, (isset($context["isFavorite"]) || array_key_exists("isFavorite"$context) ? $context["isFavorite"] : (function () { throw new RuntimeError('Variable "isFavorite" does not exist.'291$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse291), [], "array"falsefalsefalse291) == true))) {
  520.                             echo " d-none ";
  521.                         }
  522.                         echo " ec-blockFavoriteBtn ec-blockBtn--cancel ec-shelfGrid__item-flex__favorite__btn\">
  523.                                                     <img src=\"";
  524.                         // line 292
  525.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favorite/before.svg"), "html"nulltrue);
  526.                         echo "\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
  527.                                                 </button>
  528.                                                 <button data-method=\"DELETE\" data-action=\"";
  529.                         // line 294
  530.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_favorite_delete", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse294)]), "html"nulltrue);
  531.                         echo "\" id=\"favorite\" class=\"";
  532.                         if ((twig_get_attribute($this->env$this->source, ($context["isFavorite"] ?? null), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse294), [], "array"truetruefalse294) && (twig_get_attribute($this->env$this->source, (isset($context["isFavorite"]) || array_key_exists("isFavorite"$context) ? $context["isFavorite"] : (function () { throw new RuntimeError('Variable "isFavorite" does not exist.'294$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse294), [], "array"falsefalsefalse294) == false))) {
  533.                             echo " d-none ";
  534.                         }
  535.                         echo "ec-blockFavoriteBtnDisable ec-blockBtn--cancel ec-shelfGrid__item-flex__favorite__btn\">
  536.                                                    <img src=\"";
  537.                         // line 295
  538.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favorite/after.svg"), "html"nulltrue);
  539.                         echo "\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
  540.                                                 </button>
  541.                                             </div>
  542.                                         </form>
  543.                                     </div>
  544.                                 </div>
  545.                             </a>
  546.                                 ";
  547.                         // line 303
  548.                         if ((( !twig_get_attribute($this->env$this->source$context["Product"], "getStockUnlimitedMin", [], "any"falsefalsefalse303) && (twig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse303) <= 0)) && twig_get_attribute($this->env$this->source$context["Product"], "isStockDiscontinued", [], "any"falsefalsefalse303))) {
  549.                             // line 304
  550.                             echo "                                    <div class=\"ec-productRole__btn\">
  551.                                         <button type=\"button\" class=\"ec-disabled__btn\" disabled=\"disabled\">
  552.                                             ";
  553.                             // line 306
  554.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("在庫なし"), "html"nulltrue);
  555.                             echo "
  556.                                         </button>
  557.                                     </div>
  558.                                 ";
  559.                         } else {
  560.                             // line 310
  561.                             echo "                                    ";
  562.                             $context["form"] = twig_get_attribute($this->env$this->source, (isset($context["forms"]) || array_key_exists("forms"$context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.'310$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse310), [], "array"falsefalsefalse310);
  563.                             // line 311
  564.                             echo "                                    <form class=\"productForm\" name=\"form";
  565.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse311), "html"nulltrue);
  566.                             echo "\" id=\"productForm";
  567.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse311), "html"nulltrue);
  568.                             echo "\" action=\"";
  569.                             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$context["Product"], "id", [], "any"falsefalsefalse311)]), "html"nulltrue);
  570.                             echo "\" method=\"post\">
  571.                                         <div class=\"ec-productRole__actions\">
  572.                                             ";
  573.                             // line 313
  574.                             if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id1", [], "any"truetruefalse313)) {
  575.                                 // line 314
  576.                                 echo "                                                <div class=\"ec-select\">
  577.                                                     ";
  578.                                 // line 315
  579.                                 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.'315$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse315), 'widget');
  580.                                 echo "
  581.                                                     ";
  582.                                 // line 316
  583.                                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'316$this->source); })()), "classcategory_id1", [], "any"falsefalsefalse316), 'errors');
  584.                                 echo "
  585.                                                 </div>
  586.                                                 ";
  587.                                 // line 318
  588.                                 if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "classcategory_id2", [], "any"truetruefalse318)) {
  589.                                     // line 319
  590.                                     echo "                                                    <div class=\"ec-select\">
  591.                                                         ";
  592.                                     // line 320
  593.                                     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.'320$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse320), 'widget');
  594.                                     echo "
  595.                                                         ";
  596.                                     // line 321
  597.                                     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.'321$this->source); })()), "classcategory_id2", [], "any"falsefalsefalse321), 'errors');
  598.                                     echo "
  599.                                                     </div>
  600.                                                 ";
  601.                                 }
  602.                                 // line 324
  603.                                 echo "                                            ";
  604.                             }
  605.                             // line 325
  606.                             echo "                                                <div class=\"ec-numberInput d-none\"><span>";
  607.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  608.                             echo "</span>
  609.                                                     ";
  610.                             // line 326
  611.                             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.'326$this->source); })()), "quantity", [], "any"falsefalsefalse326), 'widget', ["attr" => ["class" => "quantity"]]);
  612.                             echo "
  613.                                                     ";
  614.                             // line 327
  615.                             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.'327$this->source); })()), "quantity", [], "any"falsefalsefalse327), 'errors');
  616.                             echo "
  617.                                                 </div>
  618.                                         
  619.                                         </div>
  620.                                         ";
  621.                             // line 331
  622.                             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.'331$this->source); })()), 'rest');
  623.                             echo "
  624.                                     </form>
  625.                                     ";
  626.                             // line 333
  627.                             $context["default"] = 0;
  628.                             // line 334
  629.                             echo "                                    ";
  630.                             if (twig_get_attribute($this->env$this->source, ($context["itemInCart"] ?? null), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse334), [], "array"truetruefalse334)) {
  631.                                 // line 335
  632.                                 echo "                                        ";
  633.                                 $context["default"] = twig_get_attribute($this->env$this->source, (isset($context["itemInCart"]) || array_key_exists("itemInCart"$context) ? $context["itemInCart"] : (function () { throw new RuntimeError('Variable "itemInCart" does not exist.'335$this->source); })()), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse335), [], "array"falsefalsefalse335);
  634.                                 // line 336
  635.                                 echo "                                    ";
  636.                             }
  637.                             // line 337
  638.                             echo "                                    ";
  639.                             $context["disabled"] = false;
  640.                             // line 338
  641.                             echo "                                    ";
  642.                             if ( !twig_get_attribute($this->env$this->source$context["Product"], "isStockDiscontinued", [], "any"falsefalsefalse338)) {
  643.                                 // line 339
  644.                                 echo "                                        <input type=\"hidden\" name=\"stock\" class=\"stock\" value=\"999999999999\">
  645.                                     ";
  646.                             } else {
  647.                                 // line 341
  648.                                 echo "                                        ";
  649.                                 if ((twig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse341) <= (isset($context["default"]) || array_key_exists("default"$context) ? $context["default"] : (function () { throw new RuntimeError('Variable "default" does not exist.'341$this->source); })()))) {
  650.                                     // line 342
  651.                                     echo "                                            ";
  652.                                     $context["disabled"] = true;
  653.                                     // line 343
  654.                                     echo "                                        ";
  655.                                 }
  656.                                 // line 344
  657.                                 echo "                                        <input type=\"hidden\" name=\"stock\" class=\"stock\" value=\"";
  658.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "getStockMin", [], "any"falsefalsefalse344), "html"nulltrue);
  659.                                 echo "\">
  660.                                     ";
  661.                             }
  662.                             // line 346
  663.                             echo "                                    <div class=\"ec-productRole__btn--group ec-productRole__btn ";
  664.                             if (twig_get_attribute($this->env$this->source, ($context["itemInCart"] ?? null), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse346), [], "array"truetruefalse346)) {
  665.                                 echo " d-block ";
  666.                             } else {
  667.                                 echo " d-none ";
  668.                             }
  669.                             echo "\">
  670.                                         <div class=\"d-flex align-items-center ec-productRole__btn-wrapper\">
  671.                                             <button class=\"minus__btn\" data-cartid=\"";
  672.                             // line 348
  673.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse348), "html"nulltrue);
  674.                             echo "\" form=\"productForm";
  675.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse348), "html"nulltrue);
  676.                             echo "\">
  677.                                                 <span>−</span>
  678.                                             </button>
  679.                                             <span class=\"quantity_label\">";
  680.                             // line 351
  681.                             echo twig_escape_filter($this->env, (isset($context["default"]) || array_key_exists("default"$context) ? $context["default"] : (function () { throw new RuntimeError('Variable "default" does not exist.'351$this->source); })()), "html"nulltrue);
  682.                             echo "</span>
  683.                                             <button class=\"plus__btn\" data-cartid=\"";
  684.                             // line 352
  685.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse352), "html"nulltrue);
  686.                             echo "\" form=\"productForm";
  687.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse352), "html"nulltrue);
  688.                             echo "\" ";
  689.                             if ((isset($context["disabled"]) || array_key_exists("disabled"$context) ? $context["disabled"] : (function () { throw new RuntimeError('Variable "disabled" does not exist.'352$this->source); })())) {
  690.                                 echo "disabled";
  691.                             }
  692.                             echo ">
  693.                                                 <span>+</span>
  694.                                             </button>
  695.                                         </div>
  696.                                     </div>
  697.                                     <div class=\"ec-productRole__btn--only ec-productRole__btn ";
  698.                             // line 357
  699.                             if (twig_get_attribute($this->env$this->source, ($context["itemInCart"] ?? null), twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse357), [], "array"truetruefalse357)) {
  700.                                 echo " d-none ";
  701.                             } else {
  702.                                 echo " d-block ";
  703.                             }
  704.                             echo "\">
  705.                                         <button type=\"submit\" class=\"ec-regular__btn add-cart\" data-cartid=\"";
  706.                             // line 358
  707.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse358), "html"nulltrue);
  708.                             echo "\" form=\"productForm";
  709.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse358), "html"nulltrue);
  710.                             echo "\">
  711.                                             ";
  712.                             // line 359
  713.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html"nulltrue);
  714.                             echo "
  715.                                         </button>
  716.                                     </div>
  717.                                 ";
  718.                         }
  719.                         // line 363
  720.                         echo "                            ";
  721.                     } else {
  722.                         // line 364
  723.                         echo "                                <a href=\"";
  724.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_contact");
  725.                         echo "\" class=\"ec-blockProductBtn--action\">会員登録はこちら</a>
  726.                             ";
  727.                     }
  728.                     // line 366
  729.                     echo "                        </li>
  730.                     ";
  731.                     ++$context['loop']['index0'];
  732.                     ++$context['loop']['index'];
  733.                     $context['loop']['first'] = false;
  734.                     if (isset($context['loop']['length'])) {
  735.                         --$context['loop']['revindex0'];
  736.                         --$context['loop']['revindex'];
  737.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  738.                     }
  739.                 }
  740.                 $_parent $context['_parent'];
  741.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  742.                 $context array_intersect_key($context$_parent) + $_parent;
  743.                 // line 368
  744.                 echo "                </ul>
  745.             </div>
  746.             <div class=\"ec-modal\">
  747.                 <div class=\"ec-modal-overlay\">
  748.                     <div class=\"ec-modal-wrap\">
  749.                         <div class=\"ec-modal-box\">
  750.                             <div class=\"ec-role\">
  751.                                 <div class=\"ec-modal-icon\">
  752.                                     <img src=\"";
  753.                 // line 376
  754.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/icon/icon_cart.png""user_data"), "html"nulltrue);
  755.                 echo "\" alt=\"\">
  756.                                 </div>
  757.                             </div>
  758.                         </div>
  759.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  760.                 // line 380
  761.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  762.                 echo "</div>
  763.                     </div>
  764.                 </div>
  765.             </div>
  766.             <ul class=\"stockList bottom\">
  767.                 <li class=\"stockList__block\">
  768.                     <p class=\"stockList__block__text\">在庫あり:</p>
  769.                     <p class=\"stockList__block__mark\">◎</p>
  770.                 </li>
  771.                 <li class=\"stockList__block\">
  772.                     <p class=\"stockList__block__text\">残りわずか:</p>
  773.                     <p class=\"stockList__block__mark\">○</p>
  774.                 </li>
  775.                 <li class=\"stockList__block\">
  776.                     <p class=\"stockList__block__text\">取り寄せ:</p>
  777.                     <p class=\"stockList__block__mark\">■</p>
  778.                 </li>
  779.             </ul>
  780.             <div class=\"ec-pagerRole\">
  781.                 ";
  782.                 // line 399
  783.                 $this->loadTemplate("pager.twig""Product/new.twig"399)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'399$this->source); })()), "paginationData", [], "any"falsefalsefalse399)]));
  784.                 // line 400
  785.                 echo "            </div>
  786.         ";
  787.             }
  788.             // line 402
  789.             echo "    ";
  790.         }
  791.         
  792.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  793.         
  794.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  795.     }
  796.     public function getTemplateName()
  797.     {
  798.         return "Product/new.twig";
  799.     }
  800.     public function isTraitable()
  801.     {
  802.         return false;
  803.     }
  804.     public function getDebugInfo()
  805.     {
  806.         return array (  821 => 402,  817 => 400,  815 => 399,  793 => 380,  786 => 376,  776 => 368,  761 => 366,  755 => 364,  752 => 363,  745 => 359,  739 => 358,  731 => 357,  717 => 352,  713 => 351,  705 => 348,  695 => 346,  689 => 344,  686 => 343,  683 => 342,  680 => 341,  676 => 339,  673 => 338,  670 => 337,  667 => 336,  664 => 335,  661 => 334,  659 => 333,  654 => 331,  647 => 327,  643 => 326,  638 => 325,  635 => 324,  629 => 321,  625 => 320,  622 => 319,  620 => 318,  615 => 316,  611 => 315,  608 => 314,  606 => 313,  596 => 311,  593 => 310,  586 => 306,  582 => 304,  580 => 303,  569 => 295,  561 => 294,  556 => 292,  548 => 291,  542 => 287,  536 => 285,  533 => 284,  525 => 282,  519 => 280,  516 => 279,  513 => 278,  509 => 276,  507 => 275,  503 => 273,  497 => 271,  494 => 270,  489 => 262,  486 => 261,  482 => 259,  479 => 258,  475 => 256,  472 => 255,  468 => 253,  466 => 252,  463 => 251,  455 => 244,  451 => 242,  445 => 240,  443 => 239,  434 => 232,  432 => 231,  428 => 230,  425 => 229,  421 => 227,  410 => 225,  406 => 224,  403 => 223,  401 => 222,  391 => 221,  386 => 219,  383 => 218,  366 => 217,  362 => 215,  360 => 214,  342 => 198,  335 => 194,  331 => 193,  327 => 191,  325 => 190,  322 => 189,  318 => 181,  315 => 162,  303 => 160,  299 => 159,  294 => 158,  290 => 157,  286 => 155,  280 => 152,  277 => 151,  275 => 150,  270 => 148,  255 => 136,  251 => 134,  241 => 133,  197 => 98,  187 => 91,  115 => 21,  101 => 20,  93 => 19,  76 => 18,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  807.     }
  808.     public function getSourceContext()
  809.     {
  810.         return new Source("{#
  811. This file is part of EC-CUBE
  812. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  813. http://www.ec-cube.co.jp/
  814. For the full copyright and license information, please view the LICENSE
  815. file that was distributed with this source code.
  816. #}
  817. {% extends 'default_frame.twig' %}
  818. {% set body_class = 'product_page' %}
  819. {% block javascript %}
  820.     <script>
  821.         eccube.productsClassCategories = {
  822.             {% for Product in pagination %}
  823.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  824.             {% endfor %}
  825.         };
  826.         \$(function() {
  827.             // 表示件数を変更
  828.             \$('.disp-number').change(function() {
  829.                 var dispNumber = \$(this).val();
  830.                 \$('#disp_number').val(dispNumber);
  831.                 \$('#pageno').val(1);
  832.                 \$(\"#form1\").submit();
  833.             });
  834.             // 並び順を変更
  835.             \$('.order-by').change(function() {
  836.                 var orderBy = \$(this).val();
  837.                 \$('#orderby').val(orderBy);
  838.                 \$('#pageno').val(1);
  839.                 \$(\"#form1\").submit();
  840.             });
  841.             var modalTimer;
  842.             \$('.add-cart').on('click', function(e) {
  843.                 var self = \$(this);
  844.                 onAddCart(e, \$(this), 1, function() {
  845.                     var \$form = self.parents('li');
  846.                     \$form.find(\".ec-productRole__btn--only\").addClass(\"d-none\");
  847.                     \$form.find(\".ec-productRole__btn--group\").removeClass(\"d-none\");
  848.                     window.clearTimeout(modalTimer);
  849.                     \$('.ec-modal').show()
  850.                     modalTimer = window.setTimeout(function() {
  851.                         \$('.ec-modal').hide();
  852.                     }, 1500)
  853.                 });
  854.             });
  855.             \$('.minus__btn').on('click', function(e) {
  856.                 onAddCart(e, \$(this), -1);
  857.             })
  858.             \$('.plus__btn').on('click', function(e) {
  859.                 onAddCart(e, \$(this));
  860.             })
  861.             function onAddCart(e, self, quantity = 1, callback) {
  862.                 var \$form = \$(self).parents('li').find('form.productForm');
  863.                 // 個数フォームのチェック
  864.                 \$form.parent().find('.quantity').val(quantity);
  865.                 e.preventDefault();
  866.                 \$.ajax({
  867.                     url: \$form.attr('action'),
  868.                     type: \$form.attr('method'),
  869.                     data: \$form.serialize(),
  870.                     dataType: 'json',
  871.                     beforeSend: function(xhr, settings) {
  872.                         // Buttonを無効にする
  873.                         \$(self).prop('disabled', true);
  874.                     }
  875.                 }).done(function(data) {
  876.                     // レスポンス内のメッセージをalertで表示
  877.                     \$.each(data.messages, function() {
  878.                         \$('#ec-modal-header').text(this);
  879.                     });
  880.                     var \$quantityLabelEl = \$(self).parents('li').find('.quantity_label');
  881.                     \$quantityLabelEl.text(\$quantityLabelEl.text() * 1 + quantity * 1);
  882.                     if(callback) {
  883.                         callback();
  884.                     }
  885.                     // カートブロックを更新する
  886.                     \$.ajax({
  887.                         url: '{{ url('block_cart') }}',
  888.                         type: 'GET',
  889.                         dataType: 'html'
  890.                     }).done(function(html) {
  891.                         \$('.ec-headerRole__cart').html(html);
  892.                     });
  893.                 }).fail(function(data) {
  894.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  895.                     \$(self).prop('disabled', false);
  896.                 }).always(function(data) {
  897.                     var \$parent = \$(self).parents('li');
  898.                     let stockVal = \$parent.find('.stock').val() * 1;
  899.                     var \$quantityLabelEl = \$parent.find('.quantity_label');
  900.                     var _quantity = \$quantityLabelEl.text() * 1;
  901.                     if(_quantity == 0) {
  902.                         // enable minus button
  903.                         \$(self).prop('disabled', false);
  904.                         \$parent.find(\".ec-productRole__btn--only\").removeClass(\"d-none\");
  905.                         \$parent.find(\".ec-productRole__btn--group\").addClass(\"d-none\");
  906.                     }
  907.                     if(_quantity > 0 && _quantity < stockVal) {
  908.                         // Buttonを有効にする
  909.                         \$(self).prop('disabled', false);
  910.                         \$parent.find('.plus__btn').prop('disabled', false);
  911.                     }
  912.                 });
  913.             }
  914.         });
  915.         \$('.ec-modal-wrap').on('click', function(e) {
  916.             // モーダル内の処理は外側にバブリングさせない
  917.             e.stopPropagation();
  918.         });
  919.         \$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  920.             \$('.ec-modal').hide()
  921.         });
  922.     </script>
  923. {% endblock %}
  924. {% block main %}
  925.     <ul class=\"breadcrumb w-p\">
  926.         <li class=\"breadcrumb__item\">
  927.             <a href=\"{{ url('homepage') }}\" class=\"breadcrumb__item__link\">
  928.                 ホーム
  929.             </a>
  930.         </li>
  931.         <li class=\"breadcrumb__item\">
  932.             <p class=\"breadcrumb__item__arrow\">></p>
  933.         </li>
  934.         <li class=\"breadcrumb__item\">
  935.             <p class=\"breadcrumb__item__text\">新着商品一覧</p>
  936.         </li>
  937.     </ul>
  938.     <div class=\"ec-pageHeader contentHeader\">
  939.         <h1>{{ '新着商品一覧'|trans }}</h1>
  940.     </div>
  941.     {% if search_form.category_id.vars.errors|length > 0 %}
  942.         <div class=\"ec-searchnavRole\">
  943.             <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  944.         </div>
  945.     {% else %}
  946.         <div class=\"ec-searchnavRole\">
  947.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  948.                 {% for item in search_form %}
  949.                     <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  950.                            name=\"{{ item.vars.full_name }}\"
  951.                            {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  952.                 {% endfor %}
  953.             </form>
  954.             {# <div class=\"ec-searchnavRole__topicpath\">
  955.                 <ol class=\"ec-topicpath\">
  956.                     <li class=\"ec-topicpath__item\"><a href=\"{{ url('product_list') }}\">{{ '全て'|trans }}</a>
  957.                     </li>
  958.                     {% if Category is not null %}
  959.                         {% for Path in Category.path %}
  960.                             <li class=\"ec-topicpath__divider\">|</li>
  961.                             <li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\"><a
  962.                                         href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a>
  963.                             </li>
  964.                         {% endfor %}
  965.                     {% endif %}
  966.                     {% if search_form.vars.value and search_form.vars.value.name %}
  967.                         <li class=\"ec-topicpath__divider\">|</li>
  968.                         <li class=\"ec-topicpath__item\">{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}</li>
  969.                     {% endif %}
  970.                 </ol>
  971.             </div> #}
  972.             <div class=\"ec-searchnavRole__infos\">
  973.                 <div class=\"ec-searchnavRole__counter\">
  974.                     {# {% if pagination.totalItemCount > 0 %}
  975.                         <p class=\"ec-searchnavRole__counter__title\">検索結果</p>
  976.                         {{ '<p class=\"ec-searchnavRole__counter__number\">%count%件</p>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  977.                     {% else %}
  978.                         <span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
  979.                     {% endif %} #}
  980.                 </div>
  981.                 {% if pagination.totalItemCount > 0 %}
  982.                     <div class=\"ec-searchnavRole__actions\">
  983.                         <div class=\"ec-select\">
  984.                             {{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  985.                             {{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by d-none'}}) }}
  986.                         </div>
  987.                     </div>
  988.                 {% endif %}
  989.             </div>
  990.         </div>
  991.         <ul class=\"stockList\">
  992.             <li class=\"stockList__block\">
  993.                 <p class=\"stockList__block__text\">在庫あり:</p>
  994.                 <p class=\"stockList__block__mark\">◎</p>
  995.             </li>
  996.             <li class=\"stockList__block\">
  997.                 <p class=\"stockList__block__text\">残りわずか:</p>
  998.                 <p class=\"stockList__block__mark\">○</p>
  999.             </li>
  1000.             <li class=\"stockList__block\">
  1001.                 <p class=\"stockList__block__text\">取り寄せ:</p>
  1002.                 <p class=\"stockList__block__mark\">■</p>
  1003.             </li>
  1004.         </ul>
  1005.         {% if pagination.totalItemCount > 0 %}
  1006.             <div class=\"ec-shelfRole\">
  1007.                 <ul class=\"ec-shelfGrid\">
  1008.                     {% for Product in pagination %}
  1009.                         <li class=\"ec-shelfGrid__item\">
  1010.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  1011.                                 <div class=\"ec-shelfGrid__item-image\">
  1012.                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  1013.                                     {% if Product.Tags|length > 0  %}
  1014.                                     <ul class=\"ec-shelfGrid__item-tags\">
  1015.                                         {% for Tag in Product.Tags %}
  1016.                                             <li class=\"ec-shelfGrid__item-tags__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
  1017.                                         {% endfor %}
  1018.                                     </ul>
  1019.                                     {% endif %}
  1020.                                 </div>
  1021.                                 <p class=\"ec-shelfGrid__item-name\">{{ Product.name }}</p>
  1022.                                 {% if is_granted('ROLE_USER') %}
  1023.                                 <div class=\"ec-shelfGrid__item-stock\">
  1024.                                     <div class=\"ec-shelfGrid__item-stock__block\">
  1025.                                         <p class=\"ec-shelfGrid__item-stock__block__title\">
  1026.                                             【発送目安】
  1027.                                         </p>
  1028.                                         <p class=\"ec-shelfGrid__item-stock__block__detail\">
  1029.                                             {% if Product.getDeliveryDuration %}
  1030.                                                 {{Product.getDeliveryDuration.name}}
  1031.                                             {% else %}
  1032.                                                 指定なし
  1033.                                             {% endif %}
  1034.                                         </p>
  1035.                                     </div>
  1036.                                     <div class=\"ec-shelfGrid__item-stock__block\">
  1037.                                         <p class=\"ec-shelfGrid__item-stock__block__title\">
  1038.                                             【在庫】
  1039.                                         </p>
  1040.                                         {# 在庫をマークで表示何個から何個か◎等はこれから確認 #}
  1041.                                         <p class=\"ec-shelfGrid__item-stock__block__detail\">
  1042.                                             {% if Product.getStockUnlimitedMin or Product.getStockMin >= 10 %}
  1043.                                                 ◎
  1044.                                             {% else %}
  1045.                                                 {% if Product.getStockMin >= 1 and Product.getStockMin <= 9 %}
  1046.                                                     ○
  1047.                                                 {% endif %}
  1048.                                                 {% if Product.getStockMin <= 0 %}
  1049.                                                     ■
  1050.                                                 {% endif %}
  1051.                                             {% endif %}
  1052.                                         </p>
  1053.                                     </div>
  1054.                                 </div>
  1055.                                 {# {% if not Product.getStockUnlimitedMin %}
  1056.                                     <p>
  1057.                                         発送可能{{Product.getStockMin}}個
  1058.                                     </p>
  1059.                                 {% endif %} #}
  1060.                                 {% if Product.description_list %}
  1061.                                     <p>{{ Product.description_list|raw|nl2br }}</p>
  1062.                                 {% endif %}
  1063.                                 <div class=\"ec-shelfGrid__item-flex\">
  1064.                                     <p class=\"price02-default ec-shelfGrid__item-price\">
  1065.                                         {% if Product.isInSale %}
  1066.                                             <span class=\"ec-shelfGrid__item-price__sale\">セール商品</span>
  1067.                                         {% endif %}
  1068.                                         {% if Product.hasProductClass %}
  1069.                                             {% if Product.getPrice02Min == Product.getPrice02Max %}
  1070.                                                 {{ Product.getPrice02IncTaxMin|price }}
  1071.                                             {% else %}
  1072.                                                 {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  1073.                                             {% endif %}
  1074.                                         {% else %}
  1075.                                             {{ Product.getPrice02IncTaxMin|price }}
  1076.                                         {% endif %}
  1077.                                     </p>
  1078.                                     <div class=\"ec-shelfGrid__item-flex__favorite\">
  1079.                                         <form class=\"ec-favoriteForm\" action=\"?\" method=\"?\">
  1080.                                             <div class=\"ec-productRole__btn\">
  1081.                                                 <button data-method=\"POST\" data-action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" id=\"favorite\" class=\"{% if isFavorite[Product.id] is defined and isFavorite[Product.id] == true %} d-none {% endif %} ec-blockFavoriteBtn ec-blockBtn--cancel ec-shelfGrid__item-flex__favorite__btn\">
  1082.                                                     <img src=\"{{ asset('assets/img/favorite/before.svg') }}\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
  1083.                                                 </button>
  1084.                                                 <button data-method=\"DELETE\" data-action=\"{{ url('product_favorite_delete', {id:Product.id}) }}\" id=\"favorite\" class=\"{% if isFavorite[Product.id] is defined and isFavorite[Product.id] == false %} d-none {% endif %}ec-blockFavoriteBtnDisable ec-blockBtn--cancel ec-shelfGrid__item-flex__favorite__btn\">
  1085.                                                    <img src=\"{{ asset('assets/img/favorite/after.svg') }}\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
  1086.                                                 </button>
  1087.                                             </div>
  1088.                                         </form>
  1089.                                     </div>
  1090.                                 </div>
  1091.                             </a>
  1092.                                 {% if not Product.getStockUnlimitedMin and Product.getStockMin <= 0 and Product.isStockDiscontinued %}
  1093.                                     <div class=\"ec-productRole__btn\">
  1094.                                         <button type=\"button\" class=\"ec-disabled__btn\" disabled=\"disabled\">
  1095.                                             {{ '在庫なし'|trans }}
  1096.                                         </button>
  1097.                                     </div>
  1098.                                 {% else %}
  1099.                                     {% set form = forms[Product.id] %}
  1100.                                     <form class=\"productForm\" name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  1101.                                         <div class=\"ec-productRole__actions\">
  1102.                                             {% if form.classcategory_id1 is defined %}
  1103.                                                 <div class=\"ec-select\">
  1104.                                                     {{ form_widget(form.classcategory_id1) }}
  1105.                                                     {{ form_errors(form.classcategory_id1) }}
  1106.                                                 </div>
  1107.                                                 {% if form.classcategory_id2 is defined %}
  1108.                                                     <div class=\"ec-select\">
  1109.                                                         {{ form_widget(form.classcategory_id2) }}
  1110.                                                         {{ form_errors(form.classcategory_id2) }}
  1111.                                                     </div>
  1112.                                                 {% endif %}
  1113.                                             {% endif %}
  1114.                                                 <div class=\"ec-numberInput d-none\"><span>{{ '数量'|trans }}</span>
  1115.                                                     {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}} ) }}
  1116.                                                     {{ form_errors(form.quantity) }}
  1117.                                                 </div>
  1118.                                         
  1119.                                         </div>
  1120.                                         {{ form_rest(form) }}
  1121.                                     </form>
  1122.                                     {% set default = 0 %}
  1123.                                     {% if itemInCart[Product.id] is defined %}
  1124.                                         {% set default = itemInCart[Product.id] %}
  1125.                                     {% endif %}
  1126.                                     {% set disabled = false %}
  1127.                                     {% if not Product.isStockDiscontinued %}
  1128.                                         <input type=\"hidden\" name=\"stock\" class=\"stock\" value=\"999999999999\">
  1129.                                     {% else %}
  1130.                                         {% if Product.getStockMin <= default %}
  1131.                                             {% set disabled = true %}
  1132.                                         {% endif %}
  1133.                                         <input type=\"hidden\" name=\"stock\" class=\"stock\" value=\"{{Product.getStockMin}}\">
  1134.                                     {% endif %}
  1135.                                     <div class=\"ec-productRole__btn--group ec-productRole__btn {% if itemInCart[Product.id] is defined %} d-block {% else %} d-none {% endif %}\">
  1136.                                         <div class=\"d-flex align-items-center ec-productRole__btn-wrapper\">
  1137.                                             <button class=\"minus__btn\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1138.                                                 <span>−</span>
  1139.                                             </button>
  1140.                                             <span class=\"quantity_label\">{{ default }}</span>
  1141.                                             <button class=\"plus__btn\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\" {% if disabled %}disabled{% endif %}>
  1142.                                                 <span>+</span>
  1143.                                             </button>
  1144.                                         </div>
  1145.                                     </div>
  1146.                                     <div class=\"ec-productRole__btn--only ec-productRole__btn {% if itemInCart[Product.id] is defined %} d-none {% else %} d-block {% endif %}\">
  1147.                                         <button type=\"submit\" class=\"ec-regular__btn add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  1148.                                             {{ 'カートに入れる'|trans }}
  1149.                                         </button>
  1150.                                     </div>
  1151.                                 {% endif %}
  1152.                             {% else %}
  1153.                                 <a href=\"{{ url('entry_contact') }}\" class=\"ec-blockProductBtn--action\">会員登録はこちら</a>
  1154.                             {% endif %}
  1155.                         </li>
  1156.                     {% endfor %}
  1157.                 </ul>
  1158.             </div>
  1159.             <div class=\"ec-modal\">
  1160.                 <div class=\"ec-modal-overlay\">
  1161.                     <div class=\"ec-modal-wrap\">
  1162.                         <div class=\"ec-modal-box\">
  1163.                             <div class=\"ec-role\">
  1164.                                 <div class=\"ec-modal-icon\">
  1165.                                     <img src=\"{{ asset('assets/img/icon/icon_cart.png', 'user_data') }}\" alt=\"\">
  1166.                                 </div>
  1167.                             </div>
  1168.                         </div>
  1169.                         <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  1170.                     </div>
  1171.                 </div>
  1172.             </div>
  1173.             <ul class=\"stockList bottom\">
  1174.                 <li class=\"stockList__block\">
  1175.                     <p class=\"stockList__block__text\">在庫あり:</p>
  1176.                     <p class=\"stockList__block__mark\">◎</p>
  1177.                 </li>
  1178.                 <li class=\"stockList__block\">
  1179.                     <p class=\"stockList__block__text\">残りわずか:</p>
  1180.                     <p class=\"stockList__block__mark\">○</p>
  1181.                 </li>
  1182.                 <li class=\"stockList__block\">
  1183.                     <p class=\"stockList__block__text\">取り寄せ:</p>
  1184.                     <p class=\"stockList__block__mark\">■</p>
  1185.                 </li>
  1186.             </ul>
  1187.             <div class=\"ec-pagerRole\">
  1188.                 {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  1189.             </div>
  1190.         {% endif %}
  1191.     {% endif %}
  1192. {% endblock %}
  1193. ""Product/new.twig""/home/bravers/bravers.xbiz.jp/public_html/app/template/bravers/Product/new.twig");
  1194.     }
  1195. }