var/cache/dev/twig/54/54e5361b79c5c979d68ecd13fd875ac1.php line 40

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