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