var/cache/dev/twig/fa/fa4234cfff13c552f70c0a81e2c7dfed21f3bb85f1168a91173d4cf6abc4fba1.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_6010f49ee124c594134c5ab06d44afe2fd9f19f81bccc82becd91719e255565b 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.     ";
  59.         // line 17
  60.         $context["showProduct"] = true;
  61.         // line 18
  62.         echo "    ";
  63.         if ((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'18$this->source); })())) {
  64.             // line 19
  65.             echo "        ";
  66.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'19$this->source); })()), "ContractType", [], "any"falsefalsefalse19), "show_product", [], "any"falsefalsefalse19) != "Y")) {
  67.                 // line 20
  68.                 echo "            ";
  69.                 $context["showProduct"] = false;
  70.                 // line 21
  71.                 echo "        ";
  72.             }
  73.             // line 22
  74.             echo "    ";
  75.         }
  76.         // line 23
  77.         echo "
  78.     <div class=\"ec-role\">
  79.         <div class=\"ec-pageHeader\">
  80.             <h1>";
  81.         // line 26
  82.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.title"), "html"nulltrue);
  83.         echo "</h1>
  84.         </div>
  85.     </div>
  86.     <div class=\"ec-cartRole\">
  87.         <div class=\"ec-cartRole__progress\">
  88.             <ul class=\"ec-progress\">
  89.                 ";
  90.         // line 33
  91.         $context["step"] = 1;
  92.         // line 34
  93.         echo "                <li class=\"ec-progress__item is-complete\">
  94.                     <div class=\"ec-progress__number\">
  95.                         ";
  96.         // line 36
  97.         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.'36$this->source); })()), "html"nulltrue);
  98.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'36$this->source); })()) + 1);
  99.         // line 37
  100.         echo "                    </div>
  101.                     <div class=\"ec-progress__label\">
  102.                         ";
  103.         // line 39
  104.         if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'39$this->source); })()) == false)) {
  105.             // line 40
  106.             echo "                            ";
  107.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__cart_items"), "html"nulltrue);
  108.             echo "
  109.                         ";
  110.         } else {
  111.             // line 42
  112.             echo "                            Cart
  113.                         ";
  114.         }
  115.         // line 44
  116.         echo "                    </div>
  117.                 </li>
  118.                 ";
  119.         // line 46
  120.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  121.             // line 47
  122.             echo "                    <li class=\"ec-progress__item\">
  123.                         <div class=\"ec-progress__number\">
  124.                             ";
  125.             // line 49
  126.             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.'49$this->source); })()), "html"nulltrue);
  127.             $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'49$this->source); })()) + 1);
  128.             // line 50
  129.             echo "                        </div>
  130.                         <div class=\"ec-progress__label\">
  131.                             ";
  132.             // line 52
  133.             if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'52$this->source); })()) == false)) {
  134.                 // line 53
  135.                 echo "                                ";
  136.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__customer_info"), "html"nulltrue);
  137.                 echo "
  138.                             ";
  139.             } else {
  140.                 // line 55
  141.                 echo "                                Customer<br>information
  142.                             ";
  143.             }
  144.             // line 57
  145.             echo "                        </div>
  146.                     </li>
  147.                 ";
  148.         }
  149.         // line 60
  150.         echo "                <li class=\"ec-progress__item\">
  151.                     <div class=\"ec-progress__number\">
  152.                         ";
  153.         // line 62
  154.         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.'62$this->source); })()), "html"nulltrue);
  155.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'62$this->source); })()) + 1);
  156.         // line 63
  157.         echo "                    </div>
  158.                     <div class=\"ec-progress__label\">
  159.                         ";
  160.         // line 65
  161.         if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'65$this->source); })()) == false)) {
  162.             // line 66
  163.             echo "                            ";
  164.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__order"), "html"nulltrue);
  165.             echo "
  166.                         ";
  167.         } else {
  168.             // line 68
  169.             echo "                            Payment<br>options
  170.                         ";
  171.         }
  172.         // line 70
  173.         echo "                    </div>
  174.                 </li>
  175.                 <li class=\"ec-progress__item\">
  176.                     <div class=\"ec-progress__number\">
  177.                         ";
  178.         // line 74
  179.         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.'74$this->source); })()), "html"nulltrue);
  180.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'74$this->source); })()) + 1);
  181.         // line 75
  182.         echo "                    </div>
  183.                     <div class=\"ec-progress__label\">
  184.                         ";
  185.         // line 77
  186.         if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'77$this->source); })()) == false)) {
  187.             // line 78
  188.             echo "                            ";
  189.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__confirm"), "html"nulltrue);
  190.             echo "
  191.                         ";
  192.         } else {
  193.             // line 80
  194.             echo "                            Order<br>summary
  195.                         ";
  196.         }
  197.         // line 82
  198.         echo "                    </div>
  199.                 </li>
  200.                 <li class=\"ec-progress__item\">
  201.                     <div class=\"ec-progress__number\">
  202.                         ";
  203.         // line 86
  204.         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.'86$this->source); })()), "html"nulltrue);
  205.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'86$this->source); })()) + 1);
  206.         // line 87
  207.         echo "                    </div>
  208.                     <div class=\"ec-progress__label\">
  209.                         ";
  210.         // line 89
  211.         if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'89$this->source); })()) == false)) {
  212.             // line 90
  213.             echo "                            ";
  214.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.nav__complete"), "html"nulltrue);
  215.             echo "
  216.                         ";
  217.         } else {
  218.             // line 92
  219.             echo "                            Confirmation
  220.                         ";
  221.         }
  222.         // line 94
  223.         echo "                    </div>
  224.                 </li>
  225.             </ul>
  226.         </div>
  227.         ";
  228.         // line 98
  229.         $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.'98$this->source); })()), "session", [], "any"falsefalsefalse98), "flashbag", [], "any"falsefalsefalse98), "get", [=> "eccube.front.request.product"], "method"falsefalsefalse98);
  230.         // line 99
  231.         echo "        ";
  232.         $context['_parent'] = $context;
  233.         $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.'99$this->source); })()), "session", [], "any"falsefalsefalse99), "flashbag", [], "any"falsefalsefalse99), "get", [=> "eccube.front.request.error"], "method"falsefalsefalse99));
  234.         $context['loop'] = [
  235.           'parent' => $context['_parent'],
  236.           'index0' => 0,
  237.           'index'  => 1,
  238.           'first'  => true,
  239.         ];
  240.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  241.             $length count($context['_seq']);
  242.             $context['loop']['revindex0'] = $length 1;
  243.             $context['loop']['revindex'] = $length;
  244.             $context['loop']['length'] = $length;
  245.             $context['loop']['last'] = === $length;
  246.         }
  247.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  248.             // line 100
  249.             echo "            ";
  250.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsefalse100);
  251.             // line 101
  252.             echo "            <div class=\"ec-cartRole__error\">
  253.                 <div class=\"ec-alert-warning\">
  254.                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  255.             // line 103
  256.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  257.             echo "\"></div>
  258.                     <div class=\"ec-alert-warning__text\">
  259.                         ";
  260.             // line 105
  261.             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.'105$this->source); })()), [], "array"truetruefalse105)) {
  262.                 // line 106
  263.                 echo "                            ";
  264.                 echo 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.'106$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'106$this->source); })()), [], "array"falsefalsefalse106)]), "html"nulltrue));
  265.                 echo "
  266.                         ";
  267.             } else {
  268.                 // line 108
  269.                 echo "                            ";
  270.                 echo nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  271.                 echo "
  272.                         ";
  273.             }
  274.             // line 110
  275.             echo "                    </div>
  276.                 </div>
  277.             </div>
  278.         ";
  279.             ++$context['loop']['index0'];
  280.             ++$context['loop']['index'];
  281.             $context['loop']['first'] = false;
  282.             if (isset($context['loop']['length'])) {
  283.                 --$context['loop']['revindex0'];
  284.                 --$context['loop']['revindex'];
  285.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  286.             }
  287.         }
  288.         $_parent $context['_parent'];
  289.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  290.         $context array_intersect_key($context$_parent) + $_parent;
  291.         // line 114
  292.         echo "        ";
  293.         $context['_parent'] = $context;
  294.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'114$this->source); })()), "session", [], "any"falsefalsefalse114), "flashbag", [], "any"falsefalsefalse114), "get", [=> "eccube.front.cart.error"], "method"falsefalsefalse114));
  295.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  296.             // line 115
  297.             echo "            <div class=\"ec-cartRole__error\">
  298.                 <div class=\"ec-alert-warning\">
  299.                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  300.             // line 117
  301.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  302.             echo "\"></div>
  303.                     <div class=\"ec-alert-warning__text\">
  304.                         ";
  305.             // line 119
  306.             echo nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  307.             echo "
  308.                     </div>
  309.                 </div>
  310.             </div>
  311.         ";
  312.         }
  313.         $_parent $context['_parent'];
  314.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  315.         $context array_intersect_key($context$_parent) + $_parent;
  316.         // line 124
  317.         echo "        ";
  318.         if ((((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'124$this->source); })()) > 0) && (isset($context["showProduct"]) || array_key_exists("showProduct"$context) ? $context["showProduct"] : (function () { throw new RuntimeError('Variable "showProduct" does not exist.'124$this->source); })()))) {
  319.             // line 125
  320.             echo "            <div class=\"ec-cartRole__totalText\">
  321.                 <p>
  322.                     ";
  323.             // line 127
  324.             if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'127$this->source); })()) == false)) {
  325.                 // line 128
  326.                 echo "                        ";
  327.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.total_price", ["%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.'128$this->source); })()))]);
  328.                 echo "
  329.                     ";
  330.             } else {
  331.                 // line 130
  332.                 echo "                        Your order total is ";
  333.                 echo twig_escape_filter($this->env$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.'130$this->source); })())), "html"nulltrue);
  334.                 echo ".
  335.                     ";
  336.             }
  337.             // line 132
  338.             echo "                </p>
  339.             </div>
  340.             ";
  341.             // line 134
  342.             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.'134$this->source); })())) > 1)) {
  343.                 // line 135
  344.                 echo "                <div class=\"ec-cartRole__error\">
  345.                     <div class=\"ec-alert-warning\">
  346.                         <div class=\"ec-alert-warning__text\">
  347.                             ";
  348.                 // line 138
  349.                 echo nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.divide_cart"), "html"nulltrue));
  350.                 echo "
  351.                         </div>
  352.                     </div>
  353.                 </div>
  354.             ";
  355.             }
  356.             // line 143
  357.             echo "
  358.             ";
  359.             // line 144
  360.             if (((isset($context["ChainStore"]) || array_key_exists("ChainStore"$context) ? $context["ChainStore"] : (function () { throw new RuntimeError('Variable "ChainStore" does not exist.'144$this->source); })()) == false)) {
  361.                 // line 145
  362.                 echo "                <div class=\"ec-cartRole__text\">
  363.                     ";
  364.                 // line 149
  365.                 echo "                    ";
  366.                 // line 152
  367.                 echo "                </div>
  368.             ";
  369.             }
  370.             // line 154
  371.             echo "
  372.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  373.             // line 155
  374.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  375.             echo "\">
  376.                 ";
  377.             // line 157
  378.             $context['_parent'] = $context;
  379.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'157$this->source); })()));
  380.             $context['loop'] = [
  381.               'parent' => $context['_parent'],
  382.               'index0' => 0,
  383.               'index'  => 1,
  384.               'first'  => true,
  385.             ];
  386.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  387.                 $length count($context['_seq']);
  388.                 $context['loop']['revindex0'] = $length 1;
  389.                 $context['loop']['revindex'] = $length;
  390.                 $context['loop']['length'] = $length;
  391.                 $context['loop']['last'] = === $length;
  392.             }
  393.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  394.                 // line 158
  395.                 echo "                    ";
  396.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse158);
  397.                 // line 159
  398.                 echo "                    ";
  399.                 $context['_parent'] = $context;
  400.                 $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.'159$this->source); })()), "session", [], "any"falsefalsefalse159), "flashbag", [], "any"falsefalsefalse159), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'159$this->source); })())) . ".request.error")], "method"falsefalsefalse159));
  401.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  402.                     // line 160
  403.                     echo "                        <div class=\"ec-cartRole__error\">
  404.                             <div class=\"ec-alert-warning\">
  405.                                 <div class=\"ec-alert-warning__icon\"><img src=\"";
  406.                     // line 162
  407.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  408.                     echo "\"></div>
  409.                                 <div class=\"ec-alert-warning__text\">
  410.                                     ";
  411.                     // line 164
  412.                     echo nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  413.                     echo "
  414.                                 </div>
  415.                             </div>
  416.                         </div>
  417.                     ";
  418.                 }
  419.                 $_parent $context['_parent'];
  420.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  421.                 $context array_intersect_key($context$_parent) + $_parent;
  422.                 // line 169
  423.                 echo "
  424.                     <div class=\"ec-cartRole__cart\">
  425.                         <div class=\"ec-cartTable\">
  426.                             <ol class=\"ec-cartHeader\">
  427.                                 <li class=\"ec-cartHeader__label\">
  428.                                     ";
  429.                 // line 174
  430.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'174$this->source); })()) == false)) {
  431.                     // line 175
  432.                     echo "                                        ";
  433.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delete"), "html"nulltrue);
  434.                     echo "
  435.                                     ";
  436.                 } else {
  437.                     // line 177
  438.                     echo "                                        Remove<br>Item
  439.                                     ";
  440.                 }
  441.                 // line 179
  442.                 echo "                                </li>
  443.                                 <li class=\"ec-cartHeader__label\">
  444.                                     ";
  445.                 // line 181
  446.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'181$this->source); })()) == false)) {
  447.                     // line 182
  448.                     echo "                                        ";
  449.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.product"), "html"nulltrue);
  450.                     echo "
  451.                                     ";
  452.                 } else {
  453.                     // line 184
  454.                     echo "                                        Product Info
  455.                                     ";
  456.                 }
  457.                 // line 186
  458.                 echo "                                </li>
  459.                                 <li class=\"ec-cartHeader__label\">
  460.                                     ";
  461.                 // line 188
  462.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'188$this->source); })()) == false)) {
  463.                     // line 189
  464.                     echo "                                        ";
  465.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity"), "html"nulltrue);
  466.                     echo "
  467.                                     ";
  468.                 } else {
  469.                     // line 191
  470.                     echo "                                        Quantity
  471.                                     ";
  472.                 }
  473.                 // line 193
  474.                 echo "                                </li>
  475.                                 <li class=\"ec-cartHeader__label\">
  476.                                     ";
  477.                 // line 195
  478.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'195$this->source); })()) == false)) {
  479.                     // line 196
  480.                     echo "                                        ";
  481.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal"), "html"nulltrue);
  482.                     echo "
  483.                                     ";
  484.                 } else {
  485.                     // line 198
  486.                     echo "                                        Subtotal
  487.                                     ";
  488.                 }
  489.                 // line 200
  490.                 echo "                                </li>
  491.                             </ol>
  492.                             ";
  493.                 // line 202
  494.                 $context['_parent'] = $context;
  495.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsefalse202));
  496.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  497.                     // line 203
  498.                     echo "                                ";
  499.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsefalse203);
  500.                     // line 204
  501.                     echo "                                ";
  502.                     $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.'204$this->source); })()), "Product", [], "any"falsefalsefalse204);
  503.                     // line 205
  504.                     echo "                                <ul class=\"ec-cartRow\">
  505.                                     <li class=\"ec-cartRow__delColumn\">
  506.                                         ";
  507.                     // line 207
  508.                     if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'207$this->source); })()) == false)) {
  509.                         // line 208
  510.                         echo "                                            <a href=\"";
  511.                         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.'208$this->source); })()), "id", [], "any"falsefalsefalse208)]), "html"nulltrue);
  512.                         echo "\" ";
  513.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  514.                         echo " class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  515.                                                 <img src=\"";
  516.                         // line 209
  517.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  518.                         echo "\" alt=\"delete\">
  519.                                             </a>
  520.                                         ";
  521.                     } else {
  522.                         // line 212
  523.                         echo "                                            <a href=\"";
  524.                         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.'212$this->source); })()), "id", [], "any"falsefalsefalse212)]), "html"nulltrue);
  525.                         echo "\" ";
  526.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  527.                         echo " class=\"ec-icon\" data-method=\"put\" data-message=\"Are you sure you want to remove the item from your cart?\">
  528.                                                 <img src=\"";
  529.                         // line 213
  530.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross.svg"), "html"nulltrue);
  531.                         echo "\" alt=\"delete\">
  532.                                             </a>
  533.                                         ";
  534.                     }
  535.                     // line 216
  536.                     echo "                                    </li>
  537.                                     <li class=\"ec-cartRow__contentColumn\">
  538.                                         <div class=\"ec-cartRow__img\">
  539.                                             <a target=\"_blank\" href=\"";
  540.                     // line 219
  541.                     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.'219$this->source); })()), "id", [], "any"falsefalsefalse219)]), "html"nulltrue);
  542.                     echo "\">
  543.                                                 <img src=\"";
  544.                     // line 220
  545.                     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.'220$this->source); })()), "MainListImage", [], "any"falsefalsefalse220)), "save_image"), "html"nulltrue);
  546.                     echo "\" alt=\"";
  547.                     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.'220$this->source); })()), "name", [], "any"falsefalsefalse220), "html"nulltrue);
  548.                     echo "\"/>
  549.                                             </a>
  550.                                         </div>
  551.                                         <div class=\"ec-cartRow__summary\">
  552.                                             <div class=\"ec-cartRow__name\">
  553.                                                 <a target=\"_blank\" href=\"";
  554.                     // line 225
  555.                     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.'225$this->source); })()), "id", [], "any"falsefalsefalse225)]), "html"nulltrue);
  556.                     echo "\">";
  557.                     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.'225$this->source); })()), "name", [], "any"falsefalsefalse225), "html"nulltrue);
  558.                     echo "</a>
  559.                                                 ";
  560.                     // line 226
  561.                     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.'226$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse226) && 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.'226$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse226), "id", [], "any"falsefalsefalse226))) {
  562.                         // line 227
  563.                         echo "                                                    <br>";
  564.                         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.'227$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse227), "ClassName", [], "any"falsefalsefalse227), "name", [], "any"falsefalsefalse227), "html"nulltrue);
  565.                         echo ":";
  566.                         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.'227$this->source); })()), "ClassCategory1", [], "any"falsefalsefalse227), "html"nulltrue);
  567.                         echo "
  568.                                                 ";
  569.                     }
  570.                     // line 229
  571.                     echo "                                                ";
  572.                     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.'229$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse229) && 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.'229$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse229), "id", [], "any"falsefalsefalse229))) {
  573.                         // line 230
  574.                         echo "                                                    <br>";
  575.                         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.'230$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse230), "ClassName", [], "any"falsefalsefalse230), "name", [], "any"falsefalsefalse230), "html"nulltrue);
  576.                         echo ":";
  577.                         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.'230$this->source); })()), "ClassCategory2", [], "any"falsefalsefalse230), "html"nulltrue);
  578.                         echo "
  579.                                                 ";
  580.                     }
  581.                     // line 232
  582.                     echo "                                            </div>
  583.                                             <div class=\"ec-cartRow__unitPrice\">";
  584.                     // line 233
  585.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsefalse233)), "html"nulltrue);
  586.                     echo "</div>
  587.                                             <div class=\"ec-cartRow__sutbtotalSP\">
  588.                                                 ";
  589.                     // line 235
  590.                     if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'235$this->source); })()) == false)) {
  591.                         // line 236
  592.                         echo "                                                    ";
  593.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.subtotal__with_separator"), "html"nulltrue);
  594.                         echo "
  595.                                                 ";
  596.                     } else {
  597.                         // line 238
  598.                         echo "                                                    <span style=\"font-size: 10px;\">Subtotal:</span>
  599.                                                 ";
  600.                     }
  601.                     // line 240
  602.                     echo "                                                ";
  603.                     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"falsefalsefalse240)), "html"nulltrue);
  604.                     echo "
  605.                                             </div>
  606.                                         </div>
  607.                                     </li>
  608.                                     <li class=\"ec-cartRow__amountColumn\">
  609.                                         <div class=\"ec-cartRow__amount\">";
  610.                     // line 245
  611.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse245)), "html"nulltrue);
  612.                     echo "</div>
  613.                                         <div class=\"ec-cartRow__amountSP\">
  614.                                             ";
  615.                     // line 247
  616.                     if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'247$this->source); })()) == false)) {
  617.                         // line 248
  618.                         echo "                                                ";
  619.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity__with_separator"), "html"nulltrue);
  620.                         echo "
  621.                                             ";
  622.                     } else {
  623.                         // line 250
  624.                         echo "                                                <span style=\"font-size: 10px;\">Quantity:</span><br>
  625.                                             ";
  626.                     }
  627.                     // line 252
  628.                     echo "                                            ";
  629.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->envtwig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse252)), "html"nulltrue);
  630.                     echo "
  631.                                         </div>
  632.                                         <div class=\"ec-cartRow__amountUpDown\">
  633.                                             ";
  634.                     // line 255
  635.                     if ((twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsefalse255) > 1)) {
  636.                         // line 256
  637.                         echo "                                                <a href=\"";
  638.                         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.'256$this->source); })()), "id", [], "any"falsefalsefalse256)]), "html"nulltrue);
  639.                         echo "\" ";
  640.                         echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  641.                         echo " class=\"ec-cartRow__amountDownButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  642.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  643.                         // line 257
  644.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus-dark.svg"), "html"nulltrue);
  645.                         echo "\" alt=\"reduce\"></span>
  646.                                                 </a>
  647.                                             ";
  648.                     } else {
  649.                         // line 260
  650.                         echo "                                                <div class=\"ec-cartRow__amountDownButtonDisabled\">
  651.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"";
  652.                         // line 261
  653.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/minus.svg"), "html"nulltrue);
  654.                         echo "\" alt=\"reduce\"></span>
  655.                                                 </div>
  656.                                             ";
  657.                     }
  658.                     // line 264
  659.                     echo "                                            <a href=\"";
  660.                     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.'264$this->source); })()), "id", [], "any"falsefalsefalse264)]), "html"nulltrue);
  661.                     echo "\" ";
  662.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  663.                     echo " class=\"ec-cartRow__amountUpButton load-overlay\" data-method=\"put\" data-confirm=\"false\">
  664.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"";
  665.                     // line 265
  666.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/plus-dark.svg"), "html"nulltrue);
  667.                     echo "\" alt=\"increase\"></span>
  668.                                             </a>
  669.                                         </div>
  670.                                     </li>
  671.                                     <li class=\"ec-cartRow__subtotalColumn\">
  672.                                         <div class=\"ec-cartRow__sutbtotal\">";
  673.                     // line 270
  674.                     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"falsefalsefalse270)), "html"nulltrue);
  675.                     echo "</div>
  676.                                     </li>
  677.                                 </ul>
  678.                             ";
  679.                 }
  680.                 $_parent $context['_parent'];
  681.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  682.                 $context array_intersect_key($context$_parent) + $_parent;
  683.                 // line 274
  684.                 echo "                        </div>
  685.                     </div>
  686.                     <div class=\"ec-cartRole__progress\">
  687.                         ";
  688.                 // line 277
  689.                 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.'277$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse277) && 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.'277$this->source); })()), "delivery_free_quantity", [], "any"falsefalsefalse277))) {
  690.                     // line 278
  691.                     echo "                            <br/>
  692.                             ";
  693.                     // line 279
  694.                     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.'279$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'279$this->source); })()), [], "array"falsefalsefalse279)) {
  695.                         // line 280
  696.                         echo "                                ";
  697.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  698.                         echo "
  699.                             ";
  700.                     } else {
  701.                         // line 282
  702.                         echo "                                ";
  703.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price_and_quantity", ["%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.'282$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'282$this->source); })()), [], "array"falsefalsefalse282)), "%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.'282$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'282$this->source); })()), [], "array"falsefalsefalse282))]);
  704.                         echo "
  705.                             ";
  706.                     }
  707.                     // line 284
  708.                     echo "                        ";
  709.                 } 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.'284$this->source); })()), "delivery_free_amount", [], "any"falsefalsefalse284)) {
  710.                     // line 285
  711.                     echo "                            <br/>
  712.                             ";
  713.                     // line 286
  714.                     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.'286$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'286$this->source); })()), [], "array"falsefalsefalse286)) {
  715.                         // line 287
  716.                         echo "                                ";
  717.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  718.                         echo "
  719.                             ";
  720.                     } else {
  721.                         // line 289
  722.                         echo "                                ";
  723.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price", ["%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.'289$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'289$this->source); })()), [], "array"falsefalsefalse289))]);
  724.                         echo "
  725.                             ";
  726.                     }
  727.                     // line 291
  728.                     echo "                        ";
  729.                 } 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.'291$this->source); })()), "delivery_free_quantity", [], "any"falsefalsefalse291)) {
  730.                     // line 292
  731.                     echo "                            <br/>
  732.                             ";
  733.                     // line 293
  734.                     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.'293$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'293$this->source); })()), [], "array"falsefalsefalse293)) {
  735.                         // line 294
  736.                         echo "                                ";
  737.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  738.                         echo "
  739.                             ";
  740.                     } else {
  741.                         // line 296
  742.                         echo "                                ";
  743.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__quantity", ["%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.'296$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'296$this->source); })()), [], "array"falsefalsefalse296))]);
  744.                         echo "
  745.                             ";
  746.                     }
  747.                     // line 298
  748.                     echo "                        ";
  749.                 }
  750.                 // line 299
  751.                 echo "                    </div>
  752.                     <div class=\"ec-cartRole__actions\">
  753.                         <div class=\"ec-cartRole__total\">
  754.                             ";
  755.                 // line 302
  756.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'302$this->source); })()) == false)) {
  757.                     // line 303
  758.                     echo "                                ";
  759.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.total__with_separator"), "html"nulltrue);
  760.                     echo "
  761.                             ";
  762.                 } else {
  763.                     // line 305
  764.                     echo "                                Total:
  765.                             ";
  766.                 }
  767.                 // line 307
  768.                 echo "                            <span class=\"ec-cartRole__totalAmount\">";
  769.                 echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsefalse307)), "html"nulltrue);
  770.                 echo "</span>
  771.                             <span class=\"ec-cartRole__totalTax\">
  772.                                 ";
  773.                 // line 309
  774.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'309$this->source); })()) == false)) {
  775.                     // line 310
  776.                     echo "                                    (税込)
  777.                                 ";
  778.                 } else {
  779.                     // line 312
  780.                     echo "                                    (incl. tax)
  781.                                 ";
  782.                 }
  783.                 // line 314
  784.                 echo "                            </span>
  785.                         </div>
  786.                         <a class=\"ec-blockBtn--action\" href=\"";
  787.                 // line 316
  788.                 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.'316$this->source); })())]), "html"nulltrue);
  789.                 echo "\">
  790.                             ";
  791.                 // line 317
  792.                 if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'317$this->source); })()) == false)) {
  793.                     // line 318
  794.                     echo "                                ";
  795.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.checkout"), "html"nulltrue);
  796.                     echo "
  797.                             ";
  798.                 } else {
  799.                     // line 320
  800.                     echo "                                Proceed to checkout
  801.                             ";
  802.                 }
  803.                 // line 322
  804.                 echo "                        </a>
  805.                         ";
  806.                 // line 323
  807.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse323)) {
  808.                     // line 324
  809.                     echo "                            <a class=\"ec-blockBtn--cancel\" href=\"";
  810.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("product_list");
  811.                     echo "\">
  812.                                 ";
  813.                     // line 325
  814.                     if (((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'325$this->source); })()) == false)) {
  815.                         // line 326
  816.                         echo "                                    ";
  817.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.continue"), "html"nulltrue);
  818.                         echo "
  819.                                 ";
  820.                     } else {
  821.                         // line 328
  822.                         echo "                                    Keep shopping
  823.                                 ";
  824.                     }
  825.                     // line 330
  826.                     echo "                            </a>
  827.                         ";
  828.                 }
  829.                 // line 332
  830.                 echo "                    </div>
  831.                 ";
  832.                 ++$context['loop']['index0'];
  833.                 ++$context['loop']['index'];
  834.                 $context['loop']['first'] = false;
  835.                 if (isset($context['loop']['length'])) {
  836.                     --$context['loop']['revindex0'];
  837.                     --$context['loop']['revindex'];
  838.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  839.                 }
  840.             }
  841.             $_parent $context['_parent'];
  842.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  843.             $context array_intersect_key($context$_parent) + $_parent;
  844.             // line 334
  845.             echo "            </form>
  846.         ";
  847.         } else {
  848.             // line 336
  849.             echo "            ";
  850.             $context['_parent'] = $context;
  851.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'336$this->source); })()));
  852.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  853.                 // line 337
  854.                 echo "                ";
  855.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsefalse337);
  856.                 // line 338
  857.                 echo "                ";
  858.                 $context['_parent'] = $context;
  859.                 $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.'338$this->source); })()), "session", [], "any"falsefalsefalse338), "flashbag", [], "any"falsefalsefalse338), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'338$this->source); })())) . ".request.error")], "method"falsefalsefalse338));
  860.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  861.                     // line 339
  862.                     echo "                    <div class=\"ec-cartRole__error\">
  863.                         <div class=\"ec-alert-warning\">
  864.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  865.                     // line 341
  866.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  867.                     echo "\"></div>
  868.                             <div class=\"ec-alert-warning__text\">
  869.                                 ";
  870.                     // line 343
  871.                     echo nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($context["error"]), "html"nulltrue));
  872.                     echo "
  873.                             </div>
  874.                         </div>
  875.                     </div>
  876.                 ";
  877.                 }
  878.                 $_parent $context['_parent'];
  879.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  880.                 $context array_intersect_key($context$_parent) + $_parent;
  881.                 // line 348
  882.                 echo "            ";
  883.             }
  884.             $_parent $context['_parent'];
  885.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  886.             $context array_intersect_key($context$_parent) + $_parent;
  887.             // line 349
  888.             echo "            <div class=\"ec-role\">
  889.                 <div class=\"ec-off3Grid\">
  890.                     <div class=\"ec-off3Grid__cell\">
  891.                         <div class=\"ec-alert-warning\">
  892.                             <div class=\"ec-alert-warning__icon\"><img src=\"";
  893.             // line 353
  894.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  895.             echo "\"></div>
  896.                             <div class=\"ec-alert-warning__text\">";
  897.             // line 354
  898.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans((((isset($context["EnUser"]) || array_key_exists("EnUser"$context) ? $context["EnUser"] : (function () { throw new RuntimeError('Variable "EnUser" does not exist.'354$this->source); })())) ? ("There are currently no items in your cart.") : ("front.cart.no_items"))), "html"nulltrue);
  899.             echo "</div>
  900.                         </div>
  901.                     </div>
  902.                 </div>
  903.             </div>
  904.         ";
  905.         }
  906.         // line 360
  907.         echo "    </div>
  908.     ";
  909.         // line 366
  910.         echo "
  911. ";
  912.         
  913.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  914.         
  915.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  916.     }
  917.     public function getTemplateName()
  918.     {
  919.         return "Cart/index.twig";
  920.     }
  921.     public function isTraitable()
  922.     {
  923.         return false;
  924.     }
  925.     public function getDebugInfo()
  926.     {
  927.         return array (  926 => 366,  923 => 360,  914 => 354,  910 => 353,  904 => 349,  898 => 348,  887 => 343,  882 => 341,  878 => 339,  873 => 338,  870 => 337,  865 => 336,  861 => 334,  846 => 332,  842 => 330,  838 => 328,  832 => 326,  830 => 325,  825 => 324,  823 => 323,  820 => 322,  816 => 320,  810 => 318,  808 => 317,  804 => 316,  800 => 314,  796 => 312,  792 => 310,  790 => 309,  784 => 307,  780 => 305,  774 => 303,  772 => 302,  767 => 299,  764 => 298,  758 => 296,  752 => 294,  750 => 293,  747 => 292,  744 => 291,  738 => 289,  732 => 287,  730 => 286,  727 => 285,  724 => 284,  718 => 282,  712 => 280,  710 => 279,  707 => 278,  705 => 277,  700 => 274,  690 => 270,  682 => 265,  675 => 264,  669 => 261,  666 => 260,  660 => 257,  653 => 256,  651 => 255,  644 => 252,  640 => 250,  634 => 248,  632 => 247,  627 => 245,  618 => 240,  614 => 238,  608 => 236,  606 => 235,  601 => 233,  598 => 232,  590 => 230,  587 => 229,  579 => 227,  577 => 226,  571 => 225,  561 => 220,  557 => 219,  552 => 216,  546 => 213,  539 => 212,  533 => 209,  526 => 208,  524 => 207,  520 => 205,  517 => 204,  514 => 203,  510 => 202,  506 => 200,  502 => 198,  496 => 196,  494 => 195,  490 => 193,  486 => 191,  480 => 189,  478 => 188,  474 => 186,  470 => 184,  464 => 182,  462 => 181,  458 => 179,  454 => 177,  448 => 175,  446 => 174,  439 => 169,  428 => 164,  423 => 162,  419 => 160,  414 => 159,  411 => 158,  394 => 157,  389 => 155,  386 => 154,  382 => 152,  380 => 149,  377 => 145,  375 => 144,  372 => 143,  364 => 138,  359 => 135,  357 => 134,  353 => 132,  347 => 130,  341 => 128,  339 => 127,  335 => 125,  332 => 124,  321 => 119,  316 => 117,  312 => 115,  307 => 114,  290 => 110,  284 => 108,  278 => 106,  276 => 105,  271 => 103,  267 => 101,  264 => 100,  246 => 99,  244 => 98,  238 => 94,  234 => 92,  228 => 90,  226 => 89,  222 => 87,  219 => 86,  213 => 82,  209 => 80,  203 => 78,  201 => 77,  197 => 75,  194 => 74,  188 => 70,  184 => 68,  178 => 66,  176 => 65,  172 => 63,  169 => 62,  165 => 60,  160 => 57,  156 => 55,  150 => 53,  148 => 52,  144 => 50,  141 => 49,  137 => 47,  135 => 46,  131 => 44,  127 => 42,  121 => 40,  119 => 39,  115 => 37,  112 => 36,  108 => 34,  106 => 33,  96 => 26,  91 => 23,  88 => 22,  85 => 21,  82 => 20,  79 => 19,  76 => 18,  74 => 17,  71 => 16,  61 => 15,  50 => 11,  48 => 13,  35 => 11,);
  928.     }
  929.     public function getSourceContext()
  930.     {
  931.         return new Source("{#
  932. This file is part of EC-CUBE
  933. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  934. http://www.ec-cube.co.jp/
  935. For the full copyright and license information, please view the LICENSE
  936. file that was distributed with this source code.
  937. #}
  938. {% extends 'default_frame.twig' %}
  939. {% set body_class = 'cart_page' %}
  940. {% block main %}
  941.     {% set showProduct = true %}
  942.     {% if ChainStore %}
  943.         {% if ChainStore.ContractType.show_product != 'Y' %}
  944.             {% set showProduct = false %}
  945.         {% endif %}
  946.     {% endif %}
  947.     <div class=\"ec-role\">
  948.         <div class=\"ec-pageHeader\">
  949.             <h1>{{ 'front.cart.title'|trans }}</h1>
  950.         </div>
  951.     </div>
  952.     <div class=\"ec-cartRole\">
  953.         <div class=\"ec-cartRole__progress\">
  954.             <ul class=\"ec-progress\">
  955.                 {% set step = 1 %}
  956.                 <li class=\"ec-progress__item is-complete\">
  957.                     <div class=\"ec-progress__number\">
  958.                         {{ step }}{% set step = step + 1 %}
  959.                     </div>
  960.                     <div class=\"ec-progress__label\">
  961.                         {% if EnUser == false %}
  962.                             {{ 'front.cart.nav__cart_items'|trans }}
  963.                         {% else %}
  964.                             Cart
  965.                         {% endif %}
  966.                     </div>
  967.                 </li>
  968.                 {% if is_granted('ROLE_USER') == false %}
  969.                     <li class=\"ec-progress__item\">
  970.                         <div class=\"ec-progress__number\">
  971.                             {{ step }}{% set step = step + 1 %}
  972.                         </div>
  973.                         <div class=\"ec-progress__label\">
  974.                             {% if EnUser == false %}
  975.                                 {{ 'front.cart.nav__customer_info'|trans }}
  976.                             {% else %}
  977.                                 Customer<br>information
  978.                             {% endif %}
  979.                         </div>
  980.                     </li>
  981.                 {% endif %}
  982.                 <li class=\"ec-progress__item\">
  983.                     <div class=\"ec-progress__number\">
  984.                         {{ step }}{% set step = step + 1 %}
  985.                     </div>
  986.                     <div class=\"ec-progress__label\">
  987.                         {% if EnUser == false %}
  988.                             {{ 'front.cart.nav__order'|trans }}
  989.                         {% else %}
  990.                             Payment<br>options
  991.                         {% endif %}
  992.                     </div>
  993.                 </li>
  994.                 <li class=\"ec-progress__item\">
  995.                     <div class=\"ec-progress__number\">
  996.                         {{ step }}{% set step = step + 1 %}
  997.                     </div>
  998.                     <div class=\"ec-progress__label\">
  999.                         {% if EnUser == false %}
  1000.                             {{ 'front.cart.nav__confirm'|trans }}
  1001.                         {% else %}
  1002.                             Order<br>summary
  1003.                         {% endif %}
  1004.                     </div>
  1005.                 </li>
  1006.                 <li class=\"ec-progress__item\">
  1007.                     <div class=\"ec-progress__number\">
  1008.                         {{ step }}{% set step = step + 1 %}
  1009.                     </div>
  1010.                     <div class=\"ec-progress__label\">
  1011.                         {% if EnUser == false %}
  1012.                             {{ 'front.cart.nav__complete'|trans }}
  1013.                         {% else %}
  1014.                             Confirmation
  1015.                         {% endif %}
  1016.                     </div>
  1017.                 </li>
  1018.             </ul>
  1019.         </div>
  1020.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  1021.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  1022.             {% set idx = loop.index0 %}
  1023.             <div class=\"ec-cartRole__error\">
  1024.                 <div class=\"ec-alert-warning\">
  1025.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1026.                     <div class=\"ec-alert-warning__text\">
  1027.                         {% if productStr[idx] is defined %}
  1028.                             {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  1029.                         {% else %}
  1030.                             {{ error|trans|nl2br }}
  1031.                         {% endif %}
  1032.                     </div>
  1033.                 </div>
  1034.             </div>
  1035.         {% endfor %}
  1036.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  1037.             <div class=\"ec-cartRole__error\">
  1038.                 <div class=\"ec-alert-warning\">
  1039.                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1040.                     <div class=\"ec-alert-warning__text\">
  1041.                         {{ error|trans|nl2br }}
  1042.                     </div>
  1043.                 </div>
  1044.             </div>
  1045.         {% endfor %}
  1046.         {% if totalQuantity > 0 and showProduct %}
  1047.             <div class=\"ec-cartRole__totalText\">
  1048.                 <p>
  1049.                     {% if EnUser == false %}
  1050.                         {{ 'front.cart.total_price'|trans({ '%price%': totalPrice|price })|raw }}
  1051.                     {% else %}
  1052.                         Your order total is {{ totalPrice|price }}.
  1053.                     {% endif %}
  1054.                 </p>
  1055.             </div>
  1056.             {% if Carts|length > 1 %}
  1057.                 <div class=\"ec-cartRole__error\">
  1058.                     <div class=\"ec-alert-warning\">
  1059.                         <div class=\"ec-alert-warning__text\">
  1060.                             {{ 'front.cart.divide_cart'|trans|nl2br }}
  1061.                         </div>
  1062.                     </div>
  1063.                 </div>
  1064.             {% endif %}
  1065.             {% if ChainStore == false %}
  1066.                 <div class=\"ec-cartRole__text\">
  1067.                     {#
  1068.                     <p>配送日指定のない場合、3〜5営業日程度で発送いたします。<br>(土日祝日を除く)</p>
  1069.                     #}
  1070.                     {#
  1071.                     <p>夏季休業に伴い8/8(火)以降のご注文は<br>8/17(木)以降に順次発送いたします。</p>
  1072.                     #}
  1073.                 </div>
  1074.             {% endif %}
  1075.             <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  1076.                 {% for CartIndex,Cart in Carts %}
  1077.                     {% set cartKey = Cart.cart_key %}
  1078.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  1079.                         <div class=\"ec-cartRole__error\">
  1080.                             <div class=\"ec-alert-warning\">
  1081.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1082.                                 <div class=\"ec-alert-warning__text\">
  1083.                                     {{ error|trans|nl2br }}
  1084.                                 </div>
  1085.                             </div>
  1086.                         </div>
  1087.                     {% endfor %}
  1088.                     <div class=\"ec-cartRole__cart\">
  1089.                         <div class=\"ec-cartTable\">
  1090.                             <ol class=\"ec-cartHeader\">
  1091.                                 <li class=\"ec-cartHeader__label\">
  1092.                                     {% if EnUser == false %}
  1093.                                         {{ 'front.cart.delete'|trans }}
  1094.                                     {% else %}
  1095.                                         Remove<br>Item
  1096.                                     {% endif %}
  1097.                                 </li>
  1098.                                 <li class=\"ec-cartHeader__label\">
  1099.                                     {% if EnUser == false %}
  1100.                                         {{ 'front.cart.product'|trans }}
  1101.                                     {% else %}
  1102.                                         Product Info
  1103.                                     {% endif %}
  1104.                                 </li>
  1105.                                 <li class=\"ec-cartHeader__label\">
  1106.                                     {% if EnUser == false %}
  1107.                                         {{ 'common.quantity'|trans }}
  1108.                                     {% else %}
  1109.                                         Quantity
  1110.                                     {% endif %}
  1111.                                 </li>
  1112.                                 <li class=\"ec-cartHeader__label\">
  1113.                                     {% if EnUser == false %}
  1114.                                         {{ 'common.subtotal'|trans }}
  1115.                                     {% else %}
  1116.                                         Subtotal
  1117.                                     {% endif %}
  1118.                                 </li>
  1119.                             </ol>
  1120.                             {% for CartItem in Cart.CartItems %}
  1121.                                 {% set ProductClass = CartItem.ProductClass %}
  1122.                                 {% set Product = ProductClass.Product %}
  1123.                                 <ul class=\"ec-cartRow\">
  1124.                                     <li class=\"ec-cartRow__delColumn\">
  1125.                                         {% if EnUser == false %}
  1126.                                             <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  1127.                                                 <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  1128.                                             </a>
  1129.                                         {% else %}
  1130.                                             <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"ec-icon\" data-method=\"put\" data-message=\"Are you sure you want to remove the item from your cart?\">
  1131.                                                 <img src=\"{{ asset('assets/icon/cross.svg') }}\" alt=\"delete\">
  1132.                                             </a>
  1133.                                         {% endif %}
  1134.                                     </li>
  1135.                                     <li class=\"ec-cartRow__contentColumn\">
  1136.                                         <div class=\"ec-cartRow__img\">
  1137.                                             <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  1138.                                                 <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\"/>
  1139.                                             </a>
  1140.                                         </div>
  1141.                                         <div class=\"ec-cartRow__summary\">
  1142.                                             <div class=\"ec-cartRow__name\">
  1143.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  1144.                                                 {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  1145.                                                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  1146.                                                 {% endif %}
  1147.                                                 {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  1148.                                                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  1149.                                                 {% endif %}
  1150.                                             </div>
  1151.                                             <div class=\"ec-cartRow__unitPrice\">{{ CartItem.price|price }}</div>
  1152.                                             <div class=\"ec-cartRow__sutbtotalSP\">
  1153.                                                 {% if EnUser == false %}
  1154.                                                     {{ 'common.subtotal__with_separator'|trans }}
  1155.                                                 {% else %}
  1156.                                                     <span style=\"font-size: 10px;\">Subtotal:</span>
  1157.                                                 {% endif %}
  1158.                                                 {{ CartItem.total_price|price }}
  1159.                                             </div>
  1160.                                         </div>
  1161.                                     </li>
  1162.                                     <li class=\"ec-cartRow__amountColumn\">
  1163.                                         <div class=\"ec-cartRow__amount\">{{ CartItem.quantity|number_format }}</div>
  1164.                                         <div class=\"ec-cartRow__amountSP\">
  1165.                                             {% if EnUser == false %}
  1166.                                                 {{ 'common.quantity__with_separator'|trans }}
  1167.                                             {% else %}
  1168.                                                 <span style=\"font-size: 10px;\">Quantity:</span><br>
  1169.                                             {% endif %}
  1170.                                             {{ CartItem.quantity|number_format }}
  1171.                                         </div>
  1172.                                         <div class=\"ec-cartRow__amountUpDown\">
  1173.                                             {% if CartItem.quantity > 1 %}
  1174.                                                 <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\">
  1175.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus-dark.svg') }}\" alt=\"reduce\"></span>
  1176.                                                 </a>
  1177.                                             {% else %}
  1178.                                                 <div class=\"ec-cartRow__amountDownButtonDisabled\">
  1179.                                                     <span class=\"ec-cartRow__amountDownButton__icon\"><img src=\"{{ asset('assets/icon/minus.svg') }}\" alt=\"reduce\"></span>
  1180.                                                 </div>
  1181.                                             {% endif %}
  1182.                                             <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\">
  1183.                                                 <span class=\"ec-cartRow__amountUpButton__icon\"><img src=\"{{ asset('assets/icon/plus-dark.svg') }}\" alt=\"increase\"></span>
  1184.                                             </a>
  1185.                                         </div>
  1186.                                     </li>
  1187.                                     <li class=\"ec-cartRow__subtotalColumn\">
  1188.                                         <div class=\"ec-cartRow__sutbtotal\">{{ CartItem.total_price|price }}</div>
  1189.                                     </li>
  1190.                                 </ul>
  1191.                             {% endfor %}
  1192.                         </div>
  1193.                     </div>
  1194.                     <div class=\"ec-cartRole__progress\">
  1195.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  1196.                             <br/>
  1197.                             {% if is_delivery_free[cartKey] %}
  1198.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  1199.                             {% else %}
  1200.                                 {{ 'front.cart.delivery_fee_free__price_and_quantity'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  1201.                             {% endif %}
  1202.                         {% elseif BaseInfo.delivery_free_amount %}
  1203.                             <br/>
  1204.                             {% if is_delivery_free[cartKey] %}
  1205.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  1206.                             {% else %}
  1207.                                 {{ 'front.cart.delivery_fee_free__price'|trans({ '%price%': least[cartKey]|price })|raw }}
  1208.                             {% endif %}
  1209.                         {% elseif BaseInfo.delivery_free_quantity %}
  1210.                             <br/>
  1211.                             {% if is_delivery_free[cartKey] %}
  1212.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  1213.                             {% else %}
  1214.                                 {{ 'front.cart.delivery_fee_free__quantity'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  1215.                             {% endif %}
  1216.                         {% endif %}
  1217.                     </div>
  1218.                     <div class=\"ec-cartRole__actions\">
  1219.                         <div class=\"ec-cartRole__total\">
  1220.                             {% if EnUser == false %}
  1221.                                 {{ 'common.total__with_separator'|trans }}
  1222.                             {% else %}
  1223.                                 Total:
  1224.                             {% endif %}
  1225.                             <span class=\"ec-cartRole__totalAmount\">{{ Cart.totalPrice|price }}</span>
  1226.                             <span class=\"ec-cartRole__totalTax\">
  1227.                                 {% if EnUser == false %}
  1228.                                     (税込)
  1229.                                 {% else %}
  1230.                                     (incl. tax)
  1231.                                 {% endif %}
  1232.                             </span>
  1233.                         </div>
  1234.                         <a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">
  1235.                             {% if EnUser == false %}
  1236.                                 {{ 'front.cart.checkout'|trans }}
  1237.                             {% else %}
  1238.                                 Proceed to checkout
  1239.                             {% endif %}
  1240.                         </a>
  1241.                         {% if loop.last %}
  1242.                             <a class=\"ec-blockBtn--cancel\" href=\"{{ path('product_list') }}\">
  1243.                                 {% if EnUser == false %}
  1244.                                     {{ 'front.cart.continue'|trans }}
  1245.                                 {% else %}
  1246.                                     Keep shopping
  1247.                                 {% endif %}
  1248.                             </a>
  1249.                         {% endif %}
  1250.                     </div>
  1251.                 {% endfor %}
  1252.             </form>
  1253.         {% else %}
  1254.             {% for CartIndex,Cart in Carts %}
  1255.                 {% set cartKey = Cart.cart_key %}
  1256.                 {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  1257.                     <div class=\"ec-cartRole__error\">
  1258.                         <div class=\"ec-alert-warning\">
  1259.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1260.                             <div class=\"ec-alert-warning__text\">
  1261.                                 {{ error|trans|nl2br }}
  1262.                             </div>
  1263.                         </div>
  1264.                     </div>
  1265.                 {% endfor %}
  1266.             {% endfor %}
  1267.             <div class=\"ec-role\">
  1268.                 <div class=\"ec-off3Grid\">
  1269.                     <div class=\"ec-off3Grid__cell\">
  1270.                         <div class=\"ec-alert-warning\">
  1271.                             <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1272.                             <div class=\"ec-alert-warning__text\">{{ (EnUser ? 'There are currently no items in your cart.' : 'front.cart.no_items')|trans }}</div>
  1273.                         </div>
  1274.                     </div>
  1275.                 </div>
  1276.             </div>
  1277.         {% endif %}
  1278.     </div>
  1279.     {#
  1280.     <div class=\"ec-cartRole__notice\">
  1281.         <p class=\"ec-cartRole__notice-text\">※クレジットカードをご使用の場合は、@cardservice.co.jpのドメインのEメールの受信設定をご確認お願いいたします。</p>
  1282.     </div>
  1283.     #}
  1284. {% endblock %}
  1285. ""Cart/index.twig""/home/offshore2022/test-darcys-factory.xyz/public_html/app/template/default/Cart/index.twig");
  1286.     }
  1287. }