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

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