var/cache/dev/twig/f1/f1d689cb97b5fe53bb153c06e77e8609.php line 51

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