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