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