var/cache/dev/twig/4c/4ce9204e9bc8fe7449c1f3ce4c7ab9ac997510e7204630e4bf00ed78e682377b.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. /* Cart/index.twig */
  14. class __TwigTemplate_610d05fc745cc60961c3c309b9e2226036c06508850297c873747b824b898793 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 15
  49.     public function block_main($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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.             ";
  248.             // line 92
  249.             if (((twig_date_format_filter($this->env"now""H") > 11) && (twig_date_format_filter($this->env"now""H") < 19))) {
  250.                 // line 93
  251.                 echo "            ";
  252.             } else {
  253.                 // line 94
  254.                 echo "                <p style=\"margin-top:20px;\">ご注文の受付は<span style=\"font-weight:bold;color:#ff0000;\">11時から19時まで</span>となっており、19時以降の注文の受付はできかねます。<br>
  255.                 翌11時より改めてご注文手続きをしていただきますようよろしくお願いいたします。</p>
  256.             ";
  257.             }
  258.             // line 97
  259.             echo "            </div>
  260.             ";
  261.             // line 98
  262.             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.'98$this->source); })())) > 1)) {
  263.                 // line 99
  264.                 echo "                <div class=\"ec-cartRole__error\">
  265.                     <div class=\"ec-alert-warning\">
  266.                         <div class=\"ec-alert-warning__text\">
  267.                             ";
  268.                 // line 102
  269.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同時購入できない商品がカートに含まれています。"), "html"nulltrue));
  270.                 echo "
  271.                         </div>
  272.                     </div>
  273.                 </div>
  274.             ";
  275.             }
  276.             // line 107
  277.             echo "
  278.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  279.             // line 108
  280.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  281.             echo "\">
  282.                 ";
  283.             // line 110
  284.             $context['_parent'] = $context;
  285.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'110$this->source); })()));
  286.             $context['loop'] = [
  287.               'parent' => $context['_parent'],
  288.               'index0' => 0,
  289.               'index'  => 1,
  290.               'first'  => true,
  291.             ];
  292.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  293.                 $length count($context['_seq']);
  294.                 $context['loop']['revindex0'] = $length 1;
  295.                 $context['loop']['revindex'] = $length;
  296.                 $context['loop']['length'] = $length;
  297.                 $context['loop']['last'] = === $length;
  298.             }
  299.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  300.                 // line 111
  301.                 echo "                    ";
  302.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse111);
  303.                 // line 112
  304.                 echo "                    ";
  305.                 $context['_parent'] = $context;
  306.                 $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.'112$this->source); })()), "session", [], "any"falsefalsefalse112), "flashbag", [], "any"falsefalsefalse112), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'112$this->source); })())) . ".request.error")], "method"falsefalsefalse112));
  307.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  308.                     // line 113
  309.                     echo "                        <div class=\"ec-cartRole__error\">
  310.                             <div class=\"ec-alert-warning\">
  311.                                 <div class=\"ec-alert-warning__icon\"><img src=\"";
  312.                     // line 115
  313.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  314.                     echo "\"></div>
  315.                                 <div class=\"ec-alert-warning__text\">
  316.                                     ";
  317.                     // line 117
  318.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  319.                     echo "
  320.                                 </div>
  321.                             </div>
  322.                         </div>
  323.                     ";
  324.                 }
  325.                 $_parent $context['_parent'];
  326.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  327.                 $context array_intersect_key($context$_parent) + $_parent;
  328.                 // line 122
  329.                 echo "
  330.                     <div class=\"ec-cartRole__cart\">
  331.                         <div class=\"ec-cartTable\">
  332.                             <ol class=\"ec-cartHeader\">
  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.                                 <li class=\"ec-cartHeader__label\">";
  342.                 // line 128
  343.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html"nulltrue);
  344.                 echo "</li>
  345.                                 <li class=\"ec-cartHeader__label\">";
  346.                 // line 129
  347.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計"), "html"nulltrue);
  348.                 echo "</li>
  349.                             </ol>
  350.                             ";
  351.                 // line 131
  352.                 $context['_parent'] = $context;
  353.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsefalse131));
  354.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  355.                     // line 132
  356.                     echo "                                ";
  357.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsefalse132);
  358.                     // line 133
  359.                     echo "                                ";
  360.                     $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.'133$this->source); })()), "Product", [], "any"falsefalsefalse133);
  361.                     // line 134
  362.                     echo "                                <ul class=\"ec-cartRow\">
  363.                                     <li class=\"ec-cartRow__delColumn\">
  364.                                         <a href=\"";
  365.                     // line 136
  366.                     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.'136$this->source); })()), "id", [], "any"falsefalsefalse136)]), "html"nulltrue);
  367.                     echo "\" ";
  368.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  369.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  370.                                             <img src=\"";
  371.                     // line 137
  372.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  373.                     echo "\" alt=\"delete\">
  374.                                         </a>
  375.                                     </li>
  376.                                     <li class=\"ec-cartRow__contentColumn\">
  377.                                         <div class=\"ec-cartRow__img\">
  378.                                             <a target=\"_blank\" href=\"";
  379.                     // line 142
  380.                     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.'142$this->source); })()), "id", [], "any"falsefalsefalse142)]), "html"nulltrue);
  381.                     echo "\">
  382.                                                 <img src=\"";
  383.                     // line 143
  384.                     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.'143$this->source); })()), "MainListImage", [], "any"falsefalsefalse143)), "save_image"), "html"nulltrue);
  385.                     echo "\" alt=\"";
  386.                     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);
  387.                     echo "\"/>
  388.                                             </a>
  389.                                         </div>
  390.                                         <div class=\"ec-cartRow__summary\">
  391.                                             <div class=\"ec-cartRow__name\">
  392.                                                 <a target=\"_blank\" href=\"";
  393.                     // line 148
  394.                     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.'148$this->source); })()), "id", [], "any"falsefalsefalse148)]), "html"nulltrue);
  395.                     echo "\">";
  396.                     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.'148$this->source); })()), "name", [], "any"falsefalsefalse148), "html"nulltrue);
  397.                     echo "</a>
  398.                                                 ";
  399.                     // line 149
  400.                     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.'149$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse149) && 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.'149$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse149), "id", [], "any"falsefalsefalse149))) {
  401.                         // line 150
  402.                         echo "                                                    <br>";
  403.                         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.'150$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse150), "ClassName", [], "any"falsefalsefalse150), "name", [], "any"falsefalsefalse150), "html"nulltrue);
  404.                         echo ":";
  405.                         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.'150$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse150), "html"nulltrue);
  406.                         echo "
  407.                                                 ";
  408.                     }
  409.                     // line 152
  410.                     echo "                                                ";
  411.                     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.'152$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse152) && 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.'152$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse152), "id", [], "any"falsefalsefalse152))) {
  412.                         // line 153
  413.                         echo "                                                    <br>";
  414.                         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.'153$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse153), "ClassName", [], "any"falsefalsefalse153), "name", [], "any"falsefalsefalse153), "html"nulltrue);
  415.                         echo ":";
  416.                         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.'153$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse153), "html"nulltrue);
  417.                         echo "
  418.                                                 ";
  419.                     }
  420.                     // line 155
  421.                     echo "                                            </div>
  422.                                             <div class=\"ec-cartRow__unitPrice\">";
  423.                     // line 156
  424.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsefalse156)), "html"nulltrue);
  425.                     echo "</div>
  426.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  427.                     // line 157
  428.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計:"), "html"nulltrue);
  429.                     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"falsefalsefalse157)), "html"nulltrue);
  430.                     echo "</div>
  431.                                         </div>
  432.                                     </li>
  433.                                     <li class=\"ec-cartRow__amountColumn\">
  434.                                         <div class=\"ec-cartRow__amount\">";
  435.                     // line 161
  436.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse161)), "html"nulltrue);
  437.                     echo "</div>
  438.                                         <div class=\"ec-cartRow__amountSP\">";
  439.                     // line 162
  440.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量:"), "html"nulltrue);
  441.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse162)), "html"nulltrue);
  442.                     echo "</div>
  443.                                         <div class=\"ec-cartRow__amountUpDown\">
  444.                                             ";
  445.                     // line 164
  446.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse164) > 1)) {
  447.                         // line 165
  448.                         echo "                                                <a href=\"";
  449.                         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.'165$this->source); })()), "id", [], "any"falsefalsefalse165)]), "html"nulltrue);
  450.                         echo "\" ";
  451.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  452.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  453.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  454.                         // line 166
  455.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  456.                         echo "\" alt=\"reduce\"></span>
  457.                                                 </a>
  458.                                             ";
  459.                     } else {
  460.                         // line 169
  461.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  462.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  463.                         // line 170
  464.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  465.                         echo "\" alt=\"reduce\"></span>
  466.                                                 </div>
  467.                                             ";
  468.                     }
  469.                     // line 173
  470.                     echo "                                            <a href=\"";
  471.                     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.'173$this->source); })()), "id", [], "any"falsefalsefalse173)]), "html"nulltrue);
  472.                     echo "\" ";
  473.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  474.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  475.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  476.                     // line 174
  477.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  478.                     echo "\" alt=\"increase\"></span>
  479.                                             </a>
  480.                                         </div>
  481.                                     </li>
  482.                                     <li class=\"ec-cartRow__subtotalColumn\">
  483.                                         <div class=\"ec-cartRow__sutbtotal\">";
  484.                     // line 179
  485.                     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"falsefalsefalse179)), "html"nulltrue);
  486.                     echo "</div>
  487.                                     </li>
  488.                                 </ul>
  489.                             ";
  490.                 }
  491.                 $_parent $context['_parent'];
  492.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  493.                 $context array_intersect_key($context$_parent) + $_parent;
  494.                 // line 183
  495.                 echo "                        </div>
  496.                     </div>
  497.                     <div class=\"ec-cartRole__progress\">
  498.                         ";
  499.                 // line 186
  500.                 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.'186$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse186) && 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.'186$this->source); })()), "delivery_free_quantity", [], "any"falsefalsefalse186))) {
  501.                     // line 187
  502.                     echo "                            <br/>
  503.                             ";
  504.                     // line 188
  505.                     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.'188$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'188$this->source); })()), [], "array"falsefalsefalse188)) {
  506.                         // line 189
  507.                         echo "                                ";
  508.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  509.                         echo "
  510.                             ";
  511.                     } else {
  512.                         // line 191
  513.                         echo "                                ";
  514.                         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.'191$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'191$this->source); })()), [], "array"falsefalsefalse191)), "%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.'191$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'191$this->source); })()), [], "array"falsefalsefalse191))]);
  515.                         echo "
  516.                             ";
  517.                     }
  518.                     // line 193
  519.                     echo "                        ";
  520.                 } 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.'193$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse193)) {
  521.                     // line 194
  522.                     echo "                            <br/>
  523.                             ";
  524.                     // line 195
  525.                     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.'195$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'195$this->source); })()), [], "array"falsefalsefalse195)) {
  526.                         // line 196
  527.                         echo "                                ";
  528.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  529.                         echo "
  530.                             ";
  531.                     } else {
  532.                         // line 198
  533.                         echo "                                ";
  534.                         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.'198$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'198$this->source); })()), [], "array"falsefalsefalse198))]);
  535.                         echo "
  536.                             ";
  537.                     }
  538.                     // line 200
  539.                     echo "                        ";
  540.                 } 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.'200$this->source); })()), "delivery_free_quantity", [], "any"falsefalsefalse200)) {
  541.                     // line 201
  542.                     echo "                            <br/>
  543.                             ";
  544.                     // line 202
  545.                     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.'202$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'202$this->source); })()), [], "array"falsefalsefalse202)) {
  546.                         // line 203
  547.                         echo "                                ";
  548.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  549.                         echo "
  550.                             ";
  551.                     } else {
  552.                         // line 205
  553.                         echo "                                ";
  554.                         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.'205$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'205$this->source); })()), [], "array"falsefalsefalse205))]);
  555.                         echo "
  556.                             ";
  557.                     }
  558.                     // line 207
  559.                     echo "                        ";
  560.                 }
  561.                 // line 208
  562.                 echo "                    </div>
  563.                     <div class=\"ec-cartRole__actions\">
  564.                         <div class=\"ec-cartRole__total\">";
  565.                 // line 210
  566.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計:"), "html"nulltrue);
  567.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  568.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsefalse210)), "html"nulltrue);
  569.                 echo "</span>
  570.                         </div>
  571.                         
  572.                         <a class=\"ec-blockBtn--action\" href=\"";
  573.                 // line 213
  574.                 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.'213$this->source); })())]), "html"nulltrue);
  575.                 echo "\">";
  576.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("レジに進む"), "html"nulltrue);
  577.                 echo "</a>
  578.                         ";
  579.                 // line 214
  580.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse214)) {
  581.                     // line 215
  582.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  583.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  584.                     echo "\">";
  585.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  586.                     echo "</a>
  587.                         ";
  588.                 }
  589.                 // line 217
  590.                 echo "                    </div>
  591.                 ";
  592.                 ++$context['loop']['index0'];
  593.                 ++$context['loop']['index'];
  594.                 $context['loop']['first'] = false;
  595.                 if (isset($context['loop']['length'])) {
  596.                     --$context['loop']['revindex0'];
  597.                     --$context['loop']['revindex'];
  598.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  599.                 }
  600.             }
  601.             $_parent $context['_parent'];
  602.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  603.             $context array_intersect_key($context$_parent) + $_parent;
  604.             // line 219
  605.             echo "            </form>
  606.         ";
  607.         } else {
  608.             // line 221
  609.             echo "            ";
  610.             $context['_parent'] = $context;
  611.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'221$this->source); })()));
  612.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  613.                 // line 222
  614.                 echo "                ";
  615.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse222);
  616.                 // line 223
  617.                 echo "                ";
  618.                 $context['_parent'] = $context;
  619.                 $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.'223$this->source); })()), "session", [], "any"falsefalsefalse223), "flashbag", [], "any"falsefalsefalse223), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'223$this->source); })())) . ".request.error")], "method"falsefalsefalse223));
  620.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  621.                     // line 224
  622.                     echo "                    <div class=\"ec-cartRole__error\">
  623.                         <div class=\"ec-alert-warning\">
  624.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  625.                     // line 226
  626.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  627.                     echo "\"></div>
  628.                             <div class=\"ec-alert-warning__text\">
  629.                                 ";
  630.                     // line 228
  631.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  632.                     echo "
  633.                             </div>
  634.                         </div>
  635.                     </div>
  636.                 ";
  637.                 }
  638.                 $_parent $context['_parent'];
  639.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  640.                 $context array_intersect_key($context$_parent) + $_parent;
  641.                 // line 233
  642.                 echo "            ";
  643.             }
  644.             $_parent $context['_parent'];
  645.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  646.             $context array_intersect_key($context$_parent) + $_parent;
  647.             // line 234
  648.             echo "            <div class=\"ec-role\">
  649.                 <div class=\"ec-off3Grid\">
  650.                     <div class=\"ec-off3Grid__cell\">
  651.                         <div class=\"ec-alert-warning\">
  652.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  653.             // line 238
  654.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  655.             echo "\"></div>
  656.                             <div class=\"ec-alert-warning__text\">";
  657.             // line 239
  658.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在カート内に商品はございません。"), "html"nulltrue);
  659.             echo "</div>
  660.                         </div>
  661.                     </div>
  662.                 </div>
  663.             </div>
  664.         ";
  665.         }
  666.         // line 245
  667.         echo "    </div>
  668. ";
  669.         
  670.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  671.         
  672.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  673.     }
  674.     public function getTemplateName()
  675.     {
  676.         return "Cart/index.twig";
  677.     }
  678.     public function isTraitable()
  679.     {
  680.         return false;
  681.     }
  682.     public function getDebugInfo()
  683.     {
  684.         return array (  683 => 245,  674 => 239,  670 => 238,  664 => 234,  658 => 233,  647 => 228,  642 => 226,  638 => 224,  633 => 223,  630 => 222,  625 => 221,  621 => 219,  606 => 217,  598 => 215,  596 => 214,  590 => 213,  582 => 210,  578 => 208,  575 => 207,  569 => 205,  563 => 203,  561 => 202,  558 => 201,  555 => 200,  549 => 198,  543 => 196,  541 => 195,  538 => 194,  535 => 193,  529 => 191,  523 => 189,  521 => 188,  518 => 187,  516 => 186,  511 => 183,  501 => 179,  493 => 174,  486 => 173,  480 => 170,  477 => 169,  471 => 166,  464 => 165,  462 => 164,  456 => 162,  452 => 161,  444 => 157,  440 => 156,  437 => 155,  429 => 153,  426 => 152,  418 => 150,  416 => 149,  410 => 148,  400 => 143,  396 => 142,  388 => 137,  382 => 136,  378 => 134,  375 => 133,  372 => 132,  368 => 131,  363 => 129,  359 => 128,  355 => 127,  351 => 126,  345 => 122,  334 => 117,  329 => 115,  325 => 113,  320 => 112,  317 => 111,  300 => 110,  295 => 108,  292 => 107,  284 => 102,  279 => 99,  277 => 98,  274 => 97,  269 => 94,  266 => 93,  264 => 92,  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,);
  685.     }
  686.     public function getSourceContext()
  687.     {
  688.         return new Source("{#
  689. This file is part of EC-CUBE
  690. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  691. http://www.ec-cube.co.jp/
  692. For the full copyright and license information, please view the LICENSE
  693. file that was distributed with this source code.
  694. #}
  695. {% extends 'default_frame.twig' %}
  696. {% set body_class = 'cart_page' %}
  697. {% block main %}
  698.     <div class=\"ec-role\">
  699.         <div class=\"ec-pageHeader\">
  700.             <h1>{{ 'ショッピングカート'|trans }}</h1>
  701.         </div>
  702.     </div>
  703.     <div class=\"ec-cartRole\">
  704.         <div class=\"ec-cartRole__progress\">
  705.             <ul class=\"ec-progress\">
  706.                 {% set step = 1 %}
  707.                 <li class=\"ec-progress__item is-complete\">
  708.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  709.                     </div>
  710.                     <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}
  711.                     </div>
  712.                 </li>
  713.                 {% if is_granted('ROLE_USER') == false %}
  714.                     <li class=\"ec-progress__item\">
  715.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  716.                         </div>
  717.                         <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}
  718.                         </div>
  719.                     </li>
  720.                 {% endif %}
  721.                 <li class=\"ec-progress__item\">
  722.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  723.                     </div>
  724.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}
  725.                     </div>
  726.                 </li>
  727.                 <li class=\"ec-progress__item\">
  728.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  729.                     </div>
  730.                     <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}
  731.                     </div>
  732.                 </li>
  733.                 <li class=\"ec-progress__item\">
  734.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  735.                     </div>
  736.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}
  737.                     </div>
  738.                 </li>
  739.             </ul>
  740.         </div>
  741.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  742.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  743.             {% set idx = loop.index0 %}
  744.             <div class=\"ec-cartRole__error\">
  745.                 <div class=\"ec-alert-warning\">
  746.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  747.                     <div class=\"ec-alert-warning__text\">
  748.                         {% if productStr[idx] is defined %}
  749.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  750.                         {% else %}
  751.                             {{ error|trans|nl2br }}
  752.                         {% endif %}
  753.                     </div>
  754.                 </div>
  755.             </div>
  756.         {% endfor %}
  757.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  758.             <div class=\"ec-cartRole__error\">
  759.                 <div class=\"ec-alert-warning\">
  760.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  761.                     <div class=\"ec-alert-warning__text\">
  762.                         {{ error|trans|nl2br }}
  763.                     </div>
  764.                 </div>
  765.             </div>
  766.         {% endfor %}
  767.         {% if totalQuantity > 0 %}
  768.             <div class=\"ec-cartRole__totalText\">
  769.                 <p>
  770.                     {{ '商品の合計金額は「<strong>%price%</strong>」です。'|trans({ '%price%': totalPrice|price })|raw }}
  771.                 </p>
  772.             {% if \"now\"|date(\"H\") > 11 and \"now\"|date(\"H\") < 19 %}
  773.             {% else %}
  774.                 <p style=\"margin-top:20px;\">ご注文の受付は<span style=\"font-weight:bold;color:#ff0000;\">11時から19時まで</span>となっており、19時以降の注文の受付はできかねます。<br>
  775.                 翌11時より改めてご注文手続きをしていただきますようよろしくお願いいたします。</p>
  776.             {% endif %}
  777.             </div>
  778.             {% if Carts|length > 1 %}
  779.                 <div class=\"ec-cartRole__error\">
  780.                     <div class=\"ec-alert-warning\">
  781.                         <div class=\"ec-alert-warning__text\">
  782.                             {{ '同時購入できない商品がカートに含まれています。'|trans|nl2br }}
  783.                         </div>
  784.                     </div>
  785.                 </div>
  786.             {% endif %}
  787.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  788.                 {% for CartIndex,Cart in Carts %}
  789.                     {% set cartKey = Cart.cart_key %}
  790.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  791.                         <div class=\"ec-cartRole__error\">
  792.                             <div class=\"ec-alert-warning\">
  793.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  794.                                 <div class=\"ec-alert-warning__text\">
  795.                                     {{ error|trans|nl2br }}
  796.                                 </div>
  797.                             </div>
  798.                         </div>
  799.                     {% endfor %}
  800.                     <div class=\"ec-cartRole__cart\">
  801.                         <div class=\"ec-cartTable\">
  802.                             <ol class=\"ec-cartHeader\">
  803.                                 <li class=\"ec-cartHeader__label\">{{ '削除'|trans }}</li>
  804.                                 <li class=\"ec-cartHeader__label\">{{ '商品内容'|trans }}</li>
  805.                                 <li class=\"ec-cartHeader__label\">{{ '数量'|trans }}</li>
  806.                                 <li class=\"ec-cartHeader__label\">{{ '小計'|trans }}</li>
  807.                             </ol>
  808.                             {% for CartItem in Cart.CartItems %}
  809.                                 {% set ProductClass = CartItem.ProductClass %}
  810.                                 {% set Product = ProductClass.Product %}
  811.                                 <ul class=\"ec-cartRow\">
  812.                                     <li class=\"ec-cartRow__delColumn\">
  813.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  814.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  815.                                         </a>
  816.                                     </li>
  817.                                     <li class=\"ec-cartRow__contentColumn\">
  818.                                         <div class=\"ec-cartRow__img\">
  819.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  820.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  821.                                             </a>
  822.                                         </div>
  823.                                         <div class=\"ec-cartRow__summary\">
  824.                                             <div class=\"ec-cartRow__name\">
  825.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  826.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  827.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  828.                                                 {% endif %}
  829.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  830.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  831.                                                 {% endif %}
  832.                                             </div>
  833.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  834.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ '小計:'|trans }}{{ CartItem.total_price|price }}</div>
  835.                                         </div>
  836.                                     </li>
  837.                                     <li class=\"ec-cartRow__amountColumn\">
  838.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  839.                                         <div class=\"ec-cartRow__amountSP\">{{ '数量:'|trans }}{{ CartItem.quantity|number_format }}</div>
  840.                                         <div class=\"ec-cartRow__amountUpDown\">
  841.                                             {% if CartItem.quantity > 1 %}
  842.                                                 <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\">
  843.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  844.                                                 </a>
  845.                                             {% else %}
  846.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  847.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  848.                                                 </div>
  849.                                             {% endif %}
  850.                                             <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\">
  851.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  852.                                             </a>
  853.                                         </div>
  854.                                     </li>
  855.                                     <li class=\"ec-cartRow__subtotalColumn\">
  856.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  857.                                     </li>
  858.                                 </ul>
  859.                             {% endfor %}
  860.                         </div>
  861.                     </div>
  862.                     <div class=\"ec-cartRole__progress\">
  863.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  864.                             <br/>
  865.                             {% if is_delivery_free[cartKey] %}
  866.                                 {{ '現在送料無料です。'|trans }}
  867.                             {% else %}
  868.                                 {{ 'あと「<strong>%price%</strong>」または「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  869.                             {% endif %}
  870.                         {% elseif BaseInfo.delivery_free_amount %}
  871.                             <br/>
  872.                             {% if is_delivery_free[cartKey] %}
  873.                                 {{ '現在送料無料です。'|trans }}
  874.                             {% else %}
  875.                                 {{ 'あと「<strong>%price%</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price })|raw }}
  876.                             {% endif %}
  877.                         {% elseif BaseInfo.delivery_free_quantity %}
  878.                             <br/>
  879.                             {% if is_delivery_free[cartKey] %}
  880.                                 {{ '現在送料無料です。'|trans }}
  881.                             {% else %}
  882.                                 {{ 'あと「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  883.                             {% endif %}
  884.                         {% endif %}
  885.                     </div>
  886.                     <div class=\"ec-cartRole__actions\">
  887.                         <div class=\"ec-cartRole__total\">{{ '合計:'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  888.                         </div>
  889.                         
  890.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'レジに進む'|trans }}</a>
  891.                         {% if loop.last %}
  892.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'お買い物を続ける'|trans }}</a>
  893.                         {% endif %}
  894.                     </div>
  895.                 {% endfor %}
  896.             </form>
  897.         {% else %}
  898.             {% for CartIndex,Cart in Carts %}
  899.                 {% set cartKey = Cart.cart_key %}
  900.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  901.                     <div class=\"ec-cartRole__error\">
  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\">
  905.                                 {{ error|trans|nl2br }}
  906.                             </div>
  907.                         </div>
  908.                     </div>
  909.                 {% endfor %}
  910.             {% endfor %}
  911.             <div class=\"ec-role\">
  912.                 <div class=\"ec-off3Grid\">
  913.                     <div class=\"ec-off3Grid__cell\">
  914.                         <div class=\"ec-alert-warning\">
  915.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  916.                             <div class=\"ec-alert-warning__text\">{{ '現在カート内に商品はございません。'|trans }}</div>
  917.                         </div>
  918.                     </div>
  919.                 </div>
  920.             </div>
  921.         {% endif %}
  922.     </div>
  923. {% endblock %}""Cart/index.twig""/home/wai2cojp/sysdemo.pro/public_html/kinpara.sysdemo.pro/shop/app/template/default/Cart/index.twig");
  924.     }
  925. }