var/cache/dev/twig/41/4172f5e190fef75dc793ca74a944a123.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. /* Cart/index.twig */
  14. class __TwigTemplate_22448d7db6f19348a9067977b466a408 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""Cart/index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_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_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("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.                         <div class=\"ec-cartTable\">
  322.                             <ol class=\"ec-cartHeader\">
  323.                                 <li class=\"ec-cartHeader__label\">";
  324.                 // line 121
  325.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delete"), "html"nulltrue);
  326.                 echo "</li>
  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.product"), "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("common.quantity"), "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.subtotal"), "html"nulltrue);
  338.                 echo "</li>
  339.                             </ol>
  340.                             ";
  341.                 // line 126
  342.                 $context['_parent'] = $context;
  343.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue126));
  344.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  345.                     // line 127
  346.                     echo "                                ";
  347.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue127);
  348.                     // line 128
  349.                     echo "                                ";
  350.                     $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.'128$this->source); })()), "Product", [], "any"falsefalsetrue128);
  351.                     // line 129
  352.                     echo "                                <ul class=\"ec-cartRow\">
  353.                                     <li class=\"ec-cartRow__delColumn\">
  354.                                         <a href=\"";
  355.                     // line 131
  356.                     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.'131$this->source); })()), "id", [], "any"falsefalsetrue131)]), "html"nulltrue);
  357.                     echo "\" ";
  358.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  359.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  360.                                             <img src=\"";
  361.                     // line 132
  362.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  363.                     echo "\" alt=\"delete\">
  364.                                         </a>
  365.                                     </li>
  366.                                     <li class=\"ec-cartRow__contentColumn\">
  367.                                         <div class=\"ec-cartRow__img\">
  368.                                             <a target=\"_blank\" href=\"";
  369.                     // line 137
  370.                     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.'137$this->source); })()), "id", [], "any"falsefalsetrue137)]), "html"nulltrue);
  371.                     echo "\">
  372.                                                 <img src=\"";
  373.                     // line 138
  374.                     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.'138$this->source); })()), "MainListImage", [], "any"falsefalsetrue138), 138$this->source)), "save_image"), "html"nulltrue);
  375.                     echo "\" alt=\"";
  376.                     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.'138$this->source); })()), "name", [], "any"falsefalsetrue138), 138$this->source), "html"nulltrue);
  377.                     echo "\"/>
  378.                                             </a>
  379.                                         </div>
  380.                                         <div class=\"ec-cartRow__summary\">
  381.                                             <div class=\"ec-cartRow__name\">
  382.                                                 <a target=\"_blank\" href=\"";
  383.                     // line 143
  384.                     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.'143$this->source); })()), "id", [], "any"falsefalsetrue143)]), "html"nulltrue);
  385.                     echo "\">";
  386.                     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.'143$this->source); })()), "name", [], "any"falsefalsetrue143), 143$this->source), "html"nulltrue);
  387.                     echo "</a>
  388.                                                 ";
  389.                     // line 144
  390.                     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.'144$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue144) && 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.'144$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue144), "id", [], "any"falsefalsetrue144))) {
  391.                         // line 145
  392.                         echo "                                                    <br>";
  393.                         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.'145$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue145), "ClassName", [], "any"falsefalsetrue145), "name", [], "any"falsefalsetrue145), 145$this->source), "html"nulltrue);
  394.                         echo ":";
  395.                         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.'145$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue145), 145$this->source), "html"nulltrue);
  396.                         echo "
  397.                                                 ";
  398.                     }
  399.                     // line 147
  400.                     echo "                                                ";
  401.                     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.'147$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue147) && 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.'147$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue147), "id", [], "any"falsefalsetrue147))) {
  402.                         // line 148
  403.                         echo "                                                    <br>";
  404.                         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.'148$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue148), "ClassName", [], "any"falsefalsetrue148), "name", [], "any"falsefalsetrue148), 148$this->source), "html"nulltrue);
  405.                         echo ":";
  406.                         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.'148$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue148), 148$this->source), "html"nulltrue);
  407.                         echo "
  408.                                                 ";
  409.                     }
  410.                     // line 150
  411.                     echo "                                            </div>
  412.                                             <div class=\"ec-cartRow__unitPrice\">";
  413.                     // line 151
  414.                     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"falsefalsetrue151), 151$this->source)), "html"nulltrue);
  415.                     echo "</div>
  416.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  417.                     // line 152
  418.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal__with_separator"), "html"nulltrue);
  419.                     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"falsefalsetrue152), 152$this->source)), "html"nulltrue);
  420.                     echo "</div>
  421.                                         </div>
  422.                                     </li>
  423.                                     <li class=\"ec-cartRow__amountColumn\">
  424.                                         <div class=\"ec-cartRow__amount\">";
  425.                     // line 156
  426.                     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"falsefalsetrue156), 156$this->source)), "html"nulltrue);
  427.                     echo "</div>
  428.                                         <div class=\"ec-cartRow__amountSP\">";
  429.                     // line 157
  430.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity__with_separator"), "html"nulltrue);
  431.                     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);
  432.                     echo "</div>
  433.                                         <div class=\"ec-cartRow__amountUpDown\">
  434.                                             ";
  435.                     // line 159
  436.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue159) > 1)) {
  437.                         // line 160
  438.                         echo "                                                <a href=\"";
  439.                         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.'160$this->source); })()), "id", [], "any"falsefalsetrue160)]), "html"nulltrue);
  440.                         echo "\" ";
  441.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  442.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  443.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  444.                         // line 161
  445.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  446.                         echo "\" alt=\"reduce\"></span>
  447.                                                 </a>
  448.                                             ";
  449.                     } else {
  450.                         // line 164
  451.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  452.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  453.                         // line 165
  454.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  455.                         echo "\" alt=\"reduce\"></span>
  456.                                                 </div>
  457.                                             ";
  458.                     }
  459.                     // line 168
  460.                     echo "                                            <a href=\"";
  461.                     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.'168$this->source); })()), "id", [], "any"falsefalsetrue168)]), "html"nulltrue);
  462.                     echo "\" ";
  463.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  464.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  465.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  466.                     // line 169
  467.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  468.                     echo "\" alt=\"increase\"></span>
  469.                                             </a>
  470.                                         </div>
  471.                                     </li>
  472.                                     <li class=\"ec-cartRow__subtotalColumn\">
  473.                                         <div class=\"ec-cartRow__sutbtotal\">";
  474.                     // line 174
  475.                     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"falsefalsetrue174), 174$this->source)), "html"nulltrue);
  476.                     echo "</div>
  477.                                     </li>
  478.                                 </ul>
  479.                             ";
  480.                 }
  481.                 $_parent $context['_parent'];
  482.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  483.                 $context array_intersect_key($context$_parent) + $_parent;
  484.                 // line 178
  485.                 echo "                        </div>
  486.                     </div>
  487.                     <div class=\"ec-cartRole__progress\">
  488.                         ";
  489.                 // line 181
  490.                 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.'181$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue181) && 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.'181$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue181))) {
  491.                     // line 182
  492.                     echo "                            <br/>
  493.                             ";
  494.                     // line 183
  495.                     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.'183$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'183$this->source); })()), [], "array"falsefalsetrue183)) {
  496.                         // line 184
  497.                         echo "                                ";
  498.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  499.                         echo "
  500.                             ";
  501.                     } else {
  502.                         // line 186
  503.                         echo "                                ";
  504.                         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.'186$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'186$this->source); })()), [], "array"falsefalsetrue186), 186$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.'186$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'186$this->source); })()), [], "array"falsefalsetrue186), 186$this->source))]);
  505.                         echo "
  506.                             ";
  507.                     }
  508.                     // line 188
  509.                     echo "                        ";
  510.                 } 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.'188$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue188)) {
  511.                     // line 189
  512.                     echo "                            <br/>
  513.                             ";
  514.                     // line 190
  515.                     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.'190$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'190$this->source); })()), [], "array"falsefalsetrue190)) {
  516.                         // line 191
  517.                         echo "                                ";
  518.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  519.                         echo "
  520.                             ";
  521.                     } else {
  522.                         // line 193
  523.                         echo "                                ";
  524.                         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.'193$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'193$this->source); })()), [], "array"falsefalsetrue193), 193$this->source))]);
  525.                         echo "
  526.                             ";
  527.                     }
  528.                     // line 195
  529.                     echo "                        ";
  530.                 } 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.'195$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue195)) {
  531.                     // line 196
  532.                     echo "                            <br/>
  533.                             ";
  534.                     // line 197
  535.                     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.'197$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'197$this->source); })()), [], "array"falsefalsetrue197)) {
  536.                         // line 198
  537.                         echo "                                ";
  538.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  539.                         echo "
  540.                             ";
  541.                     } else {
  542.                         // line 200
  543.                         echo "                                ";
  544.                         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.'200$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'200$this->source); })()), [], "array"falsefalsetrue200), 200$this->source))]);
  545.                         echo "
  546.                             ";
  547.                     }
  548.                     // line 202
  549.                     echo "                        ";
  550.                 }
  551.                 // line 203
  552.                 echo "                    </div>
  553.                     <div class=\"ec-cartRole__actions\">
  554.                         <div class=\"ec-cartRole__total\">";
  555.                 // line 205
  556.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.total__with_separator"), "html"nulltrue);
  557.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  558.                 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"falsefalsetrue205), 205$this->source)), "html"nulltrue);
  559.                 echo "</span>
  560.                         </div>
  561.                         <a class=\"ec-blockBtn--action\" href=\"";
  562.                 // line 207
  563.                 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.'207$this->source); })())]), "html"nulltrue);
  564.                 echo "\">";
  565.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.checkout"), "html"nulltrue);
  566.                 echo "</a>
  567.                         ";
  568.                 // line 208
  569.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue208)) {
  570.                     // line 209
  571.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  572.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  573.                     echo "\">";
  574.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.continue"), "html"nulltrue);
  575.                     echo "</a>
  576.                         ";
  577.                 }
  578.                 // line 211
  579.                 echo "                    </div>
  580.                 ";
  581.                 ++$context['loop']['index0'];
  582.                 ++$context['loop']['index'];
  583.                 $context['loop']['first'] = false;
  584.                 if (isset($context['loop']['length'])) {
  585.                     --$context['loop']['revindex0'];
  586.                     --$context['loop']['revindex'];
  587.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  588.                 }
  589.             }
  590.             $_parent $context['_parent'];
  591.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  592.             $context array_intersect_key($context$_parent) + $_parent;
  593.             // line 213
  594.             echo "            </form>
  595.         ";
  596.         } else {
  597.             // line 215
  598.             echo "            ";
  599.             $context['_parent'] = $context;
  600.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'215$this->source); })()));
  601.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  602.                 // line 216
  603.                 echo "                ";
  604.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue216);
  605.                 // line 217
  606.                 echo "                ";
  607.                 $context['_parent'] = $context;
  608.                 $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.'217$this->source); })()), "session", [], "any"falsefalsetrue217), "flashbag", [], "any"falsefalsetrue217), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'217$this->source); })())) . ".request.error")], "method"falsefalsetrue217));
  609.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  610.                     // line 218
  611.                     echo "                    <div class=\"ec-cartRole__error\">
  612.                         <div class=\"ec-alert-warning\">
  613.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  614.                     // line 220
  615.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  616.                     echo "\"></div>
  617.                             <div class=\"ec-alert-warning__text\">
  618.                                 ";
  619.                     // line 222
  620.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 222$this->source)), "html"nulltrue));
  621.                     echo "
  622.                             </div>
  623.                         </div>
  624.                     </div>
  625.                 ";
  626.                 }
  627.                 $_parent $context['_parent'];
  628.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  629.                 $context array_intersect_key($context$_parent) + $_parent;
  630.                 // line 227
  631.                 echo "            ";
  632.             }
  633.             $_parent $context['_parent'];
  634.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  635.             $context array_intersect_key($context$_parent) + $_parent;
  636.             // line 228
  637.             echo "            <div class=\"ec-role\">
  638.                 <div class=\"ec-off3Grid\">
  639.                     <div class=\"ec-off3Grid__cell\">
  640.                         <div class=\"ec-alert-warning\">
  641.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  642.             // line 232
  643.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  644.             echo "\"></div>
  645.                             <div class=\"ec-alert-warning__text\">";
  646.             // line 233
  647.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.no_items"), "html"nulltrue);
  648.             echo "</div>
  649.                         </div>
  650.                     </div>
  651.                 </div>
  652.             </div>
  653.         ";
  654.         }
  655.         // line 239
  656.         echo "    </div>
  657. ";
  658.         
  659.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  660.         
  661.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  662.     }
  663.     public function getTemplateName()
  664.     {
  665.         return "Cart/index.twig";
  666.     }
  667.     public function isTraitable()
  668.     {
  669.         return false;
  670.     }
  671.     public function getDebugInfo()
  672.     {
  673.         return array (  672 => 239,  663 => 233,  659 => 232,  653 => 228,  647 => 227,  636 => 222,  631 => 220,  627 => 218,  622 => 217,  619 => 216,  614 => 215,  610 => 213,  595 => 211,  587 => 209,  585 => 208,  579 => 207,  572 => 205,  568 => 203,  565 => 202,  559 => 200,  553 => 198,  551 => 197,  548 => 196,  545 => 195,  539 => 193,  533 => 191,  531 => 190,  528 => 189,  525 => 188,  519 => 186,  513 => 184,  511 => 183,  508 => 182,  506 => 181,  501 => 178,  491 => 174,  483 => 169,  476 => 168,  470 => 165,  467 => 164,  461 => 161,  454 => 160,  452 => 159,  446 => 157,  442 => 156,  434 => 152,  430 => 151,  427 => 150,  419 => 148,  416 => 147,  408 => 145,  406 => 144,  400 => 143,  390 => 138,  386 => 137,  378 => 132,  372 => 131,  368 => 129,  365 => 128,  362 => 127,  358 => 126,  353 => 124,  349 => 123,  345 => 122,  341 => 121,  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,);
  674.     }
  675.     public function getSourceContext()
  676.     {
  677.         return new Source("{#
  678. This file is part of EC-CUBE
  679. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  680. http://www.ec-cube.co.jp/
  681. For the full copyright and license information, please view the LICENSE
  682. file that was distributed with this source code.
  683. #}
  684. {% extends 'default_frame.twig' %}
  685. {% set body_class = 'cart_page' %}
  686. {% block main %}
  687.     <div class=\"ec-role\">
  688.         <div class=\"ec-pageHeader\">
  689.             <h1>{{ 'front.cart.title'|trans }}</h1>
  690.         </div>
  691.     </div>
  692.     <div class=\"ec-cartRole\">
  693.         <div class=\"ec-cartRole__progress\">
  694.             <ul class=\"ec-progress\">
  695.                 {% set step = 1 %}
  696.                 <li class=\"ec-progress__item is-complete\">
  697.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  698.                     </div>
  699.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__cart_items'|trans }}
  700.                     </div>
  701.                 </li>
  702.                 {% if is_granted('ROLE_USER') == false %}
  703.                     <li class=\"ec-progress__item\">
  704.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  705.                         </div>
  706.                         <div class=\"ec-progress__label\">{{ 'front.cart.nav__customer_info'|trans }}
  707.                         </div>
  708.                     </li>
  709.                 {% endif %}
  710.                 <li class=\"ec-progress__item\">
  711.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  712.                     </div>
  713.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__order'|trans }}
  714.                     </div>
  715.                 </li>
  716.                 <li class=\"ec-progress__item\">
  717.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  718.                     </div>
  719.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__confirm'|trans }}
  720.                     </div>
  721.                 </li>
  722.                 <li class=\"ec-progress__item\">
  723.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  724.                     </div>
  725.                     <div class=\"ec-progress__label\">{{ 'front.cart.nav__complete'|trans }}
  726.                     </div>
  727.                 </li>
  728.             </ul>
  729.         </div>
  730.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  731.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  732.             {% set idx = loop.index0 %}
  733.             <div class=\"ec-cartRole__error\">
  734.                 <div class=\"ec-alert-warning\">
  735.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  736.                     <div class=\"ec-alert-warning__text\">
  737.                         {% if productStr[idx] is defined %}
  738.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  739.                         {% else %}
  740.                             {{ error|trans|nl2br }}
  741.                         {% endif %}
  742.                     </div>
  743.                 </div>
  744.             </div>
  745.         {% endfor %}
  746.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  747.             <div class=\"ec-cartRole__error\">
  748.                 <div class=\"ec-alert-warning\">
  749.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  750.                     <div class=\"ec-alert-warning__text\">
  751.                         {{ error|trans|nl2br }}
  752.                     </div>
  753.                 </div>
  754.             </div>
  755.         {% endfor %}
  756.         {% if totalQuantity > 0 %}
  757.             <div class=\"ec-cartRole__totalText\">
  758.                 <p>
  759.                     {{ 'front.cart.total_price'|trans({ '%price%': totalPrice|price })|raw }}
  760.                 </p>
  761.             </div>
  762.             {% if Carts|length > 1 %}
  763.                 <div class=\"ec-cartRole__error\">
  764.                     <div class=\"ec-alert-warning\">
  765.                         <div class=\"ec-alert-warning__text\">
  766.                             {{ 'front.cart.divide_cart'|trans|nl2br }}
  767.                         </div>
  768.                     </div>
  769.                 </div>
  770.             {% endif %}
  771.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  772.                 {% for CartIndex,Cart in Carts %}
  773.                     {% set cartKey = Cart.cart_key %}
  774.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  775.                         <div class=\"ec-cartRole__error\">
  776.                             <div class=\"ec-alert-warning\">
  777.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  778.                                 <div class=\"ec-alert-warning__text\">
  779.                                     {{ error|trans|nl2br }}
  780.                                 </div>
  781.                             </div>
  782.                         </div>
  783.                     {% endfor %}
  784.                     <div class=\"ec-cartRole__cart\">
  785.                         <div class=\"ec-cartTable\">
  786.                             <ol class=\"ec-cartHeader\">
  787.                                 <li class=\"ec-cartHeader__label\">{{ 'front.cart.delete'|trans }}</li>
  788.                                 <li class=\"ec-cartHeader__label\">{{ 'front.cart.product'|trans }}</li>
  789.                                 <li class=\"ec-cartHeader__label\">{{ 'common.quantity'|trans }}</li>
  790.                                 <li class=\"ec-cartHeader__label\">{{ 'common.subtotal'|trans }}</li>
  791.                             </ol>
  792.                             {% for CartItem in Cart.CartItems %}
  793.                                 {% set ProductClass = CartItem.ProductClass %}
  794.                                 {% set Product = ProductClass.Product %}
  795.                                 <ul class=\"ec-cartRow\">
  796.                                     <li class=\"ec-cartRow__delColumn\">
  797.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  798.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  799.                                         </a>
  800.                                     </li>
  801.                                     <li class=\"ec-cartRow__contentColumn\">
  802.                                         <div class=\"ec-cartRow__img\">
  803.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  804.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  805.                                             </a>
  806.                                         </div>
  807.                                         <div class=\"ec-cartRow__summary\">
  808.                                             <div class=\"ec-cartRow__name\">
  809.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  810.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  811.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  812.                                                 {% endif %}
  813.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  814.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  815.                                                 {% endif %}
  816.                                             </div>
  817.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  818.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ 'common.subtotal__with_separator'|trans }}{{ CartItem.total_price|price }}</div>
  819.                                         </div>
  820.                                     </li>
  821.                                     <li class=\"ec-cartRow__amountColumn\">
  822.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  823.                                         <div class=\"ec-cartRow__amountSP\">{{ 'common.quantity__with_separator'|trans }}{{ CartItem.quantity|number_format }}</div>
  824.                                         <div class=\"ec-cartRow__amountUpDown\">
  825.                                             {% if CartItem.quantity > 1 %}
  826.                                                 <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\">
  827.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  828.                                                 </a>
  829.                                             {% else %}
  830.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  831.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  832.                                                 </div>
  833.                                             {% endif %}
  834.                                             <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\">
  835.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  836.                                             </a>
  837.                                         </div>
  838.                                     </li>
  839.                                     <li class=\"ec-cartRow__subtotalColumn\">
  840.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  841.                                     </li>
  842.                                 </ul>
  843.                             {% endfor %}
  844.                         </div>
  845.                     </div>
  846.                     <div class=\"ec-cartRole__progress\">
  847.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  848.                             <br/>
  849.                             {% if is_delivery_free[cartKey] %}
  850.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  851.                             {% else %}
  852.                                 {{ 'front.cart.delivery_fee_free__price_and_quantity'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  853.                             {% endif %}
  854.                         {% elseif BaseInfo.delivery_free_amount %}
  855.                             <br/>
  856.                             {% if is_delivery_free[cartKey] %}
  857.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  858.                             {% else %}
  859.                                 {{ 'front.cart.delivery_fee_free__price'|trans({ '%price%': least[cartKey]|price })|raw }}
  860.                             {% endif %}
  861.                         {% elseif BaseInfo.delivery_free_quantity %}
  862.                             <br/>
  863.                             {% if is_delivery_free[cartKey] %}
  864.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  865.                             {% else %}
  866.                                 {{ 'front.cart.delivery_fee_free__quantity'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  867.                             {% endif %}
  868.                         {% endif %}
  869.                     </div>
  870.                     <div class=\"ec-cartRole__actions\">
  871.                         <div class=\"ec-cartRole__total\">{{ 'common.total__with_separator'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  872.                         </div>
  873.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'front.cart.checkout'|trans }}</a>
  874.                         {% if loop.last %}
  875.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'front.cart.continue'|trans }}</a>
  876.                         {% endif %}
  877.                     </div>
  878.                 {% endfor %}
  879.             </form>
  880.         {% else %}
  881.             {% for CartIndex,Cart in Carts %}
  882.                 {% set cartKey = Cart.cart_key %}
  883.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  884.                     <div class=\"ec-cartRole__error\">
  885.                         <div class=\"ec-alert-warning\">
  886.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  887.                             <div class=\"ec-alert-warning__text\">
  888.                                 {{ error|trans|nl2br }}
  889.                             </div>
  890.                         </div>
  891.                     </div>
  892.                 {% endfor %}
  893.             {% endfor %}
  894.             <div class=\"ec-role\">
  895.                 <div class=\"ec-off3Grid\">
  896.                     <div class=\"ec-off3Grid__cell\">
  897.                         <div class=\"ec-alert-warning\">
  898.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  899.                             <div class=\"ec-alert-warning__text\">{{ 'front.cart.no_items'|trans }}</div>
  900.                         </div>
  901.                     </div>
  902.                 </div>
  903.             </div>
  904.         {% endif %}
  905.     </div>
  906. {% endblock %}
  907. ""Cart/index.twig""/home/glowd/www/glowd.co.jp/optilink/ec-cube/src/Eccube/Resource/template/default/Cart/index.twig");
  908.     }
  909.     
  910.     public function checkSecurity()
  911.     {
  912.         static $tags = array("set" => 13"if" => 33"for" => 62);
  913.         static $filters = array("escape" => 19"trans" => 19"nl2br" => 69"raw" => 90"price" => 90"length" => 93"no_image_product" => 138"number_format" => 156);
  914.         static $functions = array("is_granted" => 33"asset" => 66"url" => 103"csrf_token_for_anchor" => 131"path" => 207);
  915.         try {
  916.             $this->sandbox->checkSecurity(
  917.                 ['set''if''for'],
  918.                 ['escape''trans''nl2br''raw''price''length''no_image_product''number_format'],
  919.                 ['is_granted''asset''url''csrf_token_for_anchor''path'],
  920.                 $this->source
  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. }