var/cache/dev/twig/da/da26becddc7fe9c6dfe60fdc611a898bf4bb401eeb3bb45d945760efa1a490d0.php line 435

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/list.twig */
  14. class __TwigTemplate_75237831317f23d23ffe2184314529d674fca4d741b8417c3cc3819c88fc17f5 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 11
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Product/list.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/list.twig"));
  40.         // line 13
  41.         $context["body_class"] = "product_page";
  42.         // line 15
  43.         $context["category_id"] = "0";
  44.         // line 17
  45.         if ((twig_get_attribute($this->env$this->sourcetwig_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.'17$this->source); })()), "request", [], "any"falsefalsefalse17), "query", [], "any"falsefalsefalse17), "get", [=> "category_id"], "method"falsefalsefalse17) != "")) {
  46.             // line 18
  47.             $context["category_id"] = twig_get_attribute($this->env$this->sourcetwig_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.'18$this->source); })()), "request", [], "any"falsefalsefalse18), "query", [], "any"falsefalsefalse18), "get", [=> "category_id"], "method"falsefalsefalse18);
  48.         }
  49.         // line 11
  50.         $this->parent $this->loadTemplate("default_frame.twig""Product/list.twig"11);
  51.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  54.         
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  56.     }
  57.     // line 21
  58.     public function block_stylesheet($context, array $blocks = [])
  59.     {
  60.         $macros $this->macros;
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  65.         // line 22
  66.         echo "    <style>
  67.         .categoryImgArea
  68.         {
  69.             background-image: url(/html/user_data/assets/img/category/category_bg_id-";
  70.         // line 26
  71.         echo twig_escape_filter($this->env, (isset($context["category_id"]) || array_key_exists("category_id"$context) ? $context["category_id"] : (function () { throw new RuntimeError('Variable "category_id" does not exist.'26$this->source); })()), "html"nulltrue);
  72.         echo ".jpg);
  73.             background-size:cover;
  74.             background-position: center;
  75.             height: 375px;
  76.             display: flex;
  77.             /*flex-direction: column;*/
  78.             justify-content: center;
  79.             align-items: center;
  80.         }
  81.         .categoryImgArea img
  82.         {
  83.             max-width: 80vw;
  84.         }
  85.     </style>
  86. ";
  87.         
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  89.         
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  91.     }
  92.     // line 42
  93.     public function block_javascript($context, array $blocks = [])
  94.     {
  95.         $macros $this->macros;
  96.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  97.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  99.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  100.         // line 43
  101.         echo "    <script>
  102.         eccube.productsClassCategories = {
  103.             ";
  104.         // line 45
  105.         $context['_parent'] = $context;
  106.         $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'45$this->source); })()));
  107.         $context['loop'] = [
  108.           'parent' => $context['_parent'],
  109.           'index0' => 0,
  110.           'index'  => 1,
  111.           'first'  => true,
  112.         ];
  113.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  114.             $length count($context['_seq']);
  115.             $context['loop']['revindex0'] = $length 1;
  116.             $context['loop']['revindex'] = $length;
  117.             $context['loop']['length'] = $length;
  118.             $context['loop']['last'] = === $length;
  119.         }
  120.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  121.             // line 46
  122.             echo "            \"";
  123.             echo twig_escape_filter($this->envtwig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsefalse46), "js"), "html"nulltrue);
  124.             echo "\": ";
  125.             echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
  126.             if ((twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse46) == false)) {
  127.                 echo ", ";
  128.             }
  129.             // line 47
  130.             echo "            ";
  131.             ++$context['loop']['index0'];
  132.             ++$context['loop']['index'];
  133.             $context['loop']['first'] = false;
  134.             if (isset($context['loop']['length'])) {
  135.                 --$context['loop']['revindex0'];
  136.                 --$context['loop']['revindex'];
  137.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  138.             }
  139.         }
  140.         $_parent $context['_parent'];
  141.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  142.         $context array_intersect_key($context$_parent) + $_parent;
  143.         // line 48
  144.         echo "        };
  145.         \$(function() {
  146.             // 表示件数を変更
  147.             \$('.disp-number').change(function() {
  148.                 var dispNumber = \$(this).val();
  149.                 \$('#disp_number').val(dispNumber);
  150.                 \$('#pageno').val(1);
  151.                 \$(\"#form1\").submit();
  152.             });
  153.             // 並び順を変更
  154.             \$('.order-by').change(function() {
  155.                 var orderBy = \$(this).val();
  156.                 \$('#orderby').val(orderBy);
  157.                 \$('#pageno').val(1);
  158.                 \$(\"#form1\").submit();
  159.             });
  160.             \$('.add-cart').on('click', function(e) {
  161.                 var \$form = \$(this).parents('li').find('form');
  162.                 // 個数フォームのチェック
  163.                 var \$quantity = \$form.parent().find('.quantity');
  164.                 if (\$quantity.val() < 1) {
  165.                     \$quantity[0].setCustomValidity('";
  166.         // line 74
  167.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html"nulltrue);
  168.         echo "');
  169.                     setTimeout(function() {
  170.                         loadingOverlay('hide');
  171.                     }, 100);
  172.                     return true;
  173.                 } else {
  174.                     \$quantity[0].setCustomValidity('');
  175.                 }
  176.                 e.preventDefault();
  177.                 \$.ajax({
  178.                     url: \$form.attr('action'),
  179.                     type: \$form.attr('method'),
  180.                     data: \$form.serialize(),
  181.                     dataType: 'json',
  182.                     beforeSend: function(xhr, settings) {
  183.                         // Buttonを無効にする
  184.                         \$('.add-cart').prop('disabled', true);
  185.                     }
  186.                 }).done(function(data) {
  187.                     // レスポンス内のメッセージをalertで表示
  188.                     \$.each(data.messages, function() {
  189.                         \$('#ec-modal-header').html(this);
  190.                     });
  191.                     \$('.ec-modal').show()
  192.                     // カートブロックを更新する
  193.                     \$.ajax({
  194.                         url: '";
  195.         // line 102
  196.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
  197.         echo "',
  198.                         type: 'GET',
  199.                         dataType: 'html'
  200.                     }).done(function(html) {
  201.                         \$('.ec-headerRole__cart').html(html);
  202.                     });
  203.                 }).fail(function(data) {
  204.                     alert('";
  205.         // line 109
  206.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html"nulltrue);
  207.         echo "');
  208.                 }).always(function(data) {
  209.                     // Buttonを有効にする
  210.                     \$('.add-cart').prop('disabled', false);
  211.                 });
  212.             });
  213.         });
  214.         \$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
  215.             \$('.ec-modal').hide()
  216.         });
  217.     </script>
  218. ";
  219.         
  220.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  221.         
  222.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  223.     }
  224.     // line 123
  225.     public function block_main($context, array $blocks = [])
  226.     {
  227.         $macros $this->macros;
  228.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  229.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  230.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  232.         // line 124
  233.         echo "    ";
  234.         $context["category_name"] = "すべての商品";
  235.         // line 125
  236.         echo "    ";
  237.         if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'125$this->source); })()))) {
  238.             // line 126
  239.             echo "        ";
  240.             $context["category_name"] = twig_get_attribute($this->env$this->source, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'126$this->source); })()), "name", [], "any"falsefalsefalse126);
  241.             // line 127
  242.             echo "    ";
  243.         }
  244.         // line 128
  245.         echo "
  246.     <div class=\"categoryImgArea\">
  247.     ";
  248.         // line 131
  249.         echo "    <h2 class=\"page_title\">";
  250.         echo twig_escape_filter($this->env, (isset($context["category_name"]) || array_key_exists("category_name"$context) ? $context["category_name"] : (function () { throw new RuntimeError('Variable "category_name" does not exist.'131$this->source); })()), "html"nulltrue);
  251.         echo "</h2>
  252.     </div>
  253.     ";
  254.         // line 134
  255.         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.'134$this->source); })()), "category_id", [], "any"falsefalsefalse134), "vars", [], "any"falsefalsefalse134), "errors", [], "any"falsefalsefalse134)) > 0)) {
  256.             // line 135
  257.             echo "        <div class=\"ec-searchnavRole\">
  258.             <p class=\"errormsg text-danger\">";
  259.             // line 136
  260.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html"nulltrue);
  261.             echo "</p>
  262.         </div>
  263.     ";
  264.         } else {
  265.             // line 139
  266.             echo "        <div class=\"ec-searchnavRole\">
  267.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  268.                 ";
  269.             // line 141
  270.             $context['_parent'] = $context;
  271.             $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.'141$this->source); })()));
  272.             foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  273.                 // line 142
  274.                 echo "                    <input type=\"hidden\" id=\"";
  275.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse142), "id", [], "any"falsefalsefalse142), "html"nulltrue);
  276.                 echo "\"
  277.                            name=\"";
  278.                 // line 143
  279.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse143), "full_name", [], "any"falsefalsefalse143), "html"nulltrue);
  280.                 echo "\"
  281.                            ";
  282.                 // line 144
  283.                 if ( !twig_test_empty(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse144), "value", [], "any"falsefalsefalse144))) {
  284.                     echo "value=\"";
  285.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["item"], "vars", [], "any"falsefalsefalse144), "value", [], "any"falsefalsefalse144), "html"nulltrue);
  286.                     echo "\" ";
  287.                 }
  288.                 echo "/>
  289.                 ";
  290.             }
  291.             $_parent $context['_parent'];
  292.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  293.             $context array_intersect_key($context$_parent) + $_parent;
  294.             // line 146
  295.             echo "            </form>
  296.             <div class=\"ec-searchnavRole__topicpath\">
  297.                 <ol class=\"ec-topicpath\">
  298.                     <li class=\"ec-topicpath__item\"><a href=\"";
  299.             // line 149
  300.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  301.             echo "\">";
  302.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("全て"), "html"nulltrue);
  303.             echo "</a>
  304.                     </li>
  305.                     ";
  306.             // line 151
  307.             if ( !(null === (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'151$this->source); })()))) {
  308.                 // line 152
  309.                 echo "                        ";
  310.                 $context['_parent'] = $context;
  311.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["Category"]) || array_key_exists("Category"$context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.'152$this->source); })()), "path", [], "any"falsefalsefalse152));
  312.                 $context['loop'] = [
  313.                   'parent' => $context['_parent'],
  314.                   'index0' => 0,
  315.                   'index'  => 1,
  316.                   'first'  => true,
  317.                 ];
  318.                 if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  319.                     $length count($context['_seq']);
  320.                     $context['loop']['revindex0'] = $length 1;
  321.                     $context['loop']['revindex'] = $length;
  322.                     $context['loop']['length'] = $length;
  323.                     $context['loop']['last'] = === $length;
  324.                 }
  325.                 foreach ($context['_seq'] as $context["_key"] => $context["Path"]) {
  326.                     // line 153
  327.                     echo "                            <li class=\"ec-topicpath__divider\">|</li>
  328.                             <li class=\"ec-topicpath__item";
  329.                     // line 154
  330.                     if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse154)) {
  331.                         echo "--active";
  332.                     }
  333.                     echo "\"><a
  334.                                         href=\"";
  335.                     // line 155
  336.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  337.                     echo "?category_id=";
  338.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "id", [], "any"falsefalsefalse155), "html"nulltrue);
  339.                     echo "\">";
  340.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Path"], "name", [], "any"falsefalsefalse155), "html"nulltrue);
  341.                     echo "</a>
  342.                             </li>
  343.                         ";
  344.                     ++$context['loop']['index0'];
  345.                     ++$context['loop']['index'];
  346.                     $context['loop']['first'] = false;
  347.                     if (isset($context['loop']['length'])) {
  348.                         --$context['loop']['revindex0'];
  349.                         --$context['loop']['revindex'];
  350.                         $context['loop']['last'] = === $context['loop']['revindex0'];
  351.                     }
  352.                 }
  353.                 $_parent $context['_parent'];
  354.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Path'], $context['_parent'], $context['loop']);
  355.                 $context array_intersect_key($context$_parent) + $_parent;
  356.                 // line 158
  357.                 echo "                    ";
  358.             }
  359.             // line 159
  360.             echo "                    ";
  361.             if ((twig_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.'159$this->source); })()), "vars", [], "any"falsefalsefalse159), "value", [], "any"falsefalsefalse159) && twig_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.'159$this->source); })()), "vars", [], "any"falsefalsefalse159), "value", [], "any"falsefalsefalse159), "name", [], "any"falsefalsefalse159))) {
  362.                 // line 160
  363.                 echo "                        <li class=\"ec-topicpath__divider\">|</li>
  364.                         <li class=\"ec-topicpath__item\">";
  365.                 // line 161
  366.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%name%」の検索結果", ["%name%" => twig_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.'161$this->source); })()), "vars", [], "any"falsefalsefalse161), "value", [], "any"falsefalsefalse161), "name", [], "any"falsefalsefalse161)]), "html"nulltrue);
  367.                 echo "</li>
  368.                     ";
  369.             }
  370.             // line 163
  371.             echo "                </ol>
  372.             </div>
  373.             <div class=\"ec-searchnavRole__infos\">
  374.                 <div class=\"ec-searchnavRole__counter\">
  375.                     ";
  376.             // line 167
  377.             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.'167$this->source); })()), "totalItemCount", [], "any"falsefalsefalse167) > 0)) {
  378.                 // line 168
  379.                 echo "                        ";
  380.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>", ["%count%" => 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.'168$this->source); })()), "totalItemCount", [], "any"falsefalsefalse168)]);
  381.                 echo "
  382.                     ";
  383.             } else {
  384.                 // line 170
  385.                 echo "                        <span>";
  386.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html"nulltrue);
  387.                 echo "</span>
  388.                     ";
  389.             }
  390.             // line 172
  391.             echo "                </div>
  392.                 ";
  393.             // line 173
  394.             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.'173$this->source); })()), "totalItemCount", [], "any"falsefalsefalse173) > 0)) {
  395.                 // line 174
  396.                 echo "                    <div class=\"ec-searchnavRole__actions\">
  397.                         <div class=\"ec-select\">
  398.                             ";
  399.                 // line 176
  400.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["disp_number_form"]) || array_key_exists("disp_number_form"$context) ? $context["disp_number_form"] : (function () { throw new RuntimeError('Variable "disp_number_form" does not exist.'176$this->source); })()), 'widget', ["id" => """attr" => ["class" => "disp-number"]]);
  401.                 echo "
  402.                             ";
  403.                 // line 177
  404.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["order_by_form"]) || array_key_exists("order_by_form"$context) ? $context["order_by_form"] : (function () { throw new RuntimeError('Variable "order_by_form" does not exist.'177$this->source); })()), 'widget', ["id" => """attr" => ["class" => "order-by"]]);
  405.                 echo "
  406.                         </div>
  407.                     </div>
  408.                 ";
  409.             }
  410.             // line 181
  411.             echo "            </div>
  412.         </div>
  413.         ";
  414.             // line 183
  415.             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.'183$this->source); })()), "totalItemCount", [], "any"falsefalsefalse183) > 0)) {
  416.                 // line 184
  417.                 echo "            <div class=\"ec-shelfRole\">
  418.                 <ul class=\"ec-shelfGrid\">
  419.                     ";
  420.                 // line 186
  421.                 $context['_parent'] = $context;
  422.                 $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'186$this->source); })()));
  423.                 foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  424.                     // line 187
  425.                     echo "                        <li class=\"ec-shelfGrid__item\">
  426.                             <a href=\"";
  427.                     // line 188
  428.                     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"falsefalsefalse188)]), "html"nulltrue);
  429.                     echo "\">
  430.                                 <div class=\"ec-shelfGrid__item-image__wrapper\">
  431.                                     <p class=\"ec-shelfGrid__item-image\">
  432.                                         <img src=\"";
  433.                     // line 191
  434.                     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"falsefalsefalse191)), "save_image"), "html"nulltrue);
  435.                     echo "\">
  436.                                     </p>
  437.                                 </div>
  438.                                 <p class=\"product_name\">";
  439.                     // line 194
  440.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsefalse194), "html"nulltrue);
  441.                     echo "</p>
  442.                                 ";
  443.                     // line 195
  444.                     if (twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse195)) {
  445.                         // line 196
  446.                         echo "                                    <p>";
  447.                         echo twig_nl2br(twig_get_attribute($this->env$this->source$context["Product"], "description_list", [], "any"falsefalsefalse196));
  448.                         echo "</p>
  449.                                 ";
  450.                     }
  451.                     // line 198
  452.                     echo "                                <p class=\"price02-default\">
  453.                                     ";
  454.                     // line 199
  455.                     if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsefalse199)) {
  456.                         // line 200
  457.                         echo "                                        ";
  458.                         if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsefalse200) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsefalse200))) {
  459.                             // line 201
  460.                             echo "                                            ";
  461.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse201)), "html"nulltrue);
  462.                             echo "(税込)
  463.                                         ";
  464.                         } else {
  465.                             // line 203
  466.                             echo "                                            ";
  467.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse203)), "html"nulltrue);
  468.                             echo " ~ ";
  469.                             echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsefalse203)), "html"nulltrue);
  470.                             echo "(税込)
  471.                                         ";
  472.                         }
  473.                         // line 205
  474.                         echo "                                    ";
  475.                     } else {
  476.                         // line 206
  477.                         echo "                                        ";
  478.                         echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsefalse206)), "html"nulltrue);
  479.                         echo "(税込)
  480.                                     ";
  481.                     }
  482.                     // line 208
  483.                     echo "                                </p>
  484.                             </a>
  485.                             ";
  486.                     // line 246
  487.                     echo "                        </li>
  488.                     ";
  489.                 }
  490.                 $_parent $context['_parent'];
  491.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  492.                 $context array_intersect_key($context$_parent) + $_parent;
  493.                 // line 248
  494.                 echo "                </ul>
  495.             </div>
  496.             <div class=\"ec-modal\">
  497.                 <div class=\"ec-modal-overlay\">
  498.                     <div class=\"ec-modal-wrap\">
  499.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
  500.                 // line 253
  501.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html"nulltrue);
  502.                 echo "\" alt=\"\"/></span></span>
  503.                         <div id=\"ec-modal-header\" class=\"text-center\">";
  504.                 // line 254
  505.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html"nulltrue);
  506.                 echo "</div>
  507.                         <div class=\"ec-modal-box\">
  508.                             <div class=\"ec-role\">
  509.                                 <span class=\"ec-inlineBtn--cancel\">";
  510.                 // line 257
  511.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  512.                 echo "</span>
  513.                                 <a href=\"";
  514.                 // line 258
  515.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  516.                 echo "\" class=\"ec-inlineBtn--action\">";
  517.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html"nulltrue);
  518.                 echo "</a>
  519.                             </div>
  520.                         </div>
  521.                     </div>
  522.                 </div>
  523.             </div>
  524.             <div class=\"ec-pagerRole\">
  525.                 ";
  526.                 // line 265
  527.                 $this->loadTemplate("pager.twig""Product/list.twig"265)->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.'265$this->source); })()), "paginationData", [], "any"falsefalsefalse265)]));
  528.                 // line 266
  529.                 echo "            </div>
  530.         ";
  531.             }
  532.             // line 268
  533.             echo "    ";
  534.         }
  535.         
  536.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  537.         
  538.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  539.     }
  540.     public function getTemplateName()
  541.     {
  542.         return "Product/list.twig";
  543.     }
  544.     public function isTraitable()
  545.     {
  546.         return false;
  547.     }
  548.     public function getDebugInfo()
  549.     {
  550.         return array (  569 => 268,  565 => 266,  563 => 265,  551 => 258,  547 => 257,  541 => 254,  537 => 253,  530 => 248,  523 => 246,  518 => 208,  512 => 206,  509 => 205,  501 => 203,  495 => 201,  492 => 200,  490 => 199,  487 => 198,  481 => 196,  479 => 195,  475 => 194,  469 => 191,  463 => 188,  460 => 187,  456 => 186,  452 => 184,  450 => 183,  446 => 181,  439 => 177,  435 => 176,  431 => 174,  429 => 173,  426 => 172,  420 => 170,  414 => 168,  412 => 167,  406 => 163,  401 => 161,  398 => 160,  395 => 159,  392 => 158,  371 => 155,  365 => 154,  362 => 153,  344 => 152,  342 => 151,  335 => 149,  330 => 146,  318 => 144,  314 => 143,  309 => 142,  305 => 141,  301 => 139,  295 => 136,  292 => 135,  290 => 134,  283 => 131,  279 => 128,  276 => 127,  273 => 126,  270 => 125,  267 => 124,  257 => 123,  234 => 109,  224 => 102,  193 => 74,  165 => 48,  151 => 47,  143 => 46,  126 => 45,  122 => 43,  112 => 42,  86 => 26,  80 => 22,  70 => 21,  59 => 11,  56 => 18,  54 => 17,  52 => 15,  50 => 13,  37 => 11,);
  551.     }
  552.     public function getSourceContext()
  553.     {
  554.         return new Source("{#
  555. This file is part of EC-CUBE
  556. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  557. http://www.ec-cube.co.jp/
  558. For the full copyright and license information, please view the LICENSE
  559. file that was distributed with this source code.
  560. #}
  561. {% extends 'default_frame.twig' %}
  562. {% set body_class = 'product_page' %}
  563. {% set category_id = '0' %}
  564. {% if app.request.query.get('category_id') != \"\" %}
  565.     {% set category_id = app.request.query.get('category_id') %}
  566. {% endif %}
  567. {% block stylesheet %}
  568.     <style>
  569.         .categoryImgArea
  570.         {
  571.             background-image: url(/html/user_data/assets/img/category/category_bg_id-{{ category_id }}.jpg);
  572.             background-size:cover;
  573.             background-position: center;
  574.             height: 375px;
  575.             display: flex;
  576.             /*flex-direction: column;*/
  577.             justify-content: center;
  578.             align-items: center;
  579.         }
  580.         .categoryImgArea img
  581.         {
  582.             max-width: 80vw;
  583.         }
  584.     </style>
  585. {% endblock %}
  586. {% block javascript %}
  587.     <script>
  588.         eccube.productsClassCategories = {
  589.             {% for Product in pagination %}
  590.             \"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
  591.             {% endfor %}
  592.         };
  593.         \$(function() {
  594.             // 表示件数を変更
  595.             \$('.disp-number').change(function() {
  596.                 var dispNumber = \$(this).val();
  597.                 \$('#disp_number').val(dispNumber);
  598.                 \$('#pageno').val(1);
  599.                 \$(\"#form1\").submit();
  600.             });
  601.             // 並び順を変更
  602.             \$('.order-by').change(function() {
  603.                 var orderBy = \$(this).val();
  604.                 \$('#orderby').val(orderBy);
  605.                 \$('#pageno').val(1);
  606.                 \$(\"#form1\").submit();
  607.             });
  608.             \$('.add-cart').on('click', function(e) {
  609.                 var \$form = \$(this).parents('li').find('form');
  610.                 // 個数フォームのチェック
  611.                 var \$quantity = \$form.parent().find('.quantity');
  612.                 if (\$quantity.val() < 1) {
  613.                     \$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  614.                     setTimeout(function() {
  615.                         loadingOverlay('hide');
  616.                     }, 100);
  617.                     return true;
  618.                 } else {
  619.                     \$quantity[0].setCustomValidity('');
  620.                 }
  621.                 e.preventDefault();
  622.                 \$.ajax({
  623.                     url: \$form.attr('action'),
  624.                     type: \$form.attr('method'),
  625.                     data: \$form.serialize(),
  626.                     dataType: 'json',
  627.                     beforeSend: function(xhr, settings) {
  628.                         // Buttonを無効にする
  629.                         \$('.add-cart').prop('disabled', true);
  630.                     }
  631.                 }).done(function(data) {
  632.                     // レスポンス内のメッセージをalertで表示
  633.                     \$.each(data.messages, function() {
  634.                         \$('#ec-modal-header').html(this);
  635.                     });
  636.                     \$('.ec-modal').show()
  637.                     // カートブロックを更新する
  638.                     \$.ajax({
  639.                         url: '{{ url('block_cart') }}',
  640.                         type: 'GET',
  641.                         dataType: 'html'
  642.                     }).done(function(html) {
  643.                         \$('.ec-headerRole__cart').html(html);
  644.                     });
  645.                 }).fail(function(data) {
  646.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  647.                 }).always(function(data) {
  648.                     // Buttonを有効にする
  649.                     \$('.add-cart').prop('disabled', false);
  650.                 });
  651.             });
  652.         });
  653.         \$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
  654.             \$('.ec-modal').hide()
  655.         });
  656.     </script>
  657. {% endblock %}
  658. {% block main %}
  659.     {% set category_name = 'すべての商品' %}
  660.     {% if Category is not null %}
  661.         {% set category_name = Category.name %}
  662.     {% endif %}
  663.     <div class=\"categoryImgArea\">
  664.     {# <img src=\"/html/user_data/assets/img/category/category_banner_id-{{ category_id }}.jpg\" alt=\"カテゴリ画像-{{ category_id }}\"> #}
  665.     <h2 class=\"page_title\">{{ category_name }}</h2>
  666.     </div>
  667.     {% if search_form.category_id.vars.errors|length > 0 %}
  668.         <div class=\"ec-searchnavRole\">
  669.             <p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
  670.         </div>
  671.     {% else %}
  672.         <div class=\"ec-searchnavRole\">
  673.             <form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
  674.                 {% for item in search_form %}
  675.                     <input type=\"hidden\" id=\"{{ item.vars.id }}\"
  676.                            name=\"{{ item.vars.full_name }}\"
  677.                            {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
  678.                 {% endfor %}
  679.             </form>
  680.             <div class=\"ec-searchnavRole__topicpath\">
  681.                 <ol class=\"ec-topicpath\">
  682.                     <li class=\"ec-topicpath__item\"><a href=\"{{ url('product_list') }}\">{{ '全て'|trans }}</a>
  683.                     </li>
  684.                     {% if Category is not null %}
  685.                         {% for Path in Category.path %}
  686.                             <li class=\"ec-topicpath__divider\">|</li>
  687.                             <li class=\"ec-topicpath__item{% if loop.last %}--active{% endif %}\"><a
  688.                                         href=\"{{ url('product_list') }}?category_id={{ Path.id }}\">{{ Path.name }}</a>
  689.                             </li>
  690.                         {% endfor %}
  691.                     {% endif %}
  692.                     {% if search_form.vars.value and search_form.vars.value.name %}
  693.                         <li class=\"ec-topicpath__divider\">|</li>
  694.                         <li class=\"ec-topicpath__item\">{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}</li>
  695.                     {% endif %}
  696.                 </ol>
  697.             </div>
  698.             <div class=\"ec-searchnavRole__infos\">
  699.                 <div class=\"ec-searchnavRole__counter\">
  700.                     {% if pagination.totalItemCount > 0 %}
  701.                         {{ '<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
  702.                     {% else %}
  703.                         <span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
  704.                     {% endif %}
  705.                 </div>
  706.                 {% if pagination.totalItemCount > 0 %}
  707.                     <div class=\"ec-searchnavRole__actions\">
  708.                         <div class=\"ec-select\">
  709.                             {{ form_widget(disp_number_form, {'id': '', 'attr': {'class': 'disp-number'}}) }}
  710.                             {{ form_widget(order_by_form, {'id': '', 'attr': {'class': 'order-by'}}) }}
  711.                         </div>
  712.                     </div>
  713.                 {% endif %}
  714.             </div>
  715.         </div>
  716.         {% if pagination.totalItemCount > 0 %}
  717.             <div class=\"ec-shelfRole\">
  718.                 <ul class=\"ec-shelfGrid\">
  719.                     {% for Product in pagination %}
  720.                         <li class=\"ec-shelfGrid__item\">
  721.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  722.                                 <div class=\"ec-shelfGrid__item-image__wrapper\">
  723.                                     <p class=\"ec-shelfGrid__item-image\">
  724.                                         <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\">
  725.                                     </p>
  726.                                 </div>
  727.                                 <p class=\"product_name\">{{ Product.name }}</p>
  728.                                 {% if Product.description_list %}
  729.                                     <p>{{ Product.description_list|raw|nl2br }}</p>
  730.                                 {% endif %}
  731.                                 <p class=\"price02-default\">
  732.                                     {% if Product.hasProductClass %}
  733.                                         {% if Product.getPrice02Min == Product.getPrice02Max %}
  734.                                             {{ Product.getPrice02IncTaxMin|price }}(税込)
  735.                                         {% else %}
  736.                                             {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}(税込)
  737.                                         {% endif %}
  738.                                     {% else %}
  739.                                         {{ Product.getPrice02IncTaxMin|price }}(税込)
  740.                                     {% endif %}
  741.                                 </p>
  742.                             </a>
  743.                             {# {% if Product.stock_find %}
  744.                                 {% set form = forms[Product.id] %}
  745.                                 <form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
  746.                                     <div class=\"ec-productRole__actions\">
  747.                                         {% if form.classcategory_id1 is defined %}
  748.                                             <div class=\"ec-select\">
  749.                                                 {{ form_widget(form.classcategory_id1) }}
  750.                                                 {{ form_errors(form.classcategory_id1) }}
  751.                                             </div>
  752.                                             {% if form.classcategory_id2 is defined %}
  753.                                                 <div class=\"ec-select\">
  754.                                                     {{ form_widget(form.classcategory_id2) }}
  755.                                                     {{ form_errors(form.classcategory_id2) }}
  756.                                                 </div>
  757.                                             {% endif %}
  758.                                         {% endif %}
  759.                                         <div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
  760.                                             {{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
  761.                                             {{ form_errors(form.quantity) }}
  762.                                         </div>
  763.                                     </div>
  764.                                     {{ form_rest(form) }}
  765.                                 </form>
  766.                                 <div class=\"ec-productRole__btn\">
  767.                                     <button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
  768.                                         {{ 'カートに入れる'|trans }}
  769.                                     </button>
  770.                                 </div>
  771.                             {% else %}
  772.                                 <div class=\"ec-productRole__btn\">
  773.                                     <button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
  774.                                         {{ 'ただいま品切れ中です。'|trans }}
  775.                                     </button>
  776.                                 </div>
  777.                             {% endif %} #}
  778.                         </li>
  779.                     {% endfor %}
  780.                 </ul>
  781.             </div>
  782.             <div class=\"ec-modal\">
  783.                 <div class=\"ec-modal-overlay\">
  784.                     <div class=\"ec-modal-wrap\">
  785.                         <span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
  786.                         <div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
  787.                         <div class=\"ec-modal-box\">
  788.                             <div class=\"ec-role\">
  789.                                 <span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
  790.                                 <a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
  791.                             </div>
  792.                         </div>
  793.                     </div>
  794.                 </div>
  795.             </div>
  796.             <div class=\"ec-pagerRole\">
  797.                 {% include \"pager.twig\" with {'pages': pagination.paginationData} %}
  798.             </div>
  799.         {% endif %}
  800.     {% endif %}
  801. {% endblock %}""Product/list.twig""/home/gswubshm/public_html/eccube41to42test.rmx.cfbx.jp/prd/app/template/originalTemplate/Product/list.twig");
  802.     }
  803. }