var/cache/dev/twig/01/017de4b6aa265ea779589cf06c2f01ec3d1b8890dffa468d67368f0e30219a95.php line 51

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