var/cache/dev/twig/b8/b80ba8db0fbb391db3ed291568b7da00.php line 39

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. /* Cart/index.twig */
  14. class __TwigTemplate_6141792ccf38e26a3df8284e6b43657d 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.             '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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  39.         // line 13
  40.         $context["body_class"] = "cart_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""Cart/index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 15
  50.     public function block_stylesheet($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         // line 16
  58.         echo "    <style>
  59.     .ec-cartRow .ec-cartRow__contentColumn {
  60.         padding-left: 3%;
  61.     }
  62.     </style>
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 23
  70.     public function block_main($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  77.         // line 24
  78.         echo "
  79.     <div class=\"ec-role\">
  80.         <div class=\"ec-pageHeader\">
  81.             <h1>";
  82.         // line 27
  83.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ショッピングカート"), "html"nulltrue);
  84.         echo "</h1>
  85.         </div>
  86.     </div>
  87.     <div class=\"ec-cartRole\">
  88.         <div class=\"ec-cartRole__progress\">
  89.             <ul class=\"ec-progress\">
  90.                 ";
  91.         // line 34
  92.         $context["step"] = 1;
  93.         // line 35
  94.         echo "                <li class=\"ec-progress__item is-complete\">
  95.                     <div class=\"ec-progress__number\">";
  96.         // line 36
  97.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'36$this->source); })()), "html"nulltrue);
  98.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'36$this->source); })()) + 1);
  99.         // line 37
  100.         echo "                    </div>
  101.                     <div class=\"ec-progress__label\">";
  102.         // line 38
  103.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html"nulltrue);
  104.         echo "
  105.                     </div>
  106.                 </li>
  107.                 ";
  108.         // line 41
  109.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  110.             // line 42
  111.             echo "                    <li class=\"ec-progress__item\">
  112.                         <div class=\"ec-progress__number\">";
  113.             // line 43
  114.             echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'43$this->source); })()), "html"nulltrue);
  115.             $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'43$this->source); })()) + 1);
  116.             // line 44
  117.             echo "                        </div>
  118.                         <div class=\"ec-progress__label\">";
  119.             // line 45
  120.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  121.             echo "
  122.                         </div>
  123.                     </li>
  124.                 ";
  125.         }
  126.         // line 49
  127.         echo "                <li class=\"ec-progress__item\">
  128.                     <div class=\"ec-progress__number\">";
  129.         // line 50
  130.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'50$this->source); })()), "html"nulltrue);
  131.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'50$this->source); })()) + 1);
  132.         // line 51
  133.         echo "                    </div>
  134.                     <div class=\"ec-progress__label\">";
  135.         // line 52
  136.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  137.         echo "
  138.                     </div>
  139.                 </li>
  140.                 <li class=\"ec-progress__item\">
  141.                     <div class=\"ec-progress__number\">";
  142.         // line 56
  143.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'56$this->source); })()), "html"nulltrue);
  144.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'56$this->source); })()) + 1);
  145.         // line 57
  146.         echo "                    </div>
  147.                     <div class=\"ec-progress__label\">";
  148.         // line 58
  149.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html"nulltrue);
  150.         echo "
  151.                     </div>
  152.                 </li>
  153.                 <li class=\"ec-progress__item\">
  154.                     <div class=\"ec-progress__number\">";
  155.         // line 62
  156.         echo twig_escape_filter($this->env, (isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'62$this->source); })()), "html"nulltrue);
  157.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'62$this->source); })()) + 1);
  158.         // line 63
  159.         echo "                    </div>
  160.                     <div class=\"ec-progress__label\">";
  161.         // line 64
  162.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html"nulltrue);
  163.         echo "
  164.                     </div>
  165.                 </li>
  166.             </ul>
  167.         </div>
  168.         ";
  169.         // line 69
  170.         $context["productStr"] = 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.'69$this->source); })()), "session", [], "any"falsefalsefalse69), "flashbag", [], "any"falsefalsefalse69), "get", [=> "eccube.front.request.product"], "method"falsefalsefalse69);
  171.         // line 70
  172.         echo "        ";
  173.         $context['_parent'] = $context;
  174.         $context['_seq'] = twig_ensure_traversable(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.'70$this->source); })()), "session", [], "any"falsefalsefalse70), "flashbag", [], "any"falsefalsefalse70), "get", [=> "eccube.front.request.error"], "method"falsefalsefalse70));
  175.         $context['loop'] = [
  176.           'parent' => $context['_parent'],
  177.           'index0' => 0,
  178.           'index'  => 1,
  179.           'first'  => true,
  180.         ];
  181.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  182.             $length count($context['_seq']);
  183.             $context['loop']['revindex0'] = $length 1;
  184.             $context['loop']['revindex'] = $length;
  185.             $context['loop']['length'] = $length;
  186.             $context['loop']['last'] = === $length;
  187.         }
  188.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  189.             // line 71
  190.             echo "            ";
  191.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse71);
  192.             // line 72
  193.             echo "            <div class=\"ec-cartRole__error\">
  194.                 <div class=\"ec-alert-warning\">
  195.                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  196.             // line 74
  197.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  198.             echo "\"></div>
  199.                     <div class=\"ec-alert-warning__text\">
  200.                         ";
  201.             // line 76
  202.             if (twig_get_attribute($this->env$this->source, ($context["productStr"] ?? null), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'76$this->source); })()), [], "array"truetruefalse76)) {
  203.                 // line 77
  204.                 echo "                            ";
  205.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"], ["%product%" => twig_get_attribute($this->env$this->source, (isset($context["productStr"]) || array_key_exists("productStr"$context) ? $context["productStr"] : (function () { throw new RuntimeError('Variable "productStr" does not exist.'77$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'77$this->source); })()), [], "array"falsefalsefalse77)]), "html"nulltrue));
  206.                 echo "
  207.                         ";
  208.             } else {
  209.                 // line 79
  210.                 echo "                            ";
  211.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  212.                 echo "
  213.                         ";
  214.             }
  215.             // line 81
  216.             echo "                    </div>
  217.                 </div>
  218.             </div>
  219.         ";
  220.             ++$context['loop']['index0'];
  221.             ++$context['loop']['index'];
  222.             $context['loop']['first'] = false;
  223.             if (isset($context['loop']['length'])) {
  224.                 --$context['loop']['revindex0'];
  225.                 --$context['loop']['revindex'];
  226.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  227.             }
  228.         }
  229.         $_parent $context['_parent'];
  230.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  231.         $context array_intersect_key($context$_parent) + $_parent;
  232.         // line 85
  233.         echo "        ";
  234.         $context['_parent'] = $context;
  235.         $context['_seq'] = twig_ensure_traversable(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.'85$this->source); })()), "session", [], "any"falsefalsefalse85), "flashbag", [], "any"falsefalsefalse85), "get", [=> "eccube.front.cart.error"], "method"falsefalsefalse85));
  236.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  237.             // line 86
  238.             echo "            <div class=\"ec-cartRole__error\">
  239.                 <div class=\"ec-alert-warning\">
  240.                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  241.             // line 88
  242.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  243.             echo "\"></div>
  244.                     <div class=\"ec-alert-warning__text\">
  245.                         ";
  246.             // line 90
  247.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  248.             echo "
  249.                     </div>
  250.                 </div>
  251.             </div>
  252.         ";
  253.         }
  254.         $_parent $context['_parent'];
  255.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  256.         $context array_intersect_key($context$_parent) + $_parent;
  257.         // line 95
  258.         echo "        ";
  259.         if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'95$this->source); })()) > 0)) {
  260.             // line 96
  261.             echo "            <div class=\"ec-cartRole__totalText\">
  262.                 <p>
  263.                     ";
  264.             // line 98
  265.             echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品の合計金額は「<strong>%price%</strong>」です。", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter((isset($context["totalPrice"]) || array_key_exists("totalPrice"$context) ? $context["totalPrice"] : (function () { throw new RuntimeError('Variable "totalPrice" does not exist.'98$this->source); })()))]);
  266.             echo "
  267.                 </p>
  268.             </div>
  269.             ";
  270.             // line 101
  271.             if ((twig_length_filter($this->env, (isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'101$this->source); })())) > 1)) {
  272.                 // line 102
  273.                 echo "                <div class=\"ec-cartRole__error\">
  274.                     <div class=\"ec-alert-warning\">
  275.                         <div class=\"ec-alert-warning__text\">
  276.                             ";
  277.                 // line 105
  278.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同時購入できない商品がカートに含まれています。"), "html"nulltrue));
  279.                 echo "
  280.                         </div>
  281.                     </div>
  282.                 </div>
  283.             ";
  284.             }
  285.             // line 110
  286.             echo "
  287.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  288.             // line 111
  289.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  290.             echo "\">
  291.                 ";
  292.             // line 113
  293.             $context['_parent'] = $context;
  294.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'113$this->source); })()));
  295.             $context['loop'] = [
  296.               'parent' => $context['_parent'],
  297.               'index0' => 0,
  298.               'index'  => 1,
  299.               'first'  => true,
  300.             ];
  301.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  302.                 $length count($context['_seq']);
  303.                 $context['loop']['revindex0'] = $length 1;
  304.                 $context['loop']['revindex'] = $length;
  305.                 $context['loop']['length'] = $length;
  306.                 $context['loop']['last'] = === $length;
  307.             }
  308.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  309.                 // line 114
  310.                 echo "                    ";
  311.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse114);
  312.                 // line 115
  313.                 echo "                    ";
  314.                 $context['_parent'] = $context;
  315.                 $context['_seq'] = twig_ensure_traversable(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.'115$this->source); })()), "session", [], "any"falsefalsefalse115), "flashbag", [], "any"falsefalsefalse115), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'115$this->source); })())) . ".request.error")], "method"falsefalsefalse115));
  316.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  317.                     // line 116
  318.                     echo "                        <div class=\"ec-cartRole__error\">
  319.                             <div class=\"ec-alert-warning\">
  320.                                 <div class=\"ec-alert-warning__icon\"><img src=\"";
  321.                     // line 118
  322.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  323.                     echo "\"></div>
  324.                                 <div class=\"ec-alert-warning__text\">
  325.                                     ";
  326.                     // line 120
  327.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  328.                     echo "
  329.                                 </div>
  330.                             </div>
  331.                         </div>
  332.                     ";
  333.                 }
  334.                 $_parent $context['_parent'];
  335.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  336.                 $context array_intersect_key($context$_parent) + $_parent;
  337.                 // line 125
  338.                 echo "
  339.                     <div class=\"ec-cartRole__cart\">
  340.                         <div class=\"ec-cartTable\">
  341.                             <ol class=\"ec-cartHeader\">
  342.                                 <li class=\"ec-cartHeader__label\">";
  343.                 // line 129
  344.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("削除"), "html"nulltrue);
  345.                 echo "</li>
  346.                                 <li class=\"ec-cartHeader__label\">";
  347.                 // line 130
  348.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("商品内容"), "html"nulltrue);
  349.                 echo "</li>
  350.                                 <li class=\"ec-cartHeader__label\">";
  351.                 // line 131
  352.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("店舗"), "html"nulltrue);
  353.                 echo "</li>
  354.                                 <li class=\"ec-cartHeader__label\">";
  355.                 // line 132
  356.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計"), "html"nulltrue);
  357.                 echo "</li>
  358.                             </ol>
  359.                             ";
  360.                 // line 134
  361.                 $context['_parent'] = $context;
  362.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsefalse134));
  363.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  364.                     // line 135
  365.                     echo "                                ";
  366.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsefalse135);
  367.                     // line 136
  368.                     echo "                                ";
  369.                     $context["Product"] = twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'136$this->source); })()), "Product", [], "any"falsefalsefalse136);
  370.                     // line 137
  371.                     echo "                                <ul class=\"ec-cartRow\">
  372.                                     <li class=\"ec-cartRow__delColumn\">
  373.                                         <a href=\"";
  374.                     // line 139
  375.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "remove""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'139$this->source); })()), "id", [], "any"falsefalsefalse139)]), "html"nulltrue);
  376.                     echo "\" ";
  377.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  378.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  379.                                             <img src=\"";
  380.                     // line 140
  381.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  382.                     echo "\" alt=\"delete\">
  383.                                         </a>
  384.                                     </li>
  385.                                     <li class=\"ec-cartRow__contentColumn\">
  386.                                         <div class=\"ec-cartRow__img\">
  387.                                             <a target=\"_blank\" href=\"";
  388.                     // line 145
  389.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'145$this->source); })()), "id", [], "any"falsefalsefalse145)]), "html"nulltrue);
  390.                     echo "\">
  391.                                                 <img src=\"";
  392.                     // line 146
  393.                     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, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'146$this->source); })()), "MainListImage", [], "any"falsefalsefalse146)), "save_image"), "html"nulltrue);
  394.                     echo "\" alt=\"";
  395.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'146$this->source); })()), "name", [], "any"falsefalsefalse146), "html"nulltrue);
  396.                     echo "\"/>
  397.                                             </a>
  398.                                         </div>
  399.                                         <div class=\"ec-cartRow__summary\">
  400.                                             <div class=\"ec-cartRow__name\">
  401.                                                 <a target=\"_blank\" href=\"";
  402.                     // line 151
  403.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'151$this->source); })()), "id", [], "any"falsefalsefalse151)]), "html"nulltrue);
  404.                     echo "\">";
  405.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'151$this->source); })()), "name", [], "any"falsefalsefalse151), "html"nulltrue);
  406.                     echo "</a>
  407.                                                 ";
  408.                     // line 152
  409.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'152$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse152) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'152$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse152), "id", [], "any"falsefalsefalse152))) {
  410.                         // line 153
  411.                         echo "                                                    <br>";
  412.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'153$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse153), "ClassName", [], "any"falsefalsefalse153), "name", [], "any"falsefalsefalse153), "html"nulltrue);
  413.                         echo ":";
  414.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'153$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse153), "html"nulltrue);
  415.                         echo "
  416.                                                 ";
  417.                     }
  418.                     // line 155
  419.                     echo "                                                ";
  420.                     if ((twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'155$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse155) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'155$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse155), "id", [], "any"falsefalsefalse155))) {
  421.                         // line 156
  422.                         echo "                                                    <br>";
  423.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'156$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse156), "ClassName", [], "any"falsefalsefalse156), "name", [], "any"falsefalsefalse156), "html"nulltrue);
  424.                         echo ":";
  425.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'156$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse156), "html"nulltrue);
  426.                         echo "
  427.                                                 ";
  428.                     }
  429.                     // line 158
  430.                     echo "                                            </div>
  431.                                             <div class=\"ec-cartRow__unitPrice\">";
  432.                     // line 159
  433.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsefalse159)), "html"nulltrue);
  434.                     echo "</div>
  435.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  436.                     // line 160
  437.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計:"), "html"nulltrue);
  438.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsefalse160)), "html"nulltrue);
  439.                     echo "</div>
  440.                                         </div>
  441.                                     </li>
  442.                                     ";
  443.                     // line 163
  444.                     if (twig_get_attribute($this->env$this->source, ($context["maker"] ?? null), (twig_get_attribute($this->env$this->source$context["CartItem"], "maker_id", [], "any"falsefalsefalse163) - 1), [], "array"truetruefalse163)) {
  445.                         // line 164
  446.                         echo "                                    <li class=\"ec-cartRow__contentColumn\">
  447.                                         <div class=\"ec-cartRow__sutbtotal\">";
  448.                         // line 165
  449.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["maker"]) || array_key_exists("maker"$context) ? $context["maker"] : (function () { throw new RuntimeError('Variable "maker" does not exist.'165$this->source); })()), (twig_get_attribute($this->env$this->source$context["CartItem"], "maker_id", [], "any"falsefalsefalse165) - 1), [], "array"falsefalsefalse165), "name", [], "any"falsefalsefalse165), "html"nulltrue);
  450.                         echo "</div>
  451.                                     </li>
  452.                                     ";
  453.                     } else {
  454.                         // line 168
  455.                         echo "                                    <li class=\"ec-cartRow__contentColumn\">
  456.                                         <div class=\"ec-cartRow__sutbtotal\"></div>
  457.                                     </li>
  458.                                     ";
  459.                     }
  460.                     // line 172
  461.                     echo "                                    <li class=\"ec-cartRow__contentColumn\">
  462.                                         <div class=\"ec-cartRow__sutbtotal\">";
  463.                     // line 173
  464.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsefalse173)), "html"nulltrue);
  465.                     echo "</div>
  466.                                     </li>
  467.                                 </ul>
  468.                             ";
  469.                 }
  470.                 $_parent $context['_parent'];
  471.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  472.                 $context array_intersect_key($context$_parent) + $_parent;
  473.                 // line 177
  474.                 echo "                        </div>
  475.                     </div>
  476.                     <div class=\"ec-cartRole__progress\">
  477.                         ";
  478.                 // line 180
  479.                 if ((twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'180$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse180) && twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'180$this->source); })()), "delivery_free_quantity", [], "any"falsefalsefalse180))) {
  480.                     // line 181
  481.                     echo "                            <br/>
  482.                             ";
  483.                     // line 182
  484.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'182$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'182$this->source); })()), [], "array"falsefalsefalse182)) {
  485.                         // line 183
  486.                         echo "                                ";
  487.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  488.                         echo "
  489.                             ";
  490.                     } else {
  491.                         // line 185
  492.                         echo "                                ";
  493.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>」または「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'185$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'185$this->source); })()), [], "array"falsefalsefalse185)), "%quantity%" => twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'185$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'185$this->source); })()), [], "array"falsefalsefalse185))]);
  494.                         echo "
  495.                             ";
  496.                     }
  497.                     // line 187
  498.                     echo "                        ";
  499.                 } elseif (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'187$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse187)) {
  500.                     // line 188
  501.                     echo "                            <br/>
  502.                             ";
  503.                     // line 189
  504.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'189$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'189$this->source); })()), [], "array"falsefalsefalse189)) {
  505.                         // line 190
  506.                         echo "                                ";
  507.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  508.                         echo "
  509.                             ";
  510.                     } else {
  511.                         // line 192
  512.                         echo "                                ";
  513.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'192$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'192$this->source); })()), [], "array"falsefalsefalse192))]);
  514.                         echo "
  515.                             ";
  516.                     }
  517.                     // line 194
  518.                     echo "                        ";
  519.                 } elseif (twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'194$this->source); })()), "delivery_free_quantity", [], "any"falsefalsefalse194)) {
  520.                     // line 195
  521.                     echo "                            <br/>
  522.                             ";
  523.                     // line 196
  524.                     if (twig_get_attribute($this->env$this->source, (isset($context["is_delivery_free"]) || array_key_exists("is_delivery_free"$context) ? $context["is_delivery_free"] : (function () { throw new RuntimeError('Variable "is_delivery_free" does not exist.'196$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'196$this->source); })()), [], "array"falsefalsefalse196)) {
  525.                         // line 197
  526.                         echo "                                ";
  527.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  528.                         echo "
  529.                             ";
  530.                     } else {
  531.                         // line 199
  532.                         echo "                                ";
  533.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。", ["%quantity%" => twig_number_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'199$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'199$this->source); })()), [], "array"falsefalsefalse199))]);
  534.                         echo "
  535.                             ";
  536.                     }
  537.                     // line 201
  538.                     echo "                        ";
  539.                 }
  540.                 // line 202
  541.                 echo "                    </div>
  542.                     <div class=\"ec-cartRole__actions\">
  543.                         <div class=\"ec-cartRole__total\">";
  544.                 // line 204
  545.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計:"), "html"nulltrue);
  546.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  547.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsefalse204)), "html"nulltrue);
  548.                 echo "</span>
  549.                         </div>
  550.                         <a class=\"ec-blockBtn--action\" href=\"";
  551.                 // line 206
  552.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart_buystep", ["cart_key" => (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'206$this->source); })())]), "html"nulltrue);
  553.                 echo "\">";
  554.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("レジに進む"), "html"nulltrue);
  555.                 echo "</a>
  556.                         ";
  557.                 // line 207
  558.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse207)) {
  559.                     // line 208
  560.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  561.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  562.                     echo "\">";
  563.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  564.                     echo "</a>
  565.                         ";
  566.                 }
  567.                 // line 210
  568.                 echo "                    </div>
  569.                 ";
  570.                 ++$context['loop']['index0'];
  571.                 ++$context['loop']['index'];
  572.                 $context['loop']['first'] = false;
  573.                 if (isset($context['loop']['length'])) {
  574.                     --$context['loop']['revindex0'];
  575.                     --$context['loop']['revindex'];
  576.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  577.                 }
  578.             }
  579.             $_parent $context['_parent'];
  580.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  581.             $context array_intersect_key($context$_parent) + $_parent;
  582.             // line 212
  583.             echo "            </form>
  584.         ";
  585.         } else {
  586.             // line 214
  587.             echo "            ";
  588.             $context['_parent'] = $context;
  589.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'214$this->source); })()));
  590.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  591.                 // line 215
  592.                 echo "                ";
  593.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse215);
  594.                 // line 216
  595.                 echo "                ";
  596.                 $context['_parent'] = $context;
  597.                 $context['_seq'] = twig_ensure_traversable(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.'216$this->source); })()), "session", [], "any"falsefalsefalse216), "flashbag", [], "any"falsefalsefalse216), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'216$this->source); })())) . ".request.error")], "method"falsefalsefalse216));
  598.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  599.                     // line 217
  600.                     echo "                    <div class=\"ec-cartRole__error\">
  601.                         <div class=\"ec-alert-warning\">
  602.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  603.                     // line 219
  604.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  605.                     echo "\"></div>
  606.                             <div class=\"ec-alert-warning__text\">
  607.                                 ";
  608.                     // line 221
  609.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  610.                     echo "
  611.                             </div>
  612.                         </div>
  613.                     </div>
  614.                 ";
  615.                 }
  616.                 $_parent $context['_parent'];
  617.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  618.                 $context array_intersect_key($context$_parent) + $_parent;
  619.                 // line 226
  620.                 echo "            ";
  621.             }
  622.             $_parent $context['_parent'];
  623.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  624.             $context array_intersect_key($context$_parent) + $_parent;
  625.             // line 227
  626.             echo "            <div class=\"ec-role\">
  627.                 <div class=\"ec-off3Grid\">
  628.                     <div class=\"ec-off3Grid__cell\">
  629.                         <div class=\"ec-alert-warning\">
  630.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  631.             // line 231
  632.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  633.             echo "\"></div>
  634.                             <div class=\"ec-alert-warning__text\">";
  635.             // line 232
  636.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在カート内に商品はございません。"), "html"nulltrue);
  637.             echo "</div>
  638.                         </div>
  639.                     </div>
  640.                 </div>
  641.             </div>
  642.         ";
  643.         }
  644.         // line 238
  645.         echo "    </div>
  646. ";
  647.         
  648.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  649.         
  650.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  651.     }
  652.     public function getTemplateName()
  653.     {
  654.         return "Cart/index.twig";
  655.     }
  656.     public function isTraitable()
  657.     {
  658.         return false;
  659.     }
  660.     public function getDebugInfo()
  661.     {
  662.         return array (  666 => 238,  657 => 232,  653 => 231,  647 => 227,  641 => 226,  630 => 221,  625 => 219,  621 => 217,  616 => 216,  613 => 215,  608 => 214,  604 => 212,  589 => 210,  581 => 208,  579 => 207,  573 => 206,  566 => 204,  562 => 202,  559 => 201,  553 => 199,  547 => 197,  545 => 196,  542 => 195,  539 => 194,  533 => 192,  527 => 190,  525 => 189,  522 => 188,  519 => 187,  513 => 185,  507 => 183,  505 => 182,  502 => 181,  500 => 180,  495 => 177,  485 => 173,  482 => 172,  476 => 168,  470 => 165,  467 => 164,  465 => 163,  458 => 160,  454 => 159,  451 => 158,  443 => 156,  440 => 155,  432 => 153,  430 => 152,  424 => 151,  414 => 146,  410 => 145,  402 => 140,  396 => 139,  392 => 137,  389 => 136,  386 => 135,  382 => 134,  377 => 132,  373 => 131,  369 => 130,  365 => 129,  359 => 125,  348 => 120,  343 => 118,  339 => 116,  334 => 115,  331 => 114,  314 => 113,  309 => 111,  306 => 110,  298 => 105,  293 => 102,  291 => 101,  285 => 98,  281 => 96,  278 => 95,  267 => 90,  262 => 88,  258 => 86,  253 => 85,  236 => 81,  230 => 79,  224 => 77,  222 => 76,  217 => 74,  213 => 72,  210 => 71,  192 => 70,  190 => 69,  182 => 64,  179 => 63,  176 => 62,  169 => 58,  166 => 57,  163 => 56,  156 => 52,  153 => 51,  150 => 50,  147 => 49,  140 => 45,  137 => 44,  134 => 43,  131 => 42,  129 => 41,  123 => 38,  120 => 37,  117 => 36,  114 => 35,  112 => 34,  102 => 27,  97 => 24,  87 => 23,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  663.     }
  664.     public function getSourceContext()
  665.     {
  666.         return new Source("{#
  667. This file is part of EC-CUBE
  668. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  669. http://www.ec-cube.co.jp/
  670. For the full copyright and license information, please view the LICENSE
  671. file that was distributed with this source code.
  672. #}
  673. {% extends 'default_frame.twig' %}
  674. {% set body_class = 'cart_page' %}
  675. {% block stylesheet %}
  676.     <style>
  677.     .ec-cartRow .ec-cartRow__contentColumn {
  678.         padding-left: 3%;
  679.     }
  680.     </style>
  681. {% endblock %}
  682. {% block main %}
  683.     <div class=\"ec-role\">
  684.         <div class=\"ec-pageHeader\">
  685.             <h1>{{ 'ショッピングカート'|trans }}</h1>
  686.         </div>
  687.     </div>
  688.     <div class=\"ec-cartRole\">
  689.         <div class=\"ec-cartRole__progress\">
  690.             <ul class=\"ec-progress\">
  691.                 {% set step = 1 %}
  692.                 <li class=\"ec-progress__item is-complete\">
  693.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  694.                     </div>
  695.                     <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}
  696.                     </div>
  697.                 </li>
  698.                 {% if is_granted('ROLE_USER') == false %}
  699.                     <li class=\"ec-progress__item\">
  700.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  701.                         </div>
  702.                         <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}
  703.                         </div>
  704.                     </li>
  705.                 {% endif %}
  706.                 <li class=\"ec-progress__item\">
  707.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  708.                     </div>
  709.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}
  710.                     </div>
  711.                 </li>
  712.                 <li class=\"ec-progress__item\">
  713.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  714.                     </div>
  715.                     <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}
  716.                     </div>
  717.                 </li>
  718.                 <li class=\"ec-progress__item\">
  719.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  720.                     </div>
  721.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}
  722.                     </div>
  723.                 </li>
  724.             </ul>
  725.         </div>
  726.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  727.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  728.             {% set idx = loop.index0 %}
  729.             <div class=\"ec-cartRole__error\">
  730.                 <div class=\"ec-alert-warning\">
  731.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  732.                     <div class=\"ec-alert-warning__text\">
  733.                         {% if productStr[idx] is defined %}
  734.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  735.                         {% else %}
  736.                             {{ error|trans|nl2br }}
  737.                         {% endif %}
  738.                     </div>
  739.                 </div>
  740.             </div>
  741.         {% endfor %}
  742.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  743.             <div class=\"ec-cartRole__error\">
  744.                 <div class=\"ec-alert-warning\">
  745.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  746.                     <div class=\"ec-alert-warning__text\">
  747.                         {{ error|trans|nl2br }}
  748.                     </div>
  749.                 </div>
  750.             </div>
  751.         {% endfor %}
  752.         {% if totalQuantity > 0 %}
  753.             <div class=\"ec-cartRole__totalText\">
  754.                 <p>
  755.                     {{ '商品の合計金額は「<strong>%price%</strong>」です。'|trans({ '%price%': totalPrice|price })|raw }}
  756.                 </p>
  757.             </div>
  758.             {% if Carts|length > 1 %}
  759.                 <div class=\"ec-cartRole__error\">
  760.                     <div class=\"ec-alert-warning\">
  761.                         <div class=\"ec-alert-warning__text\">
  762.                             {{ '同時購入できない商品がカートに含まれています。'|trans|nl2br }}
  763.                         </div>
  764.                     </div>
  765.                 </div>
  766.             {% endif %}
  767.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  768.                 {% for CartIndex,Cart in Carts %}
  769.                     {% set cartKey = Cart.cart_key %}
  770.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  771.                         <div class=\"ec-cartRole__error\">
  772.                             <div class=\"ec-alert-warning\">
  773.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  774.                                 <div class=\"ec-alert-warning__text\">
  775.                                     {{ error|trans|nl2br }}
  776.                                 </div>
  777.                             </div>
  778.                         </div>
  779.                     {% endfor %}
  780.                     <div class=\"ec-cartRole__cart\">
  781.                         <div class=\"ec-cartTable\">
  782.                             <ol class=\"ec-cartHeader\">
  783.                                 <li class=\"ec-cartHeader__label\">{{ '削除'|trans }}</li>
  784.                                 <li class=\"ec-cartHeader__label\">{{ '商品内容'|trans }}</li>
  785.                                 <li class=\"ec-cartHeader__label\">{{ '店舗'|trans }}</li>
  786.                                 <li class=\"ec-cartHeader__label\">{{ '小計'|trans }}</li>
  787.                             </ol>
  788.                             {% for CartItem in Cart.CartItems %}
  789.                                 {% set ProductClass = CartItem.ProductClass %}
  790.                                 {% set Product = ProductClass.Product %}
  791.                                 <ul class=\"ec-cartRow\">
  792.                                     <li class=\"ec-cartRow__delColumn\">
  793.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  794.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  795.                                         </a>
  796.                                     </li>
  797.                                     <li class=\"ec-cartRow__contentColumn\">
  798.                                         <div class=\"ec-cartRow__img\">
  799.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  800.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  801.                                             </a>
  802.                                         </div>
  803.                                         <div class=\"ec-cartRow__summary\">
  804.                                             <div class=\"ec-cartRow__name\">
  805.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  806.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  807.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  808.                                                 {% endif %}
  809.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  810.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  811.                                                 {% endif %}
  812.                                             </div>
  813.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  814.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ '小計:'|trans }}{{ CartItem.total_price|price }}</div>
  815.                                         </div>
  816.                                     </li>
  817.                                     {% if maker[CartItem.maker_id - 1] is defined  %}
  818.                                     <li class=\"ec-cartRow__contentColumn\">
  819.                                         <div class=\"ec-cartRow__sutbtotal\">{{ maker[CartItem.maker_id - 1].name }}</div>
  820.                                     </li>
  821.                                     {% else %}
  822.                                     <li class=\"ec-cartRow__contentColumn\">
  823.                                         <div class=\"ec-cartRow__sutbtotal\"></div>
  824.                                     </li>
  825.                                     {% endif %}
  826.                                     <li class=\"ec-cartRow__contentColumn\">
  827.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  828.                                     </li>
  829.                                 </ul>
  830.                             {% endfor %}
  831.                         </div>
  832.                     </div>
  833.                     <div class=\"ec-cartRole__progress\">
  834.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  835.                             <br/>
  836.                             {% if is_delivery_free[cartKey] %}
  837.                                 {{ '現在送料無料です。'|trans }}
  838.                             {% else %}
  839.                                 {{ 'あと「<strong>%price%</strong>」または「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  840.                             {% endif %}
  841.                         {% elseif BaseInfo.delivery_free_amount %}
  842.                             <br/>
  843.                             {% if is_delivery_free[cartKey] %}
  844.                                 {{ '現在送料無料です。'|trans }}
  845.                             {% else %}
  846.                                 {{ 'あと「<strong>%price%</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price })|raw }}
  847.                             {% endif %}
  848.                         {% elseif BaseInfo.delivery_free_quantity %}
  849.                             <br/>
  850.                             {% if is_delivery_free[cartKey] %}
  851.                                 {{ '現在送料無料です。'|trans }}
  852.                             {% else %}
  853.                                 {{ 'あと「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  854.                             {% endif %}
  855.                         {% endif %}
  856.                     </div>
  857.                     <div class=\"ec-cartRole__actions\">
  858.                         <div class=\"ec-cartRole__total\">{{ '合計:'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  859.                         </div>
  860.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'レジに進む'|trans }}</a>
  861.                         {% if loop.last %}
  862.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'お買い物を続ける'|trans }}</a>
  863.                         {% endif %}
  864.                     </div>
  865.                 {% endfor %}
  866.             </form>
  867.         {% else %}
  868.             {% for CartIndex,Cart in Carts %}
  869.                 {% set cartKey = Cart.cart_key %}
  870.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  871.                     <div class=\"ec-cartRole__error\">
  872.                         <div class=\"ec-alert-warning\">
  873.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  874.                             <div class=\"ec-alert-warning__text\">
  875.                                 {{ error|trans|nl2br }}
  876.                             </div>
  877.                         </div>
  878.                     </div>
  879.                 {% endfor %}
  880.             {% endfor %}
  881.             <div class=\"ec-role\">
  882.                 <div class=\"ec-off3Grid\">
  883.                     <div class=\"ec-off3Grid__cell\">
  884.                         <div class=\"ec-alert-warning\">
  885.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  886.                             <div class=\"ec-alert-warning__text\">{{ '現在カート内に商品はございません。'|trans }}</div>
  887.                         </div>
  888.                     </div>
  889.                 </div>
  890.             </div>
  891.         {% endif %}
  892.     </div>
  893. {% endblock %}""Cart/index.twig""/home/xs230941/tas-lab.net/public_html/app/template/default/Cart/index.twig");
  894.     }
  895. }