var/cache/dev/twig/ee/eed0d477f92fd4c5aa4acdb293d0d8c4a6d6bb6e278d6858f1691dbcc2387376.php line 16

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