var/cache/dev/twig/30/3041fca05a2e91957307c3a710ce4a45f588e5733b29f67c8b3d20a9f523819c.php line 51

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Cart/index.twig */
  14. class __TwigTemplate_0d68db96d67d176d04bad54f538ffb7cd916281c19ecd04b1636bfddee66eef8 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("CART"), "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.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  343.                     // line 127
  344.                     echo "                                ";
  345.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsefalse127);
  346.                     // line 128
  347.                     echo "                                ";
  348.                     $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);
  349.                     // line 129
  350.                     echo "                                <ul class=\"ec-cartRow\">
  351.                                     <li class=\"ec-cartRow__delColumn\">
  352.                                         <a href=\"";
  353.                     // line 131
  354.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "remove""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'131$this->source); })()), "id", [], "any"falsefalsefalse131)]), "html"nulltrue);
  355.                     echo "\" ";
  356.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  357.                     echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  358.                                             <img src=\"";
  359.                     // line 132
  360.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  361.                     echo "\" alt=\"delete\">
  362.                                         </a>
  363.                                     </li>
  364.                                     <li class=\"ec-cartRow__contentColumn\">
  365.                                         <div class=\"ec-cartRow__img\">
  366.                                             <a target=\"_blank\" href=\"";
  367.                     // line 137
  368.                     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);
  369.                     echo "\">
  370.                                                 <img src=\"";
  371.                     // line 138
  372.                     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);
  373.                     echo "\" alt=\"";
  374.                     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);
  375.                     echo "\"/>
  376.                                             </a>
  377.                                         </div>
  378.                                         <div class=\"ec-cartRow__summary\">
  379.                                             <div class=\"ec-cartRow__name\">
  380.                                                 <a target=\"_blank\" href=\"";
  381.                     // line 143
  382.                     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);
  383.                     echo "\">";
  384.                     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);
  385.                     echo "</a>
  386.                                                 ";
  387.                     // line 144
  388.                     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))) {
  389.                         // line 145
  390.                         echo "                                                    <br>";
  391.                         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);
  392.                         echo ":";
  393.                         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);
  394.                         echo "
  395.                                                 ";
  396.                     }
  397.                     // line 147
  398.                     echo "                                                ";
  399.                     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))) {
  400.                         // line 148
  401.                         echo "                                                    <br>";
  402.                         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);
  403.                         echo ":";
  404.                         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);
  405.                         echo "
  406.                                                 ";
  407.                     }
  408.                     // line 150
  409.                     echo "                                            </div>
  410.                                             <div class=\"ec-cartRow__unitPrice\">";
  411.                     // line 151
  412.                     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);
  413.                     echo "</div>
  414.                                             <div class=\"ec-cartRow__sutbtotalSP\">";
  415.                     // line 152
  416.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("小計:"), "html"nulltrue);
  417.                     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);
  418.                     echo "</div>
  419.                                         </div>
  420.                                     </li>
  421.                                     <li class=\"ec-cartRow__amountColumn\">
  422.                                         <div class=\"ec-cartRow__amount\">";
  423.                     // line 156
  424.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse156)), "html"nulltrue);
  425.                     echo "</div>
  426.                                         <div class=\"ec-cartRow__amountSP\">";
  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->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse157)), "html"nulltrue);
  430.                     echo "</div>
  431.                                         <div class=\"ec-cartRow__amountUpDown\">
  432.                                             ";
  433.                     // line 159
  434.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse159) > 1)) {
  435.                         // line 160
  436.                         echo "                                                <a href=\"";
  437.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "down""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'160$this->source); })()), "id", [], "any"falsefalsefalse160)]), "html"nulltrue);
  438.                         echo "\" ";
  439.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  440.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  441.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  442.                         // line 161
  443.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  444.                         echo "\" alt=\"reduce\"></span>
  445.                                                 </a>
  446.                                             ";
  447.                     } else {
  448.                         // line 164
  449.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  450.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  451.                         // line 165
  452.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  453.                         echo "\" alt=\"reduce\"></span>
  454.                                                 </div>
  455.                                             ";
  456.                     }
  457.                     // line 168
  458.                     echo "                                            <a href=\"";
  459.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_handle_item", ["operation" => "up""productClassId" => twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'168$this->source); })()), "id", [], "any"falsefalsefalse168)]), "html"nulltrue);
  460.                     echo "\" ";
  461.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  462.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  463.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  464.                     // line 169
  465.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  466.                     echo "\" alt=\"increase\"></span>
  467.                                             </a>
  468.                                         </div>
  469.                                     </li>
  470.                                     <li class=\"ec-cartRow__subtotalColumn\">
  471.                                         <div class=\"ec-cartRow__sutbtotal\">";
  472.                     // line 174
  473.                     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);
  474.                     echo "</div>
  475.                                     </li>
  476.                                 </ul>
  477.                             ";
  478.                 }
  479.                 $_parent $context['_parent'];
  480.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  481.                 $context array_intersect_key($context$_parent) + $_parent;
  482.                 // line 178
  483.                 echo "                        </div>
  484.                     </div>
  485.                     <div class=\"ec-cartRole__progress\">
  486.                         ";
  487.                 // line 181
  488.                 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))) {
  489.                     // line 182
  490.                     echo "                            <br/>
  491.                             ";
  492.                     // line 183
  493.                     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)) {
  494.                         // line 184
  495.                         echo "                                ";
  496.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  497.                         echo "
  498.                             ";
  499.                     } else {
  500.                         // line 186
  501.                         echo "                                ";
  502.                         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))]);
  503.                         echo "
  504.                             ";
  505.                     }
  506.                     // line 188
  507.                     echo "                        ";
  508.                 } 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)) {
  509.                     // line 189
  510.                     echo "                            <br/>
  511.                             ";
  512.                     // line 190
  513.                     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)) {
  514.                         // line 191
  515.                         echo "                                ";
  516.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  517.                         echo "
  518.                             ";
  519.                     } else {
  520.                         // line 193
  521.                         echo "                                ";
  522.                         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))]);
  523.                         echo "
  524.                             ";
  525.                     }
  526.                     // line 195
  527.                     echo "                        ";
  528.                 } 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)) {
  529.                     // line 196
  530.                     echo "                            <br/>
  531.                             ";
  532.                     // line 197
  533.                     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)) {
  534.                         // line 198
  535.                         echo "                                ";
  536.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  537.                         echo "
  538.                             ";
  539.                     } else {
  540.                         // line 200
  541.                         echo "                                ";
  542.                         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))]);
  543.                         echo "
  544.                             ";
  545.                     }
  546.                     // line 202
  547.                     echo "                        ";
  548.                 }
  549.                 // line 203
  550.                 echo "                    </div>
  551.                     <div class=\"ec-cartRole__actions\">
  552.                         <div class=\"ec-cartRole__total\">";
  553.                 // line 205
  554.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("合計:"), "html"nulltrue);
  555.                 echo "<span class=\"ec-cartRole__totalAmount\">";
  556.                 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);
  557.                 echo "</span>
  558.                         </div>
  559.                         <a class=\"ec-blockBtn--action\" href=\"";
  560.                 // line 207
  561.                 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);
  562.                 echo "\">";
  563.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("レジに進む"), "html"nulltrue);
  564.                 echo "</a>
  565.                         ";
  566.                 // line 208
  567.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse208)) {
  568.                     // line 209
  569.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  570.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  571.                     echo "\">";
  572.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html"nulltrue);
  573.                     echo "</a>
  574.                         ";
  575.                 }
  576.                 // line 211
  577.                 echo "                    </div>
  578.                 ";
  579.                 ++$context['loop']['index0'];
  580.                 ++$context['loop']['index'];
  581.                 $context['loop']['first'] = false;
  582.                 if (isset($context['loop']['length'])) {
  583.                     --$context['loop']['revindex0'];
  584.                     --$context['loop']['revindex'];
  585.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  586.                 }
  587.             }
  588.             $_parent $context['_parent'];
  589.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  590.             $context array_intersect_key($context$_parent) + $_parent;
  591.             // line 213
  592.             echo "            </form>
  593.         ";
  594.         } else {
  595.             // line 215
  596.             echo "            ";
  597.             $context['_parent'] = $context;
  598.             $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); })()));
  599.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  600.                 // line 216
  601.                 echo "                ";
  602.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse216);
  603.                 // line 217
  604.                 echo "                ";
  605.                 $context['_parent'] = $context;
  606.                 $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));
  607.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  608.                     // line 218
  609.                     echo "                    <div class=\"ec-cartRole__error\">
  610.                         <div class=\"ec-alert-warning\">
  611.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  612.                     // line 220
  613.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  614.                     echo "\"></div>
  615.                             <div class=\"ec-alert-warning__text\">
  616.                                 ";
  617.                     // line 222
  618.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  619.                     echo "
  620.                             </div>
  621.                         </div>
  622.                     </div>
  623.                 ";
  624.                 }
  625.                 $_parent $context['_parent'];
  626.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  627.                 $context array_intersect_key($context$_parent) + $_parent;
  628.                 // line 227
  629.                 echo "            ";
  630.             }
  631.             $_parent $context['_parent'];
  632.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  633.             $context array_intersect_key($context$_parent) + $_parent;
  634.             // line 228
  635.             echo "            <div class=\"ec-role\">
  636.                 <div class=\"ec-off3Grid\">
  637.                     <div class=\"ec-off3Grid__cell\">
  638.                         <div class=\"ec-alert-warning\">
  639.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  640.             // line 232
  641.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  642.             echo "\"></div>
  643.                             <div class=\"ec-alert-warning__text\">";
  644.             // line 233
  645.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在カート内に商品はございません。"), "html"nulltrue);
  646.             echo "</div>
  647.                         </div>
  648.                     </div>
  649.                 </div>
  650.             </div>
  651.         ";
  652.         }
  653.         // line 239
  654.         echo "    </div>
  655. ";
  656.         
  657.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  658.         
  659.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  660.     }
  661.     public function getTemplateName()
  662.     {
  663.         return "Cart/index.twig";
  664.     }
  665.     public function isTraitable()
  666.     {
  667.         return false;
  668.     }
  669.     public function getDebugInfo()
  670.     {
  671.         return array (  670 => 239,  661 => 233,  657 => 232,  651 => 228,  645 => 227,  634 => 222,  629 => 220,  625 => 218,  620 => 217,  617 => 216,  612 => 215,  608 => 213,  593 => 211,  585 => 209,  583 => 208,  577 => 207,  570 => 205,  566 => 203,  563 => 202,  557 => 200,  551 => 198,  549 => 197,  546 => 196,  543 => 195,  537 => 193,  531 => 191,  529 => 190,  526 => 189,  523 => 188,  517 => 186,  511 => 184,  509 => 183,  506 => 182,  504 => 181,  499 => 178,  489 => 174,  481 => 169,  474 => 168,  468 => 165,  465 => 164,  459 => 161,  452 => 160,  450 => 159,  444 => 157,  440 => 156,  432 => 152,  428 => 151,  425 => 150,  417 => 148,  414 => 147,  406 => 145,  404 => 144,  398 => 143,  388 => 138,  384 => 137,  376 => 132,  370 => 131,  366 => 129,  363 => 128,  360 => 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,);
  672.     }
  673.     public function getSourceContext()
  674.     {
  675.         return new Source("{#
  676. This file is part of EC-CUBE
  677. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  678. http://www.ec-cube.co.jp/
  679. For the full copyright and license information, please view the LICENSE
  680. file that was distributed with this source code.
  681. #}
  682. {% extends 'default_frame.twig' %}
  683. {% set body_class = 'cart_page' %}
  684. {% block main %}
  685.     <div class=\"ec-role\">
  686.         <div class=\"ec-pageHeader\">
  687.             <h1>{{ 'CART'|trans }}</h1>
  688.         </div>
  689.     </div>
  690.     <div class=\"ec-cartRole\">
  691.         <div class=\"ec-cartRole__progress\">
  692.             <ul class=\"ec-progress\">
  693.                 {% set step = 1 %}
  694.                 <li class=\"ec-progress__item is-complete\">
  695.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  696.                     </div>
  697.                     <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}
  698.                     </div>
  699.                 </li>
  700.                 {% if is_granted('ROLE_USER') == false %}
  701.                     <li class=\"ec-progress__item\">
  702.                         <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  703.                         </div>
  704.                         <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}
  705.                         </div>
  706.                     </li>
  707.                 {% endif %}
  708.                 <li class=\"ec-progress__item\">
  709.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  710.                     </div>
  711.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}
  712.                     </div>
  713.                 </li>
  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.                 <li class=\"ec-progress__item\">
  721.                     <div class=\"ec-progress__number\">{{ step }}{% set step = step + 1 %}
  722.                     </div>
  723.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}
  724.                     </div>
  725.                 </li>
  726.             </ul>
  727.         </div>
  728.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  729.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  730.             {% set idx = loop.index0 %}
  731.             <div class=\"ec-cartRole__error\">
  732.                 <div class=\"ec-alert-warning\">
  733.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  734.                     <div class=\"ec-alert-warning__text\">
  735.                         {% if productStr[idx] is defined %}
  736.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  737.                         {% else %}
  738.                             {{ error|trans|nl2br }}
  739.                         {% endif %}
  740.                     </div>
  741.                 </div>
  742.             </div>
  743.         {% endfor %}
  744.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  745.             <div class=\"ec-cartRole__error\">
  746.                 <div class=\"ec-alert-warning\">
  747.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  748.                     <div class=\"ec-alert-warning__text\">
  749.                         {{ error|trans|nl2br }}
  750.                     </div>
  751.                 </div>
  752.             </div>
  753.         {% endfor %}
  754.         {% if totalQuantity > 0 %}
  755.             <div class=\"ec-cartRole__totalText\">
  756.                 <p>
  757.                     {{ '商品の合計金額は「<strong>%price%</strong>」です。'|trans({ '%price%': totalPrice|price })|raw }}
  758.                 </p>
  759.             </div>
  760.             {% if Carts|length > 1 %}
  761.                 <div class=\"ec-cartRole__error\">
  762.                     <div class=\"ec-alert-warning\">
  763.                         <div class=\"ec-alert-warning__text\">
  764.                             {{ '同時購入できない商品がカートに含まれています。'|trans|nl2br }}
  765.                         </div>
  766.                     </div>
  767.                 </div>
  768.             {% endif %}
  769.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  770.                 {% for CartIndex,Cart in Carts %}
  771.                     {% set cartKey = Cart.cart_key %}
  772.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  773.                         <div class=\"ec-cartRole__error\">
  774.                             <div class=\"ec-alert-warning\">
  775.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  776.                                 <div class=\"ec-alert-warning__text\">
  777.                                     {{ error|trans|nl2br }}
  778.                                 </div>
  779.                             </div>
  780.                         </div>
  781.                     {% endfor %}
  782.                     <div class=\"ec-cartRole__cart\">
  783.                         <div class=\"ec-cartTable\">
  784.                             <ol class=\"ec-cartHeader\">
  785.                                 <li class=\"ec-cartHeader__label\">{{ '削除'|trans }}</li>
  786.                                 <li class=\"ec-cartHeader__label\">{{ '商品内容'|trans }}</li>
  787.                                 <li class=\"ec-cartHeader__label\">{{ '数量'|trans }}</li>
  788.                                 <li class=\"ec-cartHeader__label\">{{ '小計'|trans }}</li>
  789.                             </ol>
  790.                             {% for CartItem in Cart.CartItems %}
  791.                                 {% set ProductClass = CartItem.ProductClass %}
  792.                                 {% set Product = ProductClass.Product %}
  793.                                 <ul class=\"ec-cartRow\">
  794.                                     <li class=\"ec-cartRow__delColumn\">
  795.                                         <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  796.                                             <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  797.                                         </a>
  798.                                     </li>
  799.                                     <li class=\"ec-cartRow__contentColumn\">
  800.                                         <div class=\"ec-cartRow__img\">
  801.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  802.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  803.                                             </a>
  804.                                         </div>
  805.                                         <div class=\"ec-cartRow__summary\">
  806.                                             <div class=\"ec-cartRow__name\">
  807.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  808.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  809.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  810.                                                 {% endif %}
  811.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  812.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  813.                                                 {% endif %}
  814.                                             </div>
  815.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  816.                                             <div class=\"ec-cartRow__sutbtotalSP\">{{ '小計:'|trans }}{{ CartItem.total_price|price }}</div>
  817.                                         </div>
  818.                                     </li>
  819.                                     <li class=\"ec-cartRow__amountColumn\">
  820.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  821.                                         <div class=\"ec-cartRow__amountSP\">{{ '数量:'|trans }}{{ CartItem.quantity|number_format }}</div>
  822.                                         <div class=\"ec-cartRow__amountUpDown\">
  823.                                             {% if CartItem.quantity > 1 %}
  824.                                                 <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\">
  825.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  826.                                                 </a>
  827.                                             {% else %}
  828.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  829.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  830.                                                 </div>
  831.                                             {% endif %}
  832.                                             <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\">
  833.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  834.                                             </a>
  835.                                         </div>
  836.                                     </li>
  837.                                     <li class=\"ec-cartRow__subtotalColumn\">
  838.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  839.                                     </li>
  840.                                 </ul>
  841.                             {% endfor %}
  842.                         </div>
  843.                     </div>
  844.                     <div class=\"ec-cartRole__progress\">
  845.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  846.                             <br/>
  847.                             {% if is_delivery_free[cartKey] %}
  848.                                 {{ '現在送料無料です。'|trans }}
  849.                             {% else %}
  850.                                 {{ 'あと「<strong>%price%</strong>」または「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  851.                             {% endif %}
  852.                         {% elseif BaseInfo.delivery_free_amount %}
  853.                             <br/>
  854.                             {% if is_delivery_free[cartKey] %}
  855.                                 {{ '現在送料無料です。'|trans }}
  856.                             {% else %}
  857.                                 {{ 'あと「<strong>%price%</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%price%': least[cartKey]|price })|raw }}
  858.                             {% endif %}
  859.                         {% elseif BaseInfo.delivery_free_quantity %}
  860.                             <br/>
  861.                             {% if is_delivery_free[cartKey] %}
  862.                                 {{ '現在送料無料です。'|trans }}
  863.                             {% else %}
  864.                                 {{ 'あと「<strong>%quantity%個</strong>」のお買い上げで<strong class=\"ec-color-red\">送料無料</strong>になります。'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  865.                             {% endif %}
  866.                         {% endif %}
  867.                     </div>
  868.                     <div class=\"ec-cartRole__actions\">
  869.                         <div class=\"ec-cartRole__total\">{{ '合計:'|trans }}<span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  870.                         </div>
  871.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'レジに進む'|trans }}</a>
  872.                         {% if loop.last %}
  873.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ 'お買い物を続ける'|trans }}</a>
  874.                         {% endif %}
  875.                     </div>
  876.                 {% endfor %}
  877.             </form>
  878.         {% else %}
  879.             {% for CartIndex,Cart in Carts %}
  880.                 {% set cartKey = Cart.cart_key %}
  881.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  882.                     <div class=\"ec-cartRole__error\">
  883.                         <div class=\"ec-alert-warning\">
  884.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  885.                             <div class=\"ec-alert-warning__text\">
  886.                                 {{ error|trans|nl2br }}
  887.                             </div>
  888.                         </div>
  889.                     </div>
  890.                 {% endfor %}
  891.             {% endfor %}
  892.             <div class=\"ec-role\">
  893.                 <div class=\"ec-off3Grid\">
  894.                     <div class=\"ec-off3Grid__cell\">
  895.                         <div class=\"ec-alert-warning\">
  896.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  897.                             <div class=\"ec-alert-warning__text\">{{ '現在カート内に商品はございません。'|trans }}</div>
  898.                         </div>
  899.                     </div>
  900.                 </div>
  901.             </div>
  902.         {% endif %}
  903.     </div>
  904. {% endblock %}
  905. ""Cart/index.twig""/home/riderz/slaps.tokyo/public_html/app/template/default/Cart/index.twig");
  906.     }
  907. }