var/cache/dev/twig/ad/ad1799d28357b8abec99ff1786fd6b59.php line 54

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_fd664d9442cb687f5c69c36ee2c8e93c 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.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Cart/index.twig"));
  41.         // line 3
  42.         $context["body_class"] = "cart_page";
  43.         // line 1
  44.         $this->parent $this->loadTemplate("default_frame.twig""Cart/index.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 5
  52.     public function block_javascript($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  59.         // line 6
  60.         echo "<script>
  61. function doChange(id){
  62.   var q_num = \$(\"#q_\" + id).val();
  63.   var o_num = \$(\"#o_\" + id).val();
  64.   var num = q_num - o_num;
  65.   location.href = \"";
  66.         // line 11
  67.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_change_num");
  68.         echo "?class_id=\" + id + \"&num=\" + num;
  69. }
  70. </script>
  71. ";
  72.         
  73.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  74.         
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  76.     }
  77.     // line 16
  78.     public function block_main($context, array $blocks = [])
  79.     {
  80.         $macros $this->macros;
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  85.         // line 17
  86.         echo "
  87. <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  88.         // line 18
  89.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  90.         echo "\">
  91.     <div class=\"ec-cartRole\">
  92.         <div class=\"ec-cartRole__progress\">
  93.             <ul class=\"ec-progress\">
  94.                 ";
  95.         // line 22
  96.         $context["step"] = 1;
  97.         // line 23
  98.         echo "                ";
  99.         $context["kanji_numbers"] = [=> "一"=> "二"=> "三"=> "四"=> "五"=> "六"=> "七"=> "八"=> "九"=> "十"];
  100.         // line 24
  101.         echo "
  102.                 ";
  103.         // line 26
  104.         echo "                ";
  105.         if ((twig_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.'26$this->source); })()), "request", [], "any"falsefalsetrue26), "get", [=> "_route"], "method"falsefalsetrue26) == "cart")) {
  106.             // line 27
  107.             echo "                <li class=\"ec-progress__item is-complete\">
  108.                     <div class=\"ec-progress__number\">";
  109.             // line 28
  110.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'28$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'28$this->source); })()) - 1), [], "array"falsefalsetrue28), 28$this->source), "html"nulltrue);
  111.             echo "</div>
  112.                     <div class=\"ec-progress__label\">";
  113.             // line 29
  114.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html"nulltrue);
  115.             echo "</div>
  116.                 </li>
  117.                 ";
  118.         } else {
  119.             // line 32
  120.             echo "                <li class=\"ec-progress__item\">
  121.                     <a href=\"";
  122.             // line 33
  123.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  124.             echo "\">
  125.                         <div class=\"ec-progress__number\">";
  126.             // line 34
  127.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'34$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'34$this->source); })()) - 1), [], "array"falsefalsetrue34), 34$this->source), "html"nulltrue);
  128.             echo "</div>
  129.                         <div class=\"ec-progress__label\">";
  130.             // line 35
  131.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html"nulltrue);
  132.             echo "</div>
  133.                     </a>
  134.                 </li>
  135.                 ";
  136.         }
  137.         // line 39
  138.         echo "                ";
  139.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'39$this->source); })()) + 1);
  140.         // line 40
  141.         echo "
  142.                 ";
  143.         // line 42
  144.         echo "                ";
  145.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
  146.             // line 43
  147.             echo "                ";
  148.             if ((twig_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.'43$this->source); })()), "request", [], "any"falsefalsetrue43), "get", [=> "_route"], "method"falsefalsetrue43) == "shopping_nonmember")) {
  149.                 // line 44
  150.                 echo "                <li class=\"ec-progress__item is-complete\">
  151.                     <div class=\"ec-progress__number\">";
  152.                 // line 45
  153.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'45$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'45$this->source); })()) - 1), [], "array"falsefalsetrue45), 45$this->source), "html"nulltrue);
  154.                 echo "</div>
  155.                     <div class=\"ec-progress__label\">";
  156.                 // line 46
  157.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  158.                 echo "</div>
  159.                 </li>
  160.                 ";
  161.             } elseif (twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 48
  162. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'48$this->source); })()), "request", [], "any"falsefalsetrue48), "get", [=> "_route"], "method"falsefalsetrue48), [=> "shopping"=> "shopping_confirm"=> "shopping_complete"])) {
  163.                 // line 49
  164.                 echo "                <li class=\"ec-progress__item\">
  165.                     <a href=\"";
  166.                 // line 50
  167.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_nonmember");
  168.                 echo "\">
  169.                         <div class=\"ec-progress__number\">";
  170.                 // line 51
  171.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'51$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'51$this->source); })()) - 1), [], "array"falsefalsetrue51), 51$this->source), "html"nulltrue);
  172.                 echo "</div>
  173.                         <div class=\"ec-progress__label\">";
  174.                 // line 52
  175.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  176.                 echo "</div>
  177.                     </a>
  178.                 </li>
  179.                 ";
  180.             } else {
  181.                 // line 56
  182.                 echo "                <li class=\"ec-progress__item\">
  183.                     <div class=\"ec-progress__number\">";
  184.                 // line 57
  185.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'57$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'57$this->source); })()) - 1), [], "array"falsefalsetrue57), 57$this->source), "html"nulltrue);
  186.                 echo "</div>
  187.                     <div class=\"ec-progress__label\">";
  188.                 // line 58
  189.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html"nulltrue);
  190.                 echo "</div>
  191.                 </li>
  192.                 ";
  193.             }
  194.             // line 61
  195.             echo "                ";
  196.             $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'61$this->source); })()) + 1);
  197.             // line 62
  198.             echo "                ";
  199.         }
  200.         // line 63
  201.         echo "
  202.                 ";
  203.         // line 65
  204.         echo "                ";
  205.         if ((twig_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.'65$this->source); })()), "request", [], "any"falsefalsetrue65), "get", [=> "_route"], "method"falsefalsetrue65) == "shopping")) {
  206.             // line 66
  207.             echo "                <li class=\"ec-progress__item is-complete\">
  208.                     <div class=\"ec-progress__number\">";
  209.             // line 67
  210.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'67$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'67$this->source); })()) - 1), [], "array"falsefalsetrue67), 67$this->source), "html"nulltrue);
  211.             echo "</div>
  212.                     <div class=\"ec-progress__label\">";
  213.             // line 68
  214.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  215.             echo "</div>
  216.                 </li>
  217.                 ";
  218.         } elseif (twig_in_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 70
  219. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'70$this->source); })()), "request", [], "any"falsefalsetrue70), "get", [=> "_route"], "method"falsefalsetrue70), [=> "shopping_confirm"=> "shopping_complete"])) {
  220.             // line 71
  221.             echo "                <li class=\"ec-progress__item\">
  222.                     <a href=\"";
  223.             // line 72
  224.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping");
  225.             echo "\">
  226.                         <div class=\"ec-progress__number\">";
  227.             // line 73
  228.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'73$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'73$this->source); })()) - 1), [], "array"falsefalsetrue73), 73$this->source), "html"nulltrue);
  229.             echo "</div>
  230.                         <div class=\"ec-progress__label\">";
  231.             // line 74
  232.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  233.             echo "</div>
  234.                     </a>
  235.                 </li>
  236.                 ";
  237.         } else {
  238.             // line 78
  239.             echo "                <li class=\"ec-progress__item\">
  240.                     <div class=\"ec-progress__number\">";
  241.             // line 79
  242.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'79$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'79$this->source); })()) - 1), [], "array"falsefalsetrue79), 79$this->source), "html"nulltrue);
  243.             echo "</div>
  244.                     <div class=\"ec-progress__label\">";
  245.             // line 80
  246.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html"nulltrue);
  247.             echo "</div>
  248.                 </li>
  249.                 ";
  250.         }
  251.         // line 83
  252.         echo "                ";
  253.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'83$this->source); })()) + 1);
  254.         // line 84
  255.         echo "
  256.                 ";
  257.         // line 86
  258.         echo "                ";
  259.         if ((twig_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.'86$this->source); })()), "request", [], "any"falsefalsetrue86), "get", [=> "_route"], "method"falsefalsetrue86) == "shopping_confirm")) {
  260.             // line 87
  261.             echo "                <li class=\"ec-progress__item is-complete\">
  262.                     <div class=\"ec-progress__number\">";
  263.             // line 88
  264.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'88$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'88$this->source); })()) - 1), [], "array"falsefalsetrue88), 88$this->source), "html"nulltrue);
  265.             echo "</div>
  266.                     <div class=\"ec-progress__label\">";
  267.             // line 89
  268.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html"nulltrue);
  269.             echo "</div>
  270.                 </li>
  271.                 ";
  272.         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 91
  273. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'91$this->source); })()), "request", [], "any"falsefalsetrue91), "get", [=> "_route"], "method"falsefalsetrue91) == "shopping_complete")) {
  274.             // line 92
  275.             echo "                <li class=\"ec-progress__item\">
  276.                     <a href=\"";
  277.             // line 93
  278.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_confirm");
  279.             echo "\">
  280.                         <div class=\"ec-progress__number\">";
  281.             // line 94
  282.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'94$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'94$this->source); })()) - 1), [], "array"falsefalsetrue94), 94$this->source), "html"nulltrue);
  283.             echo "</div>
  284.                         <div class=\"ec-progress__label\">";
  285.             // line 95
  286.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html"nulltrue);
  287.             echo "</div>
  288.                     </a>
  289.                 </li>
  290.                 ";
  291.         } else {
  292.             // line 99
  293.             echo "                <li class=\"ec-progress__item\">
  294.                     <div class=\"ec-progress__number\">";
  295.             // line 100
  296.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'100$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'100$this->source); })()) - 1), [], "array"falsefalsetrue100), 100$this->source), "html"nulltrue);
  297.             echo "</div>
  298.                     <div class=\"ec-progress__label\">";
  299.             // line 101
  300.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html"nulltrue);
  301.             echo "</div>
  302.                 </li>
  303.                 ";
  304.         }
  305.         // line 104
  306.         echo "                ";
  307.         $context["step"] = ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'104$this->source); })()) + 1);
  308.         // line 105
  309.         echo "
  310.                 ";
  311.         // line 107
  312.         echo "                ";
  313.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'107$this->source); })()), "request", [], "any"falsefalsetrue107), "get", [=> "_route"], "method"falsefalsetrue107) == "shopping_complete")) {
  314.             // line 108
  315.             echo "                <li class=\"ec-progress__item is-complete\">
  316.                     <div class=\"ec-progress__number\">";
  317.             // line 109
  318.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'109$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'109$this->source); })()) - 1), [], "array"falsefalsetrue109), 109$this->source), "html"nulltrue);
  319.             echo "</div>
  320.                     <div class=\"ec-progress__label\">";
  321.             // line 110
  322.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html"nulltrue);
  323.             echo "</div>
  324.                 </li>
  325.                 ";
  326.         } else {
  327.             // line 113
  328.             echo "                <li class=\"ec-progress__item\">
  329.                     <div class=\"ec-progress__number\">";
  330.             // line 114
  331.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers"$context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.'114$this->source); })()), ((isset($context["step"]) || array_key_exists("step"$context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.'114$this->source); })()) - 1), [], "array"falsefalsetrue114), 114$this->source), "html"nulltrue);
  332.             echo "</div>
  333.                     <div class=\"ec-progress__label\">";
  334.             // line 115
  335.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html"nulltrue);
  336.             echo "</div>
  337.                 </li>
  338.                 ";
  339.         }
  340.         // line 118
  341.         echo "            </ul>
  342.         </div>
  343.         <div class=\"ec-role\">
  344.             <div class=\"ec-pageHeader\">
  345.                 <h1>";
  346.         // line 124
  347.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ショッピングカート"), "html"nulltrue);
  348.         echo "</h1>
  349.             </div>
  350.         </div>
  351.         ";
  352.         // line 128
  353.         $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.'128$this->source); })()), "session", [], "any"falsefalsetrue128), "flashbag", [], "any"falsefalsetrue128), "get", [=> "eccube.front.request.product"], "method"falsefalsetrue128);
  354.         // line 129
  355.         echo "        ";
  356.         $context['_parent'] = $context;
  357.         $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.'129$this->source); })()), "session", [], "any"falsefalsetrue129), "flashbag", [], "any"falsefalsetrue129), "get", [=> "eccube.front.request.error"], "method"falsefalsetrue129));
  358.         $context['loop'] = [
  359.           'parent' => $context['_parent'],
  360.           'index0' => 0,
  361.           'index'  => 1,
  362.           'first'  => true,
  363.         ];
  364.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  365.             $length count($context['_seq']);
  366.             $context['loop']['revindex0'] = $length 1;
  367.             $context['loop']['revindex'] = $length;
  368.             $context['loop']['length'] = $length;
  369.             $context['loop']['last'] = === $length;
  370.         }
  371.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  372.             // line 130
  373.             echo "        ";
  374.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue130);
  375.             // line 131
  376.             echo "        <div class=\"ec-cartRole__error\">
  377.             <div class=\"ec-alert-warning\">
  378.                 ";
  379.             // line 134
  380.             echo "                <div class=\"ec-alert-warning__text\">
  381.                     ";
  382.             // line 135
  383.             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.'135$this->source); })()), [], "array"truetruetrue135)) {
  384.                 // line 136
  385.                 echo "                    ";
  386.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 136$this->source), ["%product%" => twig_get_attribute($this->env$this->source, (isset($context["productStr"]) || array_key_exists("productStr"$context) ? $context["productStr"] : (function () { throw new RuntimeError('Variable "productStr" does not exist.'136$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'136$this->source); })()), [], "array"falsefalsetrue136)]), "html"nulltrue));
  387.                 echo "
  388.                     ";
  389.             } else {
  390.                 // line 138
  391.                 echo "                    ";
  392.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 138$this->source)), "html"nulltrue));
  393.                 echo "
  394.                     ";
  395.             }
  396.             // line 140
  397.             echo "                </div>
  398.             </div>
  399.         </div>
  400.         ";
  401.             ++$context['loop']['index0'];
  402.             ++$context['loop']['index'];
  403.             $context['loop']['first'] = false;
  404.             if (isset($context['loop']['length'])) {
  405.                 --$context['loop']['revindex0'];
  406.                 --$context['loop']['revindex'];
  407.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  408.             }
  409.         }
  410.         $_parent $context['_parent'];
  411.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  412.         $context array_intersect_key($context$_parent) + $_parent;
  413.         // line 144
  414.         echo "        ";
  415.         $context['_parent'] = $context;
  416.         $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.'144$this->source); })()), "session", [], "any"falsefalsetrue144), "flashbag", [], "any"falsefalsetrue144), "get", [=> "eccube.front.cart.error"], "method"falsefalsetrue144));
  417.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  418.             // line 145
  419.             echo "        <div class=\"ec-cartRole__error\">
  420.             <div class=\"ec-alert-warning\">
  421.                 ";
  422.             // line 149
  423.             echo "                <div class=\"ec-alert-warning__text\">
  424.                     ";
  425.             // line 150
  426.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 150$this->source)), "html"nulltrue));
  427.             echo "
  428.                 </div>
  429.             </div>
  430.         </div>
  431.         ";
  432.         }
  433.         $_parent $context['_parent'];
  434.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  435.         $context array_intersect_key($context$_parent) + $_parent;
  436.         // line 155
  437.         echo "        ";
  438.         if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'155$this->source); })()) > 0)) {
  439.             // line 156
  440.             echo "        <div class=\"ec-cartRole__totalText\">
  441.             ご注文内容
  442.         </div>
  443.         ";
  444.             // line 159
  445.             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.'159$this->source); })())) > 1)) {
  446.                 // line 160
  447.                 echo "        <div class=\"ec-cartRole__error\">
  448.             <div class=\"ec-alert-warning\">
  449.                 <div class=\"ec-alert-warning__text\">
  450.                     ";
  451.                 // line 163
  452.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同時購入できない商品がカートに含まれています。"), "html"nulltrue));
  453.                 echo "
  454.                 </div>
  455.             </div>
  456.         </div>
  457.         ";
  458.             }
  459.             // line 168
  460.             echo "
  461.         ";
  462.             // line 169
  463.             $context['_parent'] = $context;
  464.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'169$this->source); })()));
  465.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  466.                 // line 170
  467.                 echo "        ";
  468.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue170);
  469.                 // line 171
  470.                 echo "        ";
  471.                 $context['_parent'] = $context;
  472.                 $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.'171$this->source); })()), "session", [], "any"falsefalsetrue171), "flashbag", [], "any"falsefalsetrue171), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'171$this->source); })())) . ".request.error")], "method"falsefalsetrue171));
  473.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  474.                     // line 172
  475.                     echo "        <div class=\"ec-cartRole__error\">
  476.             <div class=\"ec-alert-warning\">
  477.                 ";
  478.                     // line 175
  479.                     echo "                <div class=\"ec-alert-warning__text\">
  480.                     ";
  481.                     // line 176
  482.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 176$this->source)), "html"nulltrue));
  483.                     echo "
  484.                 </div>
  485.             </div>
  486.         </div>
  487.         ";
  488.                 }
  489.                 $_parent $context['_parent'];
  490.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  491.                 $context array_intersect_key($context$_parent) + $_parent;
  492.                 // line 181
  493.                 echo "
  494.         <!-- カートコンテナ開始 -->
  495.         <div class=\"cart__container\">
  496.             <!-- カートヘッダー -->
  497.             <div class=\"cart__header\">
  498.                 <div class=\"cart__header-item cart__header-image\">画像</div>
  499.                 <div class=\"cart__header-item cart__header-name\">商品名</div>
  500.                 <div class=\"cart__header-item cart__header-price\">価格</div>
  501.                 <div class=\"cart__header-item cart__header-quantity\">数量</div>
  502.                 <div class=\"cart__header-item cart__header-subtotal\">小計</div>
  503.                 <div class=\"cart__header-item cart__header-delete\">削除</div>
  504.             </div>
  505.             ";
  506.                 // line 194
  507.                 $context['_parent'] = $context;
  508.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue194));
  509.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  510.                     // line 195
  511.                     echo "            ";
  512.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue195);
  513.                     // line 196
  514.                     echo "            ";
  515.                     $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.'196$this->source); })()), "Product", [], "any"falsefalsetrue196);
  516.                     // line 197
  517.                     echo "            <!-- 商品行 -->
  518.             <div class=\"cart__row\">
  519.                 <div class=\"cart__cell cart__cell-image\">
  520.                     <a target=\"_blank\" href=\"";
  521.                     // line 200
  522.                     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.'200$this->source); })()), "id", [], "any"falsefalsetrue200)]), "html"nulltrue);
  523.                     echo "\">
  524.                         <img src=\"";
  525.                     // line 201
  526.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'201$this->source); })()), "MainListImage", [], "any"falsefalsetrue201), 201$this->source)), "save_image"), "html"nulltrue);
  527.                     echo "\" class=\"product_img\" alt=\"";
  528.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'201$this->source); })()), "name", [], "any"falsefalsetrue201), 201$this->source), "html"nulltrue);
  529.                     echo "\" />
  530.                     </a>
  531.                 </div>
  532.                 <div class=\"cart__cell cart__cell-name\">
  533.                     <a target=\"_blank\" href=\"";
  534.                     // line 205
  535.                     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.'205$this->source); })()), "id", [], "any"falsefalsetrue205)]), "html"nulltrue);
  536.                     echo "\">";
  537.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'205$this->source); })()), "name", [], "any"falsefalsetrue205), 205$this->source), "html"nulltrue);
  538.                     echo "</a>
  539.                     ";
  540.                     // line 206
  541.                     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.'206$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue206) && 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.'206$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue206), "id", [], "any"falsefalsetrue206))) {
  542.                         // line 207
  543.                         echo "                    <br>";
  544.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'207$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue207), "ClassName", [], "any"falsefalsetrue207), "name", [], "any"falsefalsetrue207), 207$this->source), "html"nulltrue);
  545.                         echo ":";
  546.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'207$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue207), 207$this->source), "html"nulltrue);
  547.                         echo "
  548.                     ";
  549.                     }
  550.                     // line 209
  551.                     echo "                    ";
  552.                     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.'209$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue209) && 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.'209$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue209), "id", [], "any"falsefalsetrue209))) {
  553.                         // line 210
  554.                         echo "                    <br>";
  555.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'210$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue210), "ClassName", [], "any"falsefalsetrue210), "name", [], "any"falsefalsetrue210), 210$this->source), "html"nulltrue);
  556.                         echo ":";
  557.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'210$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue210), 210$this->source), "html"nulltrue);
  558.                         echo "
  559.                     ";
  560.                     }
  561.                     // line 212
  562.                     echo "                </div>
  563.                 <div class=\"cart__cell cart__cell-price\">";
  564.                     // line 213
  565.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsetrue213), 213$this->source)), "html"nulltrue);
  566.                     echo "円</div>
  567.                 <div class=\"cart__cell cart__cell-quantity\">
  568.                     <span class=\"cart__quantity-value title\">数量</span>
  569.                     <span class=\"cart__quantity-value\">
  570.                       <input type=\"number\" value=\"";
  571.                     // line 217
  572.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue217), 217$this->source), "html"nulltrue);
  573.                     echo "\" id=\"q_";
  574.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'217$this->source); })()), "id", [], "any"falsefalsetrue217), 217$this->source), "html"nulltrue);
  575.                     echo "\">
  576.                       <input type=\"hidden\" value=\"";
  577.                     // line 218
  578.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue218), 218$this->source), "html"nulltrue);
  579.                     echo "\" id=\"o_";
  580.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'218$this->source); })()), "id", [], "any"falsefalsetrue218), 218$this->source), "html"nulltrue);
  581.                     echo "\">
  582.                       個<button type=\"button\" class=\"btn btn-default btn-change\" onclick=\"doChange('";
  583.                     // line 219
  584.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'219$this->source); })()), "id", [], "any"falsefalsetrue219), 219$this->source), "html"nulltrue);
  585.                     echo "');\">変更</button>
  586.                 </div>
  587.                 <div class=\"cart__cell cart__cell-subtotal\"><span class=\"cart__cell-subtotal title\">小計</span> <span class=\"cart__cell-subtotalValue\">";
  588.                     // line 221
  589.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "total_price", [], "any"falsefalsetrue221), 221$this->source)), "html"nulltrue);
  590.                     echo "円</span></div>
  591.                 <div class=\"cart__cell cart__cell-delete\">
  592.                     <a href=\"";
  593.                     // line 223
  594.                     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.'223$this->source); })()), "id", [], "any"falsefalsetrue223)]), "html"nulltrue);
  595.                     echo "\" ";
  596.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  597.                     echo " class=\"cart__delete-button\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">削除</a>
  598.                 </div>
  599.             </div>
  600.             ";
  601.                 }
  602.                 $_parent $context['_parent'];
  603.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  604.                 $context array_intersect_key($context$_parent) + $_parent;
  605.                 // line 227
  606.                 echo "
  607.             <!-- 合計行 -->
  608.             <div class=\"cart__row cart__row-total\">
  609.                 <div class=\"cart__cell cart__cell-total-label\">商品合計</div>
  610.                 <div class=\"cart__cell cart__cell-total-value\">";
  611.                 // line 231
  612.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsetrue231), 231$this->source)), "html"nulltrue);
  613.                 echo "円</div>
  614.             </div>
  615.         </div>
  616.         <!-- カートコンテナ終了 -->
  617.         ";
  618.             }
  619.             $_parent $context['_parent'];
  620.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  621.             $context array_intersect_key($context$_parent) + $_parent;
  622.             // line 236
  623.             echo "        ";
  624.         } else {
  625.             // line 237
  626.             echo "        ";
  627.             $context['_parent'] = $context;
  628.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'237$this->source); })()));
  629.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  630.                 // line 238
  631.                 echo "        ";
  632.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue238);
  633.                 // line 239
  634.                 echo "        ";
  635.                 $context['_parent'] = $context;
  636.                 $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.'239$this->source); })()), "session", [], "any"falsefalsetrue239), "flashbag", [], "any"falsefalsetrue239), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'239$this->source); })())) . ".request.error")], "method"falsefalsetrue239));
  637.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  638.                     // line 240
  639.                     echo "        <div class=\"ec-cartRole__error\">
  640.             <div class=\"ec-alert-warning\">
  641.                 ";
  642.                     // line 243
  643.                     echo "                <div class=\"ec-alert-warning__text\">
  644.                     ";
  645.                     // line 244
  646.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 244$this->source)), "html"nulltrue));
  647.                     echo "
  648.                 </div>
  649.             </div>
  650.         </div>
  651.         ";
  652.                 }
  653.                 $_parent $context['_parent'];
  654.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  655.                 $context array_intersect_key($context$_parent) + $_parent;
  656.                 // line 249
  657.                 echo "        ";
  658.             }
  659.             $_parent $context['_parent'];
  660.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  661.             $context array_intersect_key($context$_parent) + $_parent;
  662.             // line 250
  663.             echo "        <div class=\"ec-role\">
  664.             <div class=\"ec-off3Grid\">
  665.                 <div class=\"ec-off3Grid__cell\">
  666.                     <div class=\"ec-alert-warning\">
  667.                         ";
  668.             // line 255
  669.             echo "                        <div class=\"ec-alert-warning__text\">";
  670.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在カート内に商品はございません。"), "html"nulltrue);
  671.             echo "</div>
  672.                     </div>
  673.                 </div>
  674.             </div>
  675.         </div>
  676.         ";
  677.         }
  678.         // line 261
  679.         echo "    </div>
  680.     ";
  681.         // line 263
  682.         $context['_parent'] = $context;
  683.         $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'263$this->source); })()));
  684.         foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  685.             // line 264
  686.             echo "    ";
  687.             $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue264);
  688.             // line 265
  689.             echo "
  690.     <div class=\"ec-cartRole__progress\">
  691.         <span class=\"ec-cartRole__progress__free\">1件あたり5,400円以上送料無料</span>
  692.         ";
  693.             // line 268
  694.             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.'268$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue268) && 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.'268$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue268))) {
  695.                 // line 269
  696.                 echo "        ";
  697.                 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.'269$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'269$this->source); })()), [], "array"falsefalsetrue269)) {
  698.                     // line 270
  699.                     echo "        <p>";
  700.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  701.                     echo "</p>
  702.         ";
  703.                 } else {
  704.                     // line 272
  705.                     echo "        <p>";
  706.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>円」で送料無料です。", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'272$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'272$this->source); })()), [], "array"falsefalsetrue272), 272$this->source)), "%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'272$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'272$this->source); })()), [], "array"falsefalsetrue272), 272$this->source))]);
  707.                     echo "</p>
  708.         ";
  709.                 }
  710.                 // line 274
  711.                 echo "        ";
  712.             } 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.'274$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue274)) {
  713.                 // line 275
  714.                 echo "        ";
  715.                 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.'275$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'275$this->source); })()), [], "array"falsefalsetrue275)) {
  716.                     // line 276
  717.                     echo "        <p>";
  718.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  719.                     echo "</p>
  720.         ";
  721.                 } else {
  722.                     // line 278
  723.                     echo "        <p>";
  724.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>円」で送料無料です。", ["%price%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'278$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'278$this->source); })()), [], "array"falsefalsetrue278), 278$this->source))]);
  725.                     echo "</p>
  726.         ";
  727.                 }
  728.                 // line 280
  729.                 echo "        ";
  730.             } 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.'280$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue280)) {
  731.                 // line 281
  732.                 echo "        ";
  733.                 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.'281$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'281$this->source); })()), [], "array"falsefalsetrue281)) {
  734.                     // line 282
  735.                     echo "        <p>";
  736.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html"nulltrue);
  737.                     echo "</p>
  738.         ";
  739.                 } else {
  740.                     // line 284
  741.                     echo "        <p>";
  742.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>」送料無料です。", ["%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'284$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'284$this->source); })()), [], "array"falsefalsetrue284), 284$this->source))]);
  743.                     echo "</p>
  744.         ";
  745.                 }
  746.                 // line 286
  747.                 echo "        ";
  748.             }
  749.             // line 287
  750.             echo "    </div>
  751.     <div id=\"btn_area\">
  752.         <ul>
  753.             <li><a class=\"ec-blockBtn--cancel\" href=\"";
  754.             // line 291
  755.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  756.             echo "\">";
  757.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("買い物を続ける"), "html"nulltrue);
  758.             echo "</a></li>
  759.             <li><a class=\"ec-blockBtn--action\" href=\"";
  760.             // line 292
  761.             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.'292$this->source); })())]), "html"nulltrue);
  762.             echo "\">";
  763.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("購入手続きに進む"), "html"nulltrue);
  764.             echo "</a></li>
  765.         </ul>
  766.     </div>
  767.     ";
  768.         }
  769.         $_parent $context['_parent'];
  770.         unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  771.         $context array_intersect_key($context$_parent) + $_parent;
  772.         // line 296
  773.         echo "</form>
  774. <div id=\"cart_log_area\">
  775.     <p>※必ずお読みください。</p>
  776. <p>@kakiyama.comからのメール受信ができるよう、あらかじめ設定をお願いいたします。<br>
  777.     お問い合せをする場合がありますので、必ずメールはご確認ください。</p>
  778. <p>1件のご注文につき、お届け先は1ヶ所のみ指定可能です。複数箇所への配送をご希望の場合、1件ずつご注文を確定してください。</p>
  779. <p>領収書につきましては、「発送完了メール記載のURL」または「マイページ(会員のお客様のみ)」よりPDFデータがダウンロード可能です。<br>
  780.     代金引換の領収書につきましては、ヤマト運輸が発行する送り状(伝票)の控えを領収書とさせていただきます。</p>
  781. <p>離島・一部地域への配送、悪天候などの配送状況によって配送が遅れる場合がございます。あらかじめご了承ください。<br>
  782.     詳しくは、<a href=\"https://www.kuronekoyamato.co.jp/\" target=\"_blank\">ヤマト運輸の公式サイト</a>にてご確認ください。</p>
  783. </div>
  784. ";
  785.         
  786.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  787.         
  788.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  789.     }
  790.     public function getTemplateName()
  791.     {
  792.         return "Cart/index.twig";
  793.     }
  794.     public function isTraitable()
  795.     {
  796.         return false;
  797.     }
  798.     public function getDebugInfo()
  799.     {
  800.         return array (  798 => 296,  786 => 292,  780 => 291,  774 => 287,  771 => 286,  765 => 284,  759 => 282,  756 => 281,  753 => 280,  747 => 278,  741 => 276,  738 => 275,  735 => 274,  729 => 272,  723 => 270,  720 => 269,  718 => 268,  713 => 265,  710 => 264,  706 => 263,  702 => 261,  692 => 255,  686 => 250,  680 => 249,  669 => 244,  666 => 243,  662 => 240,  657 => 239,  654 => 238,  649 => 237,  646 => 236,  635 => 231,  629 => 227,  617 => 223,  612 => 221,  607 => 219,  601 => 218,  595 => 217,  588 => 213,  585 => 212,  577 => 210,  574 => 209,  566 => 207,  564 => 206,  558 => 205,  549 => 201,  545 => 200,  540 => 197,  537 => 196,  534 => 195,  530 => 194,  515 => 181,  504 => 176,  501 => 175,  497 => 172,  492 => 171,  489 => 170,  485 => 169,  482 => 168,  474 => 163,  469 => 160,  467 => 159,  462 => 156,  459 => 155,  448 => 150,  445 => 149,  441 => 145,  436 => 144,  419 => 140,  413 => 138,  407 => 136,  405 => 135,  402 => 134,  398 => 131,  395 => 130,  377 => 129,  375 => 128,  368 => 124,  360 => 118,  354 => 115,  350 => 114,  347 => 113,  341 => 110,  337 => 109,  334 => 108,  331 => 107,  328 => 105,  325 => 104,  319 => 101,  315 => 100,  312 => 99,  305 => 95,  301 => 94,  297 => 93,  294 => 92,  292 => 91,  287 => 89,  283 => 88,  280 => 87,  277 => 86,  274 => 84,  271 => 83,  265 => 80,  261 => 79,  258 => 78,  251 => 74,  247 => 73,  243 => 72,  240 => 71,  238 => 70,  233 => 68,  229 => 67,  226 => 66,  223 => 65,  220 => 63,  217 => 62,  214 => 61,  208 => 58,  204 => 57,  201 => 56,  194 => 52,  190 => 51,  186 => 50,  183 => 49,  181 => 48,  176 => 46,  172 => 45,  169 => 44,  166 => 43,  163 => 42,  160 => 40,  157 => 39,  150 => 35,  146 => 34,  142 => 33,  139 => 32,  133 => 29,  129 => 28,  126 => 27,  123 => 26,  120 => 24,  117 => 23,  115 => 22,  108 => 18,  105 => 17,  95 => 16,  81 => 11,  74 => 6,  64 => 5,  53 => 1,  51 => 3,  38 => 1,);
  801.     }
  802.     public function getSourceContext()
  803.     {
  804.         return new Source("{% extends 'default_frame.twig' %}
  805. {% set body_class = 'cart_page' %}
  806. {% block javascript %}
  807. <script>
  808. function doChange(id){
  809.   var q_num = \$(\"#q_\" + id).val();
  810.   var o_num = \$(\"#o_\" + id).val();
  811.   var num = q_num - o_num;
  812.   location.href = \"{{ url('cart_change_num') }}?class_id=\" + id + \"&num=\" + num;
  813. }
  814. </script>
  815. {% endblock %}
  816. {% block main %}
  817. <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  818.     <div class=\"ec-cartRole\">
  819.         <div class=\"ec-cartRole__progress\">
  820.             <ul class=\"ec-progress\">
  821.                 {% set step = 1 %}
  822.                 {% set kanji_numbers = ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十'] %}
  823.                 {# カートページ #}
  824.                 {% if app.request.get('_route') == 'cart' %}
  825.                 <li class=\"ec-progress__item is-complete\">
  826.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  827.                     <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}</div>
  828.                 </li>
  829.                 {% else %}
  830.                 <li class=\"ec-progress__item\">
  831.                     <a href=\"{{ url('cart') }}\">
  832.                         <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  833.                         <div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}</div>
  834.                     </a>
  835.                 </li>
  836.                 {% endif %}
  837.                 {% set step = step + 1 %}
  838.                 {# お客様情報 #}
  839.                 {% if is_granted('ROLE_USER') == false %}
  840.                 {% if app.request.get('_route') == 'shopping_nonmember' %}
  841.                 <li class=\"ec-progress__item is-complete\">
  842.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  843.                     <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}</div>
  844.                 </li>
  845.                 {% elseif app.request.get('_route') in ['shopping', 'shopping_confirm', 'shopping_complete'] %}
  846.                 <li class=\"ec-progress__item\">
  847.                     <a href=\"{{ url('shopping_nonmember') }}\">
  848.                         <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  849.                         <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}</div>
  850.                     </a>
  851.                 </li>
  852.                 {% else %}
  853.                 <li class=\"ec-progress__item\">
  854.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  855.                     <div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}</div>
  856.                 </li>
  857.                 {% endif %}
  858.                 {% set step = step + 1 %}
  859.                 {% endif %}
  860.                 {# ご注文手続き #}
  861.                 {% if app.request.get('_route') == 'shopping' %}
  862.                 <li class=\"ec-progress__item is-complete\">
  863.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  864.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}</div>
  865.                 </li>
  866.                 {% elseif app.request.get('_route') in ['shopping_confirm', 'shopping_complete'] %}
  867.                 <li class=\"ec-progress__item\">
  868.                     <a href=\"{{ url('shopping') }}\">
  869.                         <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  870.                         <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}</div>
  871.                     </a>
  872.                 </li>
  873.                 {% else %}
  874.                 <li class=\"ec-progress__item\">
  875.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  876.                     <div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}</div>
  877.                 </li>
  878.                 {% endif %}
  879.                 {% set step = step + 1 %}
  880.                 {# ご注文内容確認 #}
  881.                 {% if app.request.get('_route') == 'shopping_confirm' %}
  882.                 <li class=\"ec-progress__item is-complete\">
  883.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  884.                     <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}</div>
  885.                 </li>
  886.                 {% elseif app.request.get('_route') == 'shopping_complete' %}
  887.                 <li class=\"ec-progress__item\">
  888.                     <a href=\"{{ url('shopping_confirm') }}\">
  889.                         <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  890.                         <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}</div>
  891.                     </a>
  892.                 </li>
  893.                 {% else %}
  894.                 <li class=\"ec-progress__item\">
  895.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  896.                     <div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}</div>
  897.                 </li>
  898.                 {% endif %}
  899.                 {% set step = step + 1 %}
  900.                 {# 完了 #}
  901.                 {% if app.request.get('_route') == 'shopping_complete' %}
  902.                 <li class=\"ec-progress__item is-complete\">
  903.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  904.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}</div>
  905.                 </li>
  906.                 {% else %}
  907.                 <li class=\"ec-progress__item\">
  908.                     <div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
  909.                     <div class=\"ec-progress__label\">{{ '完了'|trans }}</div>
  910.                 </li>
  911.                 {% endif %}
  912.             </ul>
  913.         </div>
  914.         <div class=\"ec-role\">
  915.             <div class=\"ec-pageHeader\">
  916.                 <h1>{{ 'ショッピングカート'|trans }}</h1>
  917.             </div>
  918.         </div>
  919.         {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  920.         {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  921.         {% set idx = loop.index0 %}
  922.         <div class=\"ec-cartRole__error\">
  923.             <div class=\"ec-alert-warning\">
  924.                 {#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
  925.                 <div class=\"ec-alert-warning__text\">
  926.                     {% if productStr[idx] is defined %}
  927.                     {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  928.                     {% else %}
  929.                     {{ error|trans|nl2br }}
  930.                     {% endif %}
  931.                 </div>
  932.             </div>
  933.         </div>
  934.         {% endfor %}
  935.         {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  936.         <div class=\"ec-cartRole__error\">
  937.             <div class=\"ec-alert-warning\">
  938.                 {#
  939.                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
  940.                 <div class=\"ec-alert-warning__text\">
  941.                     {{ error|trans|nl2br }}
  942.                 </div>
  943.             </div>
  944.         </div>
  945.         {% endfor %}
  946.         {% if totalQuantity > 0 %}
  947.         <div class=\"ec-cartRole__totalText\">
  948.             ご注文内容
  949.         </div>
  950.         {% if Carts|length > 1 %}
  951.         <div class=\"ec-cartRole__error\">
  952.             <div class=\"ec-alert-warning\">
  953.                 <div class=\"ec-alert-warning__text\">
  954.                     {{ '同時購入できない商品がカートに含まれています。'|trans|nl2br }}
  955.                 </div>
  956.             </div>
  957.         </div>
  958.         {% endif %}
  959.         {% for CartIndex,Cart in Carts %}
  960.         {% set cartKey = Cart.cart_key %}
  961.         {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  962.         <div class=\"ec-cartRole__error\">
  963.             <div class=\"ec-alert-warning\">
  964.                 {#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
  965.                 <div class=\"ec-alert-warning__text\">
  966.                     {{ error|trans|nl2br }}
  967.                 </div>
  968.             </div>
  969.         </div>
  970.         {% endfor %}
  971.         <!-- カートコンテナ開始 -->
  972.         <div class=\"cart__container\">
  973.             <!-- カートヘッダー -->
  974.             <div class=\"cart__header\">
  975.                 <div class=\"cart__header-item cart__header-image\">画像</div>
  976.                 <div class=\"cart__header-item cart__header-name\">商品名</div>
  977.                 <div class=\"cart__header-item cart__header-price\">価格</div>
  978.                 <div class=\"cart__header-item cart__header-quantity\">数量</div>
  979.                 <div class=\"cart__header-item cart__header-subtotal\">小計</div>
  980.                 <div class=\"cart__header-item cart__header-delete\">削除</div>
  981.             </div>
  982.             {% for CartItem in Cart.CartItems %}
  983.             {% set ProductClass = CartItem.ProductClass %}
  984.             {% set Product = ProductClass.Product %}
  985.             <!-- 商品行 -->
  986.             <div class=\"cart__row\">
  987.                 <div class=\"cart__cell cart__cell-image\">
  988.                     <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  989.                         <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" class=\"product_img\" alt=\"{{ Product.name }}\" />
  990.                     </a>
  991.                 </div>
  992.                 <div class=\"cart__cell cart__cell-name\">
  993.                     <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
  994.                     {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  995.                     <br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
  996.                     {% endif %}
  997.                     {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  998.                     <br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
  999.                     {% endif %}
  1000.                 </div>
  1001.                 <div class=\"cart__cell cart__cell-price\">{{ CartItem.price|number_format }}円</div>
  1002.                 <div class=\"cart__cell cart__cell-quantity\">
  1003.                     <span class=\"cart__quantity-value title\">数量</span>
  1004.                     <span class=\"cart__quantity-value\">
  1005.                       <input type=\"number\" value=\"{{ CartItem.quantity }}\" id=\"q_{{ ProductClass.id }}\">
  1006.                       <input type=\"hidden\" value=\"{{ CartItem.quantity }}\" id=\"o_{{ ProductClass.id }}\">
  1007.                       個<button type=\"button\" class=\"btn btn-default btn-change\" onclick=\"doChange('{{ ProductClass.id }}');\">変更</button>
  1008.                 </div>
  1009.                 <div class=\"cart__cell cart__cell-subtotal\"><span class=\"cart__cell-subtotal title\">小計</span> <span class=\"cart__cell-subtotalValue\">{{ CartItem.total_price|number_format }}円</span></div>
  1010.                 <div class=\"cart__cell cart__cell-delete\">
  1011.                     <a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"cart__delete-button\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">削除</a>
  1012.                 </div>
  1013.             </div>
  1014.             {% endfor %}
  1015.             <!-- 合計行 -->
  1016.             <div class=\"cart__row cart__row-total\">
  1017.                 <div class=\"cart__cell cart__cell-total-label\">商品合計</div>
  1018.                 <div class=\"cart__cell cart__cell-total-value\">{{ Cart.totalPrice|number_format }}円</div>
  1019.             </div>
  1020.         </div>
  1021.         <!-- カートコンテナ終了 -->
  1022.         {% endfor %}
  1023.         {% else %}
  1024.         {% for CartIndex,Cart in Carts %}
  1025.         {% set cartKey = Cart.cart_key %}
  1026.         {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  1027.         <div class=\"ec-cartRole__error\">
  1028.             <div class=\"ec-alert-warning\">
  1029.                 {#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
  1030.                 <div class=\"ec-alert-warning__text\">
  1031.                     {{ error|trans|nl2br }}
  1032.                 </div>
  1033.             </div>
  1034.         </div>
  1035.         {% endfor %}
  1036.         {% endfor %}
  1037.         <div class=\"ec-role\">
  1038.             <div class=\"ec-off3Grid\">
  1039.                 <div class=\"ec-off3Grid__cell\">
  1040.                     <div class=\"ec-alert-warning\">
  1041.                         {#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
  1042.                         <div class=\"ec-alert-warning__text\">{{ '現在カート内に商品はございません。'|trans }}</div>
  1043.                     </div>
  1044.                 </div>
  1045.             </div>
  1046.         </div>
  1047.         {% endif %}
  1048.     </div>
  1049.     {% for CartIndex,Cart in Carts %}
  1050.     {% set cartKey = Cart.cart_key %}
  1051.     <div class=\"ec-cartRole__progress\">
  1052.         <span class=\"ec-cartRole__progress__free\">1件あたり5,400円以上送料無料</span>
  1053.         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  1054.         {% if is_delivery_free[cartKey] %}
  1055.         <p>{{ '現在送料無料です。'|trans }}</p>
  1056.         {% else %}
  1057.         <p>{{ 'あと「<strong>%price%</strong>円」で送料無料です。'|trans({ '%price%': least[cartKey]|number_format, '%quantity%': quantity[cartKey]|number_format })|raw }}</p>
  1058.         {% endif %}
  1059.         {% elseif BaseInfo.delivery_free_amount %}
  1060.         {% if is_delivery_free[cartKey] %}
  1061.         <p>{{ '現在送料無料です。'|trans }}</p>
  1062.         {% else %}
  1063.         <p>{{ 'あと「<strong>%price%</strong>円」で送料無料です。'|trans({ '%price%': least[cartKey]|number_format })|raw }}</p>
  1064.         {% endif %}
  1065.         {% elseif BaseInfo.delivery_free_quantity %}
  1066.         {% if is_delivery_free[cartKey] %}
  1067.         <p>{{ '現在送料無料です。'|trans }}</p>
  1068.         {% else %}
  1069.         <p>{{ 'あと「<strong>%price%</strong>」送料無料です。'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}</p>
  1070.         {% endif %}
  1071.         {% endif %}
  1072.     </div>
  1073.     <div id=\"btn_area\">
  1074.         <ul>
  1075.             <li><a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ '買い物を続ける'|trans }}</a></li>
  1076.             <li><a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ '購入手続きに進む'|trans }}</a></li>
  1077.         </ul>
  1078.     </div>
  1079.     {% endfor %}
  1080. </form>
  1081. <div id=\"cart_log_area\">
  1082.     <p>※必ずお読みください。</p>
  1083. <p>@kakiyama.comからのメール受信ができるよう、あらかじめ設定をお願いいたします。<br>
  1084.     お問い合せをする場合がありますので、必ずメールはご確認ください。</p>
  1085. <p>1件のご注文につき、お届け先は1ヶ所のみ指定可能です。複数箇所への配送をご希望の場合、1件ずつご注文を確定してください。</p>
  1086. <p>領収書につきましては、「発送完了メール記載のURL」または「マイページ(会員のお客様のみ)」よりPDFデータがダウンロード可能です。<br>
  1087.     代金引換の領収書につきましては、ヤマト運輸が発行する送り状(伝票)の控えを領収書とさせていただきます。</p>
  1088. <p>離島・一部地域への配送、悪天候などの配送状況によって配送が遅れる場合がございます。あらかじめご了承ください。<br>
  1089.     詳しくは、<a href=\"https://www.kuronekoyamato.co.jp/\" target=\"_blank\">ヤマト運輸の公式サイト</a>にてご確認ください。</p>
  1090. </div>
  1091. {% endblock %}""Cart/index.twig""/home/xs501433/xs501433.xsrv.jp/public_html/app/template/default/Cart/index.twig");
  1092.     }
  1093.     
  1094.     public function checkSecurity()
  1095.     {
  1096.         static $tags = array("set" => 3"if" => 26"for" => 129);
  1097.         static $filters = array("escape" => 28"trans" => 29"nl2br" => 136"length" => 159"no_image_product" => 201"number_format" => 213"raw" => 272);
  1098.         static $functions = array("url" => 11"is_granted" => 42"asset" => 201"csrf_token_for_anchor" => 223"path" => 291);
  1099.         try {
  1100.             $this->sandbox->checkSecurity(
  1101.                 ['set''if''for'],
  1102.                 ['escape''trans''nl2br''length''no_image_product''number_format''raw'],
  1103.                 ['url''is_granted''asset''csrf_token_for_anchor''path']
  1104.             );
  1105.         } catch (SecurityError $e) {
  1106.             $e->setSourceContext($this->source);
  1107.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1108.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1109.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1110.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1111.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1112.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1113.             }
  1114.             throw $e;
  1115.         }
  1116.     }
  1117. }