var/cache/dev/twig/b6/b6c65fb7ece4d1330aa62d25b8769b11.php line 53

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