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