var/cache/dev/twig/ac/ac6b87e1a38fac7183e9b9aab196c6893de26b089219e09db8d224a613f1bd6c.php line 50

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