var/cache/dev/twig/70/70ead86aee6997318a72f0db4f1b874c.php line 38

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