var/cache/dev/twig/92/92543e415a6933537e8f04eba79fa785c1277bf404734781656ac89a0bf96836.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Cart/index.twig */
  14. class __TwigTemplate_5fcf8423a63758e48dbb9f4eb7f3756406f64a5a4e0c2ce2c733f548e77782a5 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  40.         // line 13
  41.         $context["body_class"] = "cart_page";
  42.         // line 11
  43.         $this->parent $this->loadTemplate("default_frame.twig""Cart/index.twig"11);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 15
  51.     public function block_main($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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("front.cart.title"), "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("front.cart.nav__cart_items"), "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("front.cart.nav__customer_info"), "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("front.cart.nav__order"), "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("front.cart.nav__confirm"), "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("front.cart.nav__complete"), "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("front.cart.total_price", ["%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.                             ";
  258.                 // line 97
  259.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.divide_cart"), "html"nulltrue));
  260.                 echo "
  261.                         </div>
  262.                     </div>
  263.                 </div>
  264.             ";
  265.             }
  266.             // line 102
  267.             echo "
  268.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  269.             // line 103
  270.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  271.             echo "\">
  272.                 ";
  273.             // line 105
  274.             $context['_parent'] = $context;
  275.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'105$this->source); })()));
  276.             $context['loop'] = [
  277.               'parent' => $context['_parent'],
  278.               'index0' => 0,
  279.               'index'  => 1,
  280.               'first'  => true,
  281.             ];
  282.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  283.                 $length count($context['_seq']);
  284.                 $context['loop']['revindex0'] = $length 1;
  285.                 $context['loop']['revindex'] = $length;
  286.                 $context['loop']['length'] = $length;
  287.                 $context['loop']['last'] = === $length;
  288.             }
  289.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  290.                 // line 106
  291.                 echo "                    ";
  292.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue106);
  293.                 // line 107
  294.                 echo "                    ";
  295.                 $context['_parent'] = $context;
  296.                 $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.'107$this->source); })()), "session", [], "any"falsefalsetrue107), "flashbag", [], "any"falsefalsetrue107), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'107$this->source); })())) . ".request.error")], "method"falsefalsetrue107));
  297.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  298.                     // line 108
  299.                     echo "                        <div class=\"ec-cartRole__error\">
  300.                             <div class=\"ec-alert-warning\">
  301.                                 <div class=\"ec-alert-warning__icon\"><img src=\"";
  302.                     // line 110
  303.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  304.                     echo "\"></div>
  305.                                 <div class=\"ec-alert-warning__text\">
  306.                                     ";
  307.                     // line 112
  308.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 112$this->source)), "html"nulltrue));
  309.                     echo "
  310.                                 </div>
  311.                             </div>
  312.                         </div>
  313.                     ";
  314.                 }
  315.                 $_parent $context['_parent'];
  316.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  317.                 $context array_intersect_key($context$_parent) + $_parent;
  318.                 // line 117
  319.                 echo "
  320.                     <div class=\"ec-cartRole__cart\">
  321.                         <a class=\"ec-blockBtn--cancel\" href=\"";
  322.                 // line 119
  323.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("cart_clear");
  324.                 echo "\" style=\"width: 30%; background-color: gray; border-color: gray;\">カートを空にする</a>
  325.                         <div class=\"ec-cartTable\">
  326.                             <ol class=\"ec-cartHeader\">
  327.                                 <li class=\"ec-cartHeader__label\">";
  328.                 // line 122
  329.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delete"), "html"nulltrue);
  330.                 echo "</li>
  331.                                 <li class=\"ec-cartHeader__label\">";
  332.                 // line 123
  333.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.product"), "html"nulltrue);
  334.                 echo "</li>
  335.                                 <li class=\"ec-cartHeader__label\">";
  336.                 // line 124
  337.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity"), "html"nulltrue);
  338.                 echo "</li>
  339.                                 <li class=\"ec-cartHeader__label\">";
  340.                 // line 125
  341.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal"), "html"nulltrue);
  342.                 echo "</li>
  343.                             </ol>
  344.                             ";
  345.                 // line 127
  346.                 $context['_parent'] = $context;
  347.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue127));
  348.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  349.                     // line 128
  350.                     echo "                                ";
  351.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue128);
  352.                     // line 129
  353.                     echo "                                ";
  354.                     $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.'129$this->source); })()), "Product", [], "any"falsefalsetrue129);
  355.                     // line 130
  356.                     echo "                                <ul class=\"ec-cartRow\">
  357.                                     <li class=\"ec-cartRow__delColumn\">
  358.                                         <a href=\"";
  359.                     // line 132
  360.                     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.'132$this->source); })()), "id", [], "any"falsefalsetrue132)]), "html"nulltrue);
  361.                     echo "\" ";
  362.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  363.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  364.                                             <img src=\"";
  365.                     // line 133
  366.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  367.                     echo "\" alt=\"delete\">
  368.                                         </a>
  369.                                     </li>
  370.                                     <li class=\"ec-cartRow__contentColumn\">
  371.                                         <div class=\"ec-cartRow__img\">
  372.                                             <a target=\"_blank\" href=\"";
  373.                     // line 138
  374.                     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.'138$this->source); })()), "id", [], "any"falsefalsetrue138)]), "html"nulltrue);
  375.                     echo "\">
  376.                                                 <img src=\"";
  377.                     // line 139
  378.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($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.'139$this->source); })()), "MainListImage", [], "any"falsefalsetrue139), 139$this->source)), "save_image"), "html"nulltrue);
  379.                     echo "\" alt=\"";
  380.                     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.'139$this->source); })()), "name", [], "any"falsefalsetrue139), 139$this->source), "html"nulltrue);
  381.                     echo "\"/>
  382.                                             </a>
  383.                                         </div>
  384.                                         <div class=\"ec-cartRow__summary\">
  385.                                             <div class=\"ec-cartRow__name\">
  386.                                                 <a target=\"_blank\" href=\"";
  387.                     // line 144
  388.                     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.'144$this->source); })()), "id", [], "any"falsefalsetrue144)]), "html"nulltrue);
  389.                     echo "\">";
  390.                     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.'144$this->source); })()), "name", [], "any"falsefalsetrue144), 144$this->source), "html"nulltrue);
  391.                     echo "</a>
  392.                                                 ";
  393.                     // line 145
  394.                     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.'145$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue145) && 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.'145$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue145), "id", [], "any"falsefalsetrue145))) {
  395.                         // line 146
  396.                         echo "                                                    <br>";
  397.                         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.'146$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue146), "ClassName", [], "any"falsefalsetrue146), "name", [], "any"falsefalsetrue146), 146$this->source), "html"nulltrue);
  398.                         echo ":";
  399.                         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.'146$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue146), 146$this->source), "html"nulltrue);
  400.                         echo "
  401.                                                 ";
  402.                     }
  403.                     // line 148
  404.                     echo "                                                ";
  405.                     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.'148$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue148) && 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.'148$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue148), "id", [], "any"falsefalsetrue148))) {
  406.                         // line 149
  407.                         echo "                                                    <br>";
  408.                         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.'149$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue149), "ClassName", [], "any"falsefalsetrue149), "name", [], "any"falsefalsetrue149), 149$this->source), "html"nulltrue);
  409.                         echo ":";
  410.                         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.'149$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue149), 149$this->source), "html"nulltrue);
  411.                         echo "
  412.                                                 ";
  413.                     }
  414.                     // line 151
  415.                     echo "                                            </div>
  416.                                             <div class=\"ec-cartRow__unitPrice\">";
  417.                     // line 152
  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"], "price", [], "any"falsefalsetrue152), 152$this->source)), "html"nulltrue);
  419.                     echo "</div>
  420.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  421.                     // line 153
  422.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal__with_separator"), "html"nulltrue);
  423.                     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"falsefalsetrue153), 153$this->source)), "html"nulltrue);
  424.                     echo "</div>
  425.                                         </div>
  426.                                     </li>
  427.                                     <li class=\"ec-cartRow__amountColumn\">
  428.                                         <div class=\"ec-cartRow__amount\">";
  429.                     // line 157
  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"falsefalsetrue157), 157$this->source)), "html"nulltrue);
  431.                     echo "</div>
  432.                                         <div class=\"ec-cartRow__amountSP\">";
  433.                     // line 158
  434.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity__with_separator"), "html"nulltrue);
  435.                     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);
  436.                     echo "</div>
  437.                                         <div class=\"ec-cartRow__amountUpDown\">
  438.                                             ";
  439.                     // line 160
  440.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue160) > 1)) {
  441.                         // line 161
  442.                         echo "                                                <a href=\"";
  443.                         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.'161$this->source); })()), "id", [], "any"falsefalsetrue161)]), "html"nulltrue);
  444.                         echo "\" ";
  445.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  446.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  447.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  448.                         // line 162
  449.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  450.                         echo "\" alt=\"reduce\"></span>
  451.                                                 </a>
  452.                                             ";
  453.                     } else {
  454.                         // line 165
  455.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  456.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  457.                         // line 166
  458.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  459.                         echo "\" alt=\"reduce\"></span>
  460.                                                 </div>
  461.                                             ";
  462.                     }
  463.                     // line 169
  464.                     echo "                                            <a href=\"";
  465.                     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.'169$this->source); })()), "id", [], "any"falsefalsetrue169)]), "html"nulltrue);
  466.                     echo "\" ";
  467.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  468.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  469.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  470.                     // line 170
  471.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  472.                     echo "\" alt=\"increase\"></span>
  473.                                             </a>
  474.                                         </div>
  475.                                     </li>
  476.                                     <li class=\"ec-cartRow__subtotalColumn\">
  477.                                         <div class=\"ec-cartRow__sutbtotal\">";
  478.                     // line 175
  479.                     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"falsefalsetrue175), 175$this->source)), "html"nulltrue);
  480.                     echo "</div>
  481.                                     </li>
  482.                                 </ul>
  483.                             ";
  484.                 }
  485.                 $_parent $context['_parent'];
  486.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  487.                 $context array_intersect_key($context$_parent) + $_parent;
  488.                 // line 179
  489.                 echo "                        </div>
  490.                     </div>
  491.                     <div class=\"ec-cartRole__progress\">
  492.                         ";
  493.                 // line 182
  494.                 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.'182$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue182) && 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.'182$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue182))) {
  495.                     // line 183
  496.                     echo "                            <br/>
  497.                             ";
  498.                     // line 184
  499.                     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.'184$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'184$this->source); })()), [], "array"falsefalsetrue184)) {
  500.                         // line 185
  501.                         echo "                                ";
  502.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  503.                         echo "
  504.                             ";
  505.                     } else {
  506.                         // line 187
  507.                         echo "                                ";
  508.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price_and_quantity", ["%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.'187$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'187$this->source); })()), [], "array"falsefalsetrue187), 187$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.'187$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'187$this->source); })()), [], "array"falsefalsetrue187), 187$this->source))]);
  509.                         echo "
  510.                             ";
  511.                     }
  512.                     // line 189
  513.                     echo "                        ";
  514.                 } 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.'189$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue189)) {
  515.                     // line 190
  516.                     echo "                            <br/>
  517.                             ";
  518.                     // line 191
  519.                     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.'191$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'191$this->source); })()), [], "array"falsefalsetrue191)) {
  520.                         // line 192
  521.                         echo "                                ";
  522.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  523.                         echo "
  524.                             ";
  525.                     } else {
  526.                         // line 194
  527.                         echo "                                ";
  528.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price", ["%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.'194$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'194$this->source); })()), [], "array"falsefalsetrue194), 194$this->source))]);
  529.                         echo "
  530.                             ";
  531.                     }
  532.                     // line 196
  533.                     echo "                        ";
  534.                 } 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.'196$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue196)) {
  535.                     // line 197
  536.                     echo "                            <br/>
  537.                             ";
  538.                     // line 198
  539.                     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.'198$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'198$this->source); })()), [], "array"falsefalsetrue198)) {
  540.                         // line 199
  541.                         echo "                                ";
  542.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  543.                         echo "
  544.                             ";
  545.                     } else {
  546.                         // line 201
  547.                         echo "                                ";
  548.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__quantity", ["%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.'201$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'201$this->source); })()), [], "array"falsefalsetrue201), 201$this->source))]);
  549.                         echo "
  550.                             ";
  551.                     }
  552.                     // line 203
  553.                     echo "                        ";
  554.                 }
  555.                 // line 204
  556.                 echo "                    </div>
  557.                     <div class=\"ec-cartRole__actions\">
  558.                         <div class=\"ec-cartRole__total\">";
  559.                 // line 206
  560.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.total__with_separator"), "html"nulltrue);
  561.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  562.                 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"falsefalsetrue206), 206$this->source)), "html"nulltrue);
  563.                 echo "</span>
  564.                         </div>
  565.                         <a class=\"ec-blockBtn--action\" href=\"";
  566.                 // line 208
  567.                 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.'208$this->source); })())]), "html"nulltrue);
  568.                 echo "\">";
  569.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.checkout"), "html"nulltrue);
  570.                 echo "</a>
  571.                         ";
  572.                 // line 209
  573.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue209)) {
  574.                     // line 210
  575.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  576.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  577.                     echo "\">";
  578.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.continue"), "html"nulltrue);
  579.                     echo "</a>
  580.                         ";
  581.                 }
  582.                 // line 212
  583.                 echo "                    </div>
  584.                 ";
  585.                 ++$context['loop']['index0'];
  586.                 ++$context['loop']['index'];
  587.                 $context['loop']['first'] = false;
  588.                 if (isset($context['loop']['length'])) {
  589.                     --$context['loop']['revindex0'];
  590.                     --$context['loop']['revindex'];
  591.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  592.                 }
  593.             }
  594.             $_parent $context['_parent'];
  595.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  596.             $context array_intersect_key($context$_parent) + $_parent;
  597.             // line 214
  598.             echo "            </form>
  599.         ";
  600.         } else {
  601.             // line 216
  602.             echo "            ";
  603.             $context['_parent'] = $context;
  604.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'216$this->source); })()));
  605.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  606.                 // line 217
  607.                 echo "                ";
  608.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue217);
  609.                 // line 218
  610.                 echo "                ";
  611.                 $context['_parent'] = $context;
  612.                 $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.'218$this->source); })()), "session", [], "any"falsefalsetrue218), "flashbag", [], "any"falsefalsetrue218), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'218$this->source); })())) . ".request.error")], "method"falsefalsetrue218));
  613.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  614.                     // line 219
  615.                     echo "                    <div class=\"ec-cartRole__error\">
  616.                         <div class=\"ec-alert-warning\">
  617.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  618.                     // line 221
  619.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  620.                     echo "\"></div>
  621.                             <div class=\"ec-alert-warning__text\">
  622.                                 ";
  623.                     // line 223
  624.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 223$this->source)), "html"nulltrue));
  625.                     echo "
  626.                             </div>
  627.                         </div>
  628.                     </div>
  629.                 ";
  630.                 }
  631.                 $_parent $context['_parent'];
  632.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  633.                 $context array_intersect_key($context$_parent) + $_parent;
  634.                 // line 228
  635.                 echo "            ";
  636.             }
  637.             $_parent $context['_parent'];
  638.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  639.             $context array_intersect_key($context$_parent) + $_parent;
  640.             // line 229
  641.             echo "            <div class=\"ec-role\">
  642.                 <div class=\"ec-off3Grid\">
  643.                     <div class=\"ec-off3Grid__cell\">
  644.                         <div class=\"ec-alert-warning\">
  645.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  646.             // line 233
  647.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  648.             echo "\"></div>
  649.                             <div class=\"ec-alert-warning__text\">";
  650.             // line 234
  651.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.no_items"), "html"nulltrue);
  652.             echo "</div>
  653.                         </div>
  654.                     </div>
  655.                 </div>
  656.             </div>
  657.         ";
  658.         }
  659.         // line 240
  660.         echo "    </div>
  661. ";
  662.         
  663.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  664.         
  665.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  666.     }
  667.     public function getTemplateName()
  668.     {
  669.         return "Cart/index.twig";
  670.     }
  671.     public function isTraitable()
  672.     {
  673.         return false;
  674.     }
  675.     public function getDebugInfo()
  676.     {
  677.         return array (  676 => 240,  667 => 234,  663 => 233,  657 => 229,  651 => 228,  640 => 223,  635 => 221,  631 => 219,  626 => 218,  623 => 217,  618 => 216,  614 => 214,  599 => 212,  591 => 210,  589 => 209,  583 => 208,  576 => 206,  572 => 204,  569 => 203,  563 => 201,  557 => 199,  555 => 198,  552 => 197,  549 => 196,  543 => 194,  537 => 192,  535 => 191,  532 => 190,  529 => 189,  523 => 187,  517 => 185,  515 => 184,  512 => 183,  510 => 182,  505 => 179,  495 => 175,  487 => 170,  480 => 169,  474 => 166,  471 => 165,  465 => 162,  458 => 161,  456 => 160,  450 => 158,  446 => 157,  438 => 153,  434 => 152,  431 => 151,  423 => 149,  420 => 148,  412 => 146,  410 => 145,  404 => 144,  394 => 139,  390 => 138,  382 => 133,  376 => 132,  372 => 130,  369 => 129,  366 => 128,  362 => 127,  357 => 125,  353 => 124,  349 => 123,  345 => 122,  339 => 119,  335 => 117,  324 => 112,  319 => 110,  315 => 108,  310 => 107,  307 => 106,  290 => 105,  285 => 103,  282 => 102,  274 => 97,  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,);
  678.     }
  679.     public function getSourceContext()
  680.     {
  681.         return new Source("{#
  682. This file is part of EC-CUBE
  683. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  684. http://www.ec-cube.co.jp/
  685. For the full copyright and license information, please view the LICENSE
  686. file that was distributed with this source code.
  687. #}
  688. {% extends 'default_frame.twig' %}
  689. {% set body_class = 'cart_page' %}
  690. {% block main %}
  691.     <div class=\"ec-role\">
  692.         <div class=\"ec-pageHeader\">
  693.             <h1>{{ 'front.cart.title'|trans }}</h1>
  694.         </div>
  695.     </div>
  696.     <div class=\"ec-cartRole\">
  697.         <div class=\"ec-cartRole__progress\">
  698.             <ul class=\"ec-progress\">
  699.                 {% set step = 1 %}
  700.                 <li class=\"ec-progress__item is-complete\">
  701.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  702.                     </div>
  703.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__cart_items'|trans }}
  704.                     </div>
  705.                 </li>
  706.                 {% if is_granted('ROLE_USER') == false %}
  707.                     <li class=\"ec-progress__item\">
  708.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  709.                         </div>
  710.                         <div class=\"ec-progress__label\">{{ 'front.cart.nav__customer_info'|trans }}
  711.                         </div>
  712.                     </li>
  713.                 {% endif %}
  714.                 <li class=\"ec-progress__item\">
  715.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  716.                     </div>
  717.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__order'|trans }}
  718.                     </div>
  719.                 </li>
  720.                 <li class=\"ec-progress__item\">
  721.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  722.                     </div>
  723.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__confirm'|trans }}
  724.                     </div>
  725.                 </li>
  726.                 <li class=\"ec-progress__item\">
  727.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  728.                     </div>
  729.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__complete'|trans }}
  730.                     </div>
  731.                 </li>
  732.             </ul>
  733.         </div>
  734.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  735.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  736.             {% set idx = loop.index0 %}
  737.             <div class=\"ec-cartRole__error\">
  738.                 <div class=\"ec-alert-warning\">
  739.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  740.                     <div class=\"ec-alert-warning__text\">
  741.                         {% if productStr[idx] is defined %}
  742.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  743.                         {% else %}
  744.                             {{ error|trans|nl2br }}
  745.                         {% endif %}
  746.                     </div>
  747.                 </div>
  748.             </div>
  749.         {% endfor %}
  750.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  751.             <div class=\"ec-cartRole__error\">
  752.                 <div class=\"ec-alert-warning\">
  753.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  754.                     <div class=\"ec-alert-warning__text\">
  755.                         {{ error|trans|nl2br }}
  756.                     </div>
  757.                 </div>
  758.             </div>
  759.         {% endfor %}
  760.         {% if totalQuantity > 0 %}
  761.             <div class=\"ec-cartRole__totalText\">
  762.                 <p>
  763.                     {{ 'front.cart.total_price'|trans({ '%price%': totalPrice|price })|raw }}
  764.                 </p>
  765.             </div>
  766.             {% if Carts|length > 1 %}
  767.                 <div class=\"ec-cartRole__error\">
  768.                     <div class=\"ec-alert-warning\">
  769.                         <div class=\"ec-alert-warning__text\">
  770.                             {{ 'front.cart.divide_cart'|trans|nl2br }}
  771.                         </div>
  772.                     </div>
  773.                 </div>
  774.             {% endif %}
  775.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  776.                 {% for CartIndex,Cart in Carts %}
  777.                     {% set cartKey = Cart.cart_key %}
  778.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  779.                         <div class=\"ec-cartRole__error\">
  780.                             <div class=\"ec-alert-warning\">
  781.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  782.                                 <div class=\"ec-alert-warning__text\">
  783.                                     {{ error|trans|nl2br }}
  784.                                 </div>
  785.                             </div>
  786.                         </div>
  787.                     {% endfor %}
  788.                     <div class=\"ec-cartRole__cart\">
  789.                         <a class=\"ec-blockBtn--cancel\" href=\"{{ path('cart_clear') }}\" style=\"width: 30%; background-color: gray; border-color: gray;\">カートを空にする</a>
  790.                         <div class=\"ec-cartTable\">
  791.                             <ol class=\"ec-cartHeader\">
  792.                                 <li class=\"ec-cartHeader__label\">{{ 'front.cart.delete'|trans }}</li>
  793.                                 <li class=\"ec-cartHeader__label\">{{ 'front.cart.product'|trans }}</li>
  794.                                 <li class=\"ec-cartHeader__label\">{{ 'common.quantity'|trans }}</li>
  795.                                 <li class=\"ec-cartHeader__label\">{{ 'common.subtotal'|trans }}</li>
  796.                             </ol>
  797.                             {% for CartItem in Cart.CartItems %}
  798.                                 {% set ProductClass = CartItem.ProductClass %}
  799.                                 {% set Product = ProductClass.Product %}
  800.                                 <ul class=\"ec-cartRow\">
  801.                                     <li class=\"ec-cartRow__delColumn\">
  802.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  803.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  804.                                         </a>
  805.                                     </li>
  806.                                     <li class=\"ec-cartRow__contentColumn\">
  807.                                         <div class=\"ec-cartRow__img\">
  808.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  809.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  810.                                             </a>
  811.                                         </div>
  812.                                         <div class=\"ec-cartRow__summary\">
  813.                                             <div class=\"ec-cartRow__name\">
  814.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  815.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  816.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  817.                                                 {% endif %}
  818.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  819.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  820.                                                 {% endif %}
  821.                                             </div>
  822.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  823.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ 'common.subtotal__with_separator'|trans }}{{ CartItem.total_price|price }}</div>
  824.                                         </div>
  825.                                     </li>
  826.                                     <li class=\"ec-cartRow__amountColumn\">
  827.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  828.                                         <div class=\"ec-cartRow__amountSP\">{{ 'common.quantity__with_separator'|trans }}{{ CartItem.quantity|number_format }}</div>
  829.                                         <div class=\"ec-cartRow__amountUpDown\">
  830.                                             {% if CartItem.quantity > 1 %}
  831.                                                 <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\">
  832.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  833.                                                 </a>
  834.                                             {% else %}
  835.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  836.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  837.                                                 </div>
  838.                                             {% endif %}
  839.                                             <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\">
  840.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  841.                                             </a>
  842.                                         </div>
  843.                                     </li>
  844.                                     <li class=\"ec-cartRow__subtotalColumn\">
  845.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  846.                                     </li>
  847.                                 </ul>
  848.                             {% endfor %}
  849.                         </div>
  850.                     </div>
  851.                     <div class=\"ec-cartRole__progress\">
  852.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  853.                             <br/>
  854.                             {% if is_delivery_free[cartKey] %}
  855.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  856.                             {% else %}
  857.                                 {{ 'front.cart.delivery_fee_free__price_and_quantity'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  858.                             {% endif %}
  859.                         {% elseif BaseInfo.delivery_free_amount %}
  860.                             <br/>
  861.                             {% if is_delivery_free[cartKey] %}
  862.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  863.                             {% else %}
  864.                                 {{ 'front.cart.delivery_fee_free__price'|trans({ '%price%': least[cartKey]|price })|raw }}
  865.                             {% endif %}
  866.                         {% elseif BaseInfo.delivery_free_quantity %}
  867.                             <br/>
  868.                             {% if is_delivery_free[cartKey] %}
  869.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  870.                             {% else %}
  871.                                 {{ 'front.cart.delivery_fee_free__quantity'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  872.                             {% endif %}
  873.                         {% endif %}
  874.                     </div>
  875.                     <div class=\"ec-cartRole__actions\">
  876.                         <div class=\"ec-cartRole__total\">{{ 'common.total__with_separator'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  877.                         </div>
  878.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'front.cart.checkout'|trans }}</a>
  879.                         {% if loop.last %}
  880.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'front.cart.continue'|trans }}</a>
  881.                         {% endif %}
  882.                     </div>
  883.                 {% endfor %}
  884.             </form>
  885.         {% else %}
  886.             {% for CartIndex,Cart in Carts %}
  887.                 {% set cartKey = Cart.cart_key %}
  888.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  889.                     <div class=\"ec-cartRole__error\">
  890.                         <div class=\"ec-alert-warning\">
  891.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  892.                             <div class=\"ec-alert-warning__text\">
  893.                                 {{ error|trans|nl2br }}
  894.                             </div>
  895.                         </div>
  896.                     </div>
  897.                 {% endfor %}
  898.             {% endfor %}
  899.             <div class=\"ec-role\">
  900.                 <div class=\"ec-off3Grid\">
  901.                     <div class=\"ec-off3Grid__cell\">
  902.                         <div class=\"ec-alert-warning\">
  903.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  904.                             <div class=\"ec-alert-warning__text\">{{ 'front.cart.no_items'|trans }}</div>
  905.                         </div>
  906.                     </div>
  907.                 </div>
  908.             </div>
  909.         {% endif %}
  910.     </div>
  911. {% endblock %}
  912. ""Cart/index.twig""/usr/home/hbw1007nrm32/html/ec/app/template/default/Cart/index.twig");
  913.     }
  914.     
  915.     public function checkSecurity()
  916.     {
  917.         static $tags = array("set" => 13"if" => 33"for" => 62);
  918.         static $filters = array("escape" => 19"trans" => 19"nl2br" => 69"raw" => 90"price" => 90"length" => 93"no_image_product" => 139"number_format" => 157);
  919.         static $functions = array("is_granted" => 33"asset" => 66"url" => 103"path" => 119"csrf_token_for_anchor" => 132);
  920.         try {
  921.             $this->sandbox->checkSecurity(
  922.                 ['set''if''for'],
  923.                 ['escape''trans''nl2br''raw''price''length''no_image_product''number_format'],
  924.                 ['is_granted''asset''url''path''csrf_token_for_anchor']
  925.             );
  926.         } catch (SecurityError $e) {
  927.             $e->setSourceContext($this->source);
  928.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  929.                 $e->setTemplateLine($tags[$e->getTagName()]);
  930.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  931.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  932.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  933.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  934.             }
  935.             throw $e;
  936.         }
  937.     }
  938. }