var/cache/dev/twig/af/afeedfc0b2cde72f2028cfa1c98b5744.php line 53

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