var/cache/dev/twig/56/56760cf0fb9866b557540f9409707107.php line 55

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__bb22fd216c8edf9daac37647a26389f9 */
  14. class __TwigTemplate_2a51070306a6fe743f28e11c06002e39 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__bb22fd216c8edf9daac37647a26389f9"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""__string_template__bb22fd216c8edf9daac37647a26389f9"));
  42.         // line 13
  43.         $context["body_class"] = "cart_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__bb22fd216c8edf9daac37647a26389f9"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62. \t\tselect {
  63. \t\t\tpadding: 12px 16px;
  64. \t\t\tborder: solid 1px #CCCCCC;
  65. \t\t\tborder-radius: 3px;
  66. \t\t\tfont-size: 14px;
  67. \t\t\twidth: 234px;
  68. \t\t}
  69.         @media (max-width: 768px) {
  70.             select {
  71. \t\t\t    padding: 8px 12px;
  72.             }
  73.         }
  74. \t</style>
  75. \t<style>
  76. \t\t.heading:after {
  77. \t\t\ttransition: transform 0.4s;
  78. \t\t}
  79. \t\t.heading.is-open:before {
  80. \t\t\tcontent: '+';
  81. \t\t\ttransform: rotate(-180deg);
  82. \t\t}
  83. \t</style>
  84. ";
  85.         
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87.         
  88.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  89.     }
  90.     // line 41
  91.     public function block_javascript($context, array $blocks = [])
  92.     {
  93.         $macros $this->macros;
  94.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  95.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  96.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  98.         // line 42
  99.         echo "    <script>
  100. \t\t\$(function () {
  101.             \$('[id^=naire_]').change(function () {
  102.                 var operation = \$(this).val();
  103.                 var cartItemId = \$(this).data('id');
  104.                 \$.ajax({
  105.                     type: \"POST\",
  106.                     headers: {
  107.                         \"X-HTTP-Method-Override\": \"PUT\"
  108.                     },
  109.                     url: \"/cart/\" + operation + \"/\" + cartItemId,
  110.                 }).done(function (data) {
  111.                     location.reload();
  112.                 }).fail(function (data) {
  113.                     console.error(data);
  114.                 });
  115.             });
  116.             \$('#naire').click(function () {
  117.                 \$('.heading').toggleClass('is-open');
  118.                 \$('#naire_description').slideToggle();
  119.             });
  120.         });
  121. \t</script>
  122. ";
  123.         
  124.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  125.         
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  127.     }
  128.     // line 68
  129.     public function block_main($context, array $blocks = [])
  130.     {
  131.         $macros $this->macros;
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  134.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  136.         // line 69
  137.         echo "    <div class=\"w-[720px] md:w-full mx-auto pt-10 md:pt-4 md:px-4\">
  138.         <h1 class=\"text-2xl md:text-lg font-light mb-7 md:mb-5\">";
  139.         // line 70
  140.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.title"), "html"nulltrue);
  141.         echo "</h1>
  142.         <div>
  143.             <div class=\"flex flex-col pb-9 border-b-2 border-[#CCC] md:pb-4\">
  144.                 <h2 class=\"font-bold md:text-xs text-center mb-8 md:mb-6\">会員登録せずに、ご注文に進むこともできます。</h2>
  145.                 <div class=\"flex flex-col justify-center items-center gap-2 w-full max-w-[592px] mx-auto\">
  146.                     <div class=\"flex items-center w-full justify-between text-lg md:text-xs\">
  147.                         <div class=\"w-11 h-11 bg-manakaProgress flex items-center justify-center rounded-full\">
  148.                             <p class=\"text-white font-bold font-notoserif leading-none\">1</p>
  149.                         </div>
  150.                         <div class=\"w-[33vw] flex-1 h-[6px] bg-[#CCC]\"></div>
  151.                         <div class=\"w-11 h-11 bg-[#CCC] flex items-center justify-center rounded-full\">
  152.                             <p class=\"text-white font-bold font-notoserif leading-none\">2</p>
  153.                         </div>
  154.                         <div class=\"w-[33vw] flex-1 h-[6px] bg-[#CCC]\"></div>
  155.                         <div class=\"w-11 h-11 bg-[#CCC] flex items-center justify-center rounded-full\">
  156.                             <p class=\"text-white font-bold font-notoserif leading-none\">3</p>
  157.                         </div>
  158.                         <div class=\"w-[33vw] flex-1 h-[6px] bg-[#CCC]\"></div>
  159.                         <div class=\"w-11 h-11 bg-[#CCC] flex items-center justify-center rounded-full\">
  160.                             <p class=\"text-white font-bold font-notoserif leading-none\">4</p>
  161.                         </div>
  162.                     </div>
  163.                     <div class=\"flex w-full items-center text-sm md:text-xs mx-auto max-w-[800px] justify-between text-[#666]\">
  164.                         <p class=\" w-[26vw] pl-1 font-bold\">カート</p>
  165.                         <p class=\"text-center w-[18vw] font-bold\">お客様情報入力</p>
  166.                         <p class=\"text-end w-[27.8vw] font-bold\">ご注文手続き</p>
  167.                         <p class=\"text-end w-[27.8vw] font-bold\">ご注文完了</p>
  168.                     </div>
  169.                 </div>
  170.             </div>
  171.             ";
  172.         // line 100
  173.         $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.'100$this->source); })()), "session", [], "any"falsefalsetrue100), "flashbag", [], "any"falsefalsetrue100), "get", [=> "eccube.front.request.product"], "method"falsefalsetrue100);
  174.         // line 101
  175.         echo "            ";
  176.         $context['_parent'] = $context;
  177.         $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.'101$this->source); })()), "session", [], "any"falsefalsetrue101), "flashbag", [], "any"falsefalsetrue101), "get", [=> "eccube.front.request.error"], "method"falsefalsetrue101));
  178.         $context['loop'] = [
  179.           'parent' => $context['_parent'],
  180.           'index0' => 0,
  181.           'index'  => 1,
  182.           'first'  => true,
  183.         ];
  184.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  185.             $length count($context['_seq']);
  186.             $context['loop']['revindex0'] = $length 1;
  187.             $context['loop']['revindex'] = $length;
  188.             $context['loop']['length'] = $length;
  189.             $context['loop']['last'] = === $length;
  190.         }
  191.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  192.             // line 102
  193.             echo "                ";
  194.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue102);
  195.             // line 103
  196.             echo "                <div class=\"ec-cartRole__error\">
  197.                     <div class=\"ec-alert-warning\">
  198.                         <div class=\"ec-alert-warning__icon\"><img src=\"";
  199.             // line 105
  200.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  201.             echo "\"></div>
  202.                         <div class=\"ec-alert-warning__text\">
  203.                             ";
  204.             // line 107
  205.             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.'107$this->source); })()), [], "array"truetruetrue107)) {
  206.                 // line 108
  207.                 echo "                                ";
  208.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 108$this->source), ["%product%" => twig_get_attribute($this->env$this->source, (isset($context["productStr"]) || array_key_exists("productStr"$context) ? $context["productStr"] : (function () { throw new RuntimeError('Variable "productStr" does not exist.'108$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'108$this->source); })()), [], "array"falsefalsetrue108)]), "html"nulltrue));
  209.                 echo "
  210.                             ";
  211.             } else {
  212.                 // line 110
  213.                 echo "                                ";
  214.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 110$this->source)), "html"nulltrue));
  215.                 echo "
  216.                             ";
  217.             }
  218.             // line 112
  219.             echo "                        </div>
  220.                     </div>
  221.                 </div>
  222.             ";
  223.             ++$context['loop']['index0'];
  224.             ++$context['loop']['index'];
  225.             $context['loop']['first'] = false;
  226.             if (isset($context['loop']['length'])) {
  227.                 --$context['loop']['revindex0'];
  228.                 --$context['loop']['revindex'];
  229.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  230.             }
  231.         }
  232.         $_parent $context['_parent'];
  233.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  234.         $context array_intersect_key($context$_parent) + $_parent;
  235.         // line 116
  236.         echo "            ";
  237.         $context['_parent'] = $context;
  238.         $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.'116$this->source); })()), "session", [], "any"falsefalsetrue116), "flashbag", [], "any"falsefalsetrue116), "get", [=> "eccube.front.cart.error"], "method"falsefalsetrue116));
  239.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  240.             // line 117
  241.             echo "                <div class=\"ec-cartRole__error\">
  242.                     <div class=\"ec-alert-warning\">
  243.                         <div class=\"ec-alert-warning__icon\"><img src=\"";
  244.             // line 119
  245.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  246.             echo "\"></div>
  247.                         <div class=\"ec-alert-warning__text\">
  248.                             ";
  249.             // line 121
  250.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 121$this->source)), "html"nulltrue));
  251.             echo "
  252.                         </div>
  253.                     </div>
  254.                 </div>
  255.             ";
  256.         }
  257.         $_parent $context['_parent'];
  258.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  259.         $context array_intersect_key($context$_parent) + $_parent;
  260.         // line 126
  261.         echo "            ";
  262.         if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'126$this->source); })()) > 0)) {
  263.             // line 127
  264.             echo "                <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
  265.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  266.             echo "\">
  267.                     ";
  268.             // line 128
  269.             $context['_parent'] = $context;
  270.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'128$this->source); })()));
  271.             $context['loop'] = [
  272.               'parent' => $context['_parent'],
  273.               'index0' => 0,
  274.               'index'  => 1,
  275.               'first'  => true,
  276.             ];
  277.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  278.                 $length count($context['_seq']);
  279.                 $context['loop']['revindex0'] = $length 1;
  280.                 $context['loop']['revindex'] = $length;
  281.                 $context['loop']['length'] = $length;
  282.                 $context['loop']['last'] = === $length;
  283.             }
  284.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  285.                 // line 129
  286.                 echo "                        ";
  287.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue129);
  288.                 // line 130
  289.                 echo "                        ";
  290.                 $context['_parent'] = $context;
  291.                 $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.'130$this->source); })()), "session", [], "any"falsefalsetrue130), "flashbag", [], "any"falsefalsetrue130), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'130$this->source); })())) . ".request.error")], "method"falsefalsetrue130));
  292.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  293.                     // line 131
  294.                     echo "                            <div class=\"ec-cartRole__error\">
  295.                                 <div class=\"ec-alert-warning\">
  296.                                     <div class=\"ec-alert-warning__icon\"><img src=\"";
  297.                     // line 133
  298.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  299.                     echo "\"></div>
  300.                                     <div class=\"ec-alert-warning__text\">
  301.                                         ";
  302.                     // line 135
  303.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 135$this->source)), "html"nulltrue));
  304.                     echo "
  305.                                     </div>
  306.                                 </div>
  307.                             </div>
  308.                         ";
  309.                 }
  310.                 $_parent $context['_parent'];
  311.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  312.                 $context array_intersect_key($context$_parent) + $_parent;
  313.                 // line 140
  314.                 echo "                        ";
  315.                 $context["subTotalExcTax"] = 0;
  316.                 // line 141
  317.                 echo "                        ";
  318.                 $context["naireTotalPrice"] = 0;
  319.                 // line 142
  320.                 echo "                        ";
  321.                 $context['_parent'] = $context;
  322.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue142));
  323.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  324.                     // line 143
  325.                     echo "                            ";
  326.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue143);
  327.                     // line 144
  328.                     echo "\t\t\t\t\t\t\t";
  329.                     $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.'144$this->source); })()), "Product", [], "any"falsefalsetrue144);
  330.                     // line 145
  331.                     echo "                            ";
  332.                     $context["subTotalExcTax"] = ((isset($context["subTotalExcTax"]) || array_key_exists("subTotalExcTax"$context) ? $context["subTotalExcTax"] : (function () { throw new RuntimeError('Variable "subTotalExcTax" does not exist.'145$this->source); })()) + (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.'145$this->source); })()), "price02", [], "any"falsefalsetrue145) * twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue145)));
  333.                     // line 146
  334.                     echo "                            ";
  335.                     $context["naireTotalPrice"] = ((isset($context["naireTotalPrice"]) || array_key_exists("naireTotalPrice"$context) ? $context["naireTotalPrice"] : (function () { throw new RuntimeError('Variable "naireTotalPrice" does not exist.'146$this->source); })()) + (twig_get_attribute($this->env$this->source$context["CartItem"], "option_price", [], "any"falsefalsetrue146) * twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue146)));
  336.                     // line 147
  337.                     echo "                            <div class=\"flex gap-5 border-b-2 border-[#CCC] first:pb-6 py-6 last:pb-0 md:gap-0 md:justify-center md:py-4 first:md:pb-4\">
  338.                                 <a target=\"_blank\" href=\"";
  339.                     // line 148
  340.                     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.'148$this->source); })()), "id", [], "any"falsefalsetrue148)]), "html"nulltrue);
  341.                     echo "\" class=\"block w-full max-w-[151px] hover\">
  342.                                     <img src=\"";
  343.                     // line 149
  344.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'149$this->source); })()), "MainListImage", [], "any"falsefalsetrue149), 149$this->source)), "save_image"), "html"nulltrue);
  345.                     echo "\" alt=\"";
  346.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'149$this->source); })()), "name", [], "any"falsefalsetrue149), 149$this->source), "html"nulltrue);
  347.                     echo "\" class=\"h-[151px] md:hidden\"/>
  348.                                 </a>
  349.                                 <ul class=\"w-full flex flex-col gap-3 text-[#666] whitespace-nowrap\">
  350.                                     <li class=\"flex justify-between md:gap-2\">
  351.                                         <img src=\"";
  352.                     // line 153
  353.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'153$this->source); })()), "MainListImage", [], "any"falsefalsetrue153), 153$this->source)), "save_image"), "html"nulltrue);
  354.                     echo "\" alt=\"";
  355.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'153$this->source); })()), "name", [], "any"falsefalsetrue153), 153$this->source), "html"nulltrue);
  356.                     echo "\" class=\"hidden md:block w-[max(5.2vw,72px)] h-[72px]\"/>
  357.                                         <div class=\"w-full flex justify-between md:flex-col md:w-[calc(100%-80px)]\">
  358.                                              <div>
  359.                                                 <a target=\"_blank\" href=\"";
  360.                     // line 156
  361.                     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.'156$this->source); })()), "id", [], "any"falsefalsetrue156)]), "html"nulltrue);
  362.                     echo "\" class=\"text-lg font-bold md:text-sm hover\">
  363.                                                     ";
  364.                     // line 157
  365.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'157$this->source); })()), "name", [], "any"falsefalsetrue157), 157$this->source), "html"nulltrue);
  366.                     echo "
  367.                                                 </a>
  368.                                                 <p class=\"text-lg font-bold md:text-sm\">価格: ";
  369.                     // line 159
  370.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsetrue159), 159$this->source)), "html"nulltrue);
  371.                     echo "円 (税込)</p>
  372.                                             </div>
  373.                                             <a href=\"";
  374.                     // line 161
  375.                     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"falsefalsetrue161)]), "html"nulltrue);
  376.                     echo "\" ";
  377.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  378.                     echo " class=\"block w-[60px] md:w-[76px] h-9 pt-1 text-center border-2 border-[#DDD] hover md:ml-auto md:pt-2 md:text-xs\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  379.                                                 削除
  380.                                             </a>
  381.                                         </div>
  382.                                     </li>
  383.                                     ";
  384.                     // line 166
  385.                     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.'166$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue166) && 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.'166$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue166), "id", [], "any"falsefalsetrue166))) {
  386.                         // line 167
  387.                         echo "                                        <li class=\"flex mt-3\">
  388.                                             <p class=\"w-2/5 font-bold md:text-xs md:w-2/5\">●カラー:</p>
  389.                                             <p class=\"w-4/5 md:text-xs md:w-3/5\">";
  390.                         // line 169
  391.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'169$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue169), 169$this->source), "html"nulltrue);
  392.                         echo "</p>
  393.                                         </li>
  394.                                     ";
  395.                     }
  396.                     // line 172
  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.'172$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue172) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'172$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue172), "id", [], "any"falsefalsetrue172))) {
  399.                         // line 173
  400.                         echo "                                        <li class=\"flex\">
  401.                                             <p class=\"w-2/5 font-bold md:text-xs md:w-2/5\">●";
  402.                         // line 174
  403.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'174$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue174), "ClassName", [], "any"falsefalsetrue174), "name", [], "any"falsefalsetrue174), 174$this->source), "html"nulltrue);
  404.                         echo ":</p>
  405.                                             <p class=\"w-4/5 md:text-xs md:w-3/5\">";
  406.                         // line 175
  407.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass"$context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.'175$this->source); })()), "ClassCategory2", [], "any"falsefalsetrue175), 175$this->source), "html"nulltrue);
  408.                         echo "</p>
  409.                                         </li>
  410.                                     ";
  411.                     }
  412.                     // line 178
  413.                     echo "                                    <li class=\"flex\">
  414.                                         <p class=\"w-2/5 font-bold md:text-xs md:w-2/5\">●数量:</p>
  415.                                         <p class=\"w-4/5 md:text-xs md:w-3/5\">";
  416.                     // line 180
  417.                     echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue180), 180$this->source)), "html"nulltrue);
  418.                     echo "点</p>
  419.                                     </li>
  420.                                     ";
  421.                     // line 182
  422.                     $context["KAKEIHAI_ID"] = 129;
  423.                     // line 183
  424.                     echo "                                    <div class=\"flex ";
  425.                     if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue183), "Product", [], "any"falsefalsetrue183), "id", [], "any"falsefalsetrue183) == (isset($context["KAKEIHAI_ID"]) || array_key_exists("KAKEIHAI_ID"$context) ? $context["KAKEIHAI_ID"] : (function () { throw new RuntimeError('Variable "KAKEIHAI_ID" does not exist.'183$this->source); })()))) {
  426.                         echo " flex-col-reverse ";
  427.                     } else {
  428.                         echo " flex-col ";
  429.                     }
  430.                     echo " gap-4 md:gap-2\">
  431.                                         ";
  432.                     // line 184
  433.                     $context['_parent'] = $context;
  434.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["CartItem"], "CartItemOptions", [], "any"falsefalsetrue184));
  435.                     foreach ($context['_seq'] as $context["_key"] => $context["CartItemOption"]) {
  436.                         // line 185
  437.                         echo "                                            <li class=\"flex md:text-xs\">
  438.                                                 <p class=\"font-bold w-1/5 md:text-xs md:w-2/5\">●";
  439.                         // line 186
  440.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItemOption"], "label", [], "any"falsefalsetrue186), 186$this->source), "html"nulltrue);
  441.                         echo ":</p>
  442.                                                     ";
  443.                         // line 187
  444.                         $context['_parent'] = $context;
  445.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["CartItemOption"], "CartItemOptionCategories", [], "any"falsefalsetrue187));
  446.                         foreach ($context['_seq'] as $context["_key"] => $context["CartItemOptionCategory"]) {
  447.                             // line 188
  448.                             echo "                                                        ";
  449.                             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItemOptionCategory"], "value", [], "any"falsefalsetrue188), 188$this->source), "html"nulltrue);
  450.                             echo "
  451.                                                     ";
  452.                         }
  453.                         $_parent $context['_parent'];
  454.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItemOptionCategory'], $context['_parent'], $context['loop']);
  455.                         $context array_intersect_key($context$_parent) + $_parent;
  456.                         // line 190
  457.                         echo "                                            </li>
  458.                                         ";
  459.                     }
  460.                     $_parent $context['_parent'];
  461.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItemOption'], $context['_parent'], $context['loop']);
  462.                     $context array_intersect_key($context$_parent) + $_parent;
  463.                     // line 192
  464.                     echo "                                    </div>
  465.                                 </ul>
  466.                             </div>
  467.                         ";
  468.                 }
  469.                 $_parent $context['_parent'];
  470.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  471.                 $context array_intersect_key($context$_parent) + $_parent;
  472.                 // line 196
  473.                 echo "                        <div class=\"flex flex-col w-full mr-6 sm:mr-0 sm:justify-center sm:items-center\">
  474. \t\t\t\t\t\t\t<div class=\"mt-6 md:my-4 mb-10 flex flex-col gap-2 sm:w-full md:text-sm font-bold text-[#666]\">
  475. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  476. \t\t\t\t\t\t\t\t\t<span>合計点数</span>
  477. \t\t\t\t\t\t\t\t\t<span>";
  478.                 // line 200
  479.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Cart"], "quantity", [], "any"falsefalsetrue200), 200$this->source), "html"nulltrue);
  480.                 echo "点</span>
  481. \t\t\t\t\t\t\t\t</div>
  482. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  483. \t\t\t\t\t\t\t\t\t<span>小計</span>
  484. \t\t\t\t\t\t\t\t\t<span>";
  485.                 // line 204
  486.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env, ((isset($context["subTotalExcTax"]) || array_key_exists("subTotalExcTax"$context) ? $context["subTotalExcTax"] : (function () { throw new RuntimeError('Variable "subTotalExcTax" does not exist.'204$this->source); })()) + (isset($context["naireTotalPrice"]) || array_key_exists("naireTotalPrice"$context) ? $context["naireTotalPrice"] : (function () { throw new RuntimeError('Variable "naireTotalPrice" does not exist.'204$this->source); })()))), "html"nulltrue);
  487.                 echo "円</span>
  488. \t\t\t\t\t\t\t\t</div>
  489. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  490. \t\t\t\t\t\t\t\t\t<span>消費税(10%)</span>
  491. \t\t\t\t\t\t\t\t\t<span>";
  492.                 // line 208
  493.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env, ((twig_get_attribute($this->env$this->source$context["Cart"], "total_price", [], "any"falsefalsetrue208) - (isset($context["subTotalExcTax"]) || array_key_exists("subTotalExcTax"$context) ? $context["subTotalExcTax"] : (function () { throw new RuntimeError('Variable "subTotalExcTax" does not exist.'208$this->source); })())) - (isset($context["naireTotalPrice"]) || array_key_exists("naireTotalPrice"$context) ? $context["naireTotalPrice"] : (function () { throw new RuntimeError('Variable "naireTotalPrice" does not exist.'208$this->source); })()))), "html"nulltrue);
  494.                 echo "円</span>
  495. \t\t\t\t\t\t\t\t</div>
  496. \t\t\t\t\t\t\t\t<div class=\"flex justify-between items-center mt-1\">
  497. \t\t\t\t\t\t\t\t\t<span>合計金額 (税込)</span>
  498. \t\t\t\t\t\t\t\t\t<div>
  499. \t\t\t\t\t\t\t\t\t\t<span class=\" text-manakaRed text-[28px] md:text-2xl\">";
  500.                 // line 213
  501.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Cart"], "totalPrice", [], "any"falsefalsetrue213), 213$this->source)), "html"nulltrue);
  502.                 echo "</span>
  503. \t\t\t\t\t\t\t\t\t\t<span class=\"text-sm\">円</span>
  504. \t\t\t\t\t\t\t\t\t</div>
  505. \t\t\t\t\t\t\t\t</div>
  506. \t\t\t\t\t\t\t</div>
  507. \t\t\t\t\t\t</div>
  508.                         ";
  509.                 // line 219
  510.                 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.'219$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue219) && 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.'219$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue219))) {
  511.                     // line 220
  512.                     echo "                            <br/>
  513.                             ";
  514.                     // line 221
  515.                     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.'221$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'221$this->source); })()), [], "array"falsefalsetrue221)) {
  516.                         // line 222
  517.                         echo "                                ";
  518.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  519.                         echo "
  520.                             ";
  521.                     } else {
  522.                         // line 224
  523.                         echo "                                ";
  524.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price_and_quantity", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'224$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'224$this->source); })()), [], "array"falsefalsetrue224), 224$this->source)), "%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'224$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'224$this->source); })()), [], "array"falsefalsetrue224), 224$this->source))]);
  525.                         echo "
  526.                             ";
  527.                     }
  528.                     // line 226
  529.                     echo "                        ";
  530.                 } 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.'226$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue226)) {
  531.                     // line 227
  532.                     echo "                            <br/>
  533.                             ";
  534.                     // line 228
  535.                     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.'228$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'228$this->source); })()), [], "array"falsefalsetrue228)) {
  536.                         // line 229
  537.                         echo "                                ";
  538.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  539.                         echo "
  540.                             ";
  541.                     } else {
  542.                         // line 231
  543.                         echo "                                ";
  544.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__price", ["%price%" => $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["least"]) || array_key_exists("least"$context) ? $context["least"] : (function () { throw new RuntimeError('Variable "least" does not exist.'231$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'231$this->source); })()), [], "array"falsefalsetrue231), 231$this->source))]);
  545.                         echo "
  546.                             ";
  547.                     }
  548.                     // line 233
  549.                     echo "                        ";
  550.                 } 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.'233$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue233)) {
  551.                     // line 234
  552.                     echo "                            <br/>
  553.                             ";
  554.                     // line 235
  555.                     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.'235$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'235$this->source); })()), [], "array"falsefalsetrue235)) {
  556.                         // line 236
  557.                         echo "                                ";
  558.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  559.                         echo "
  560.                             ";
  561.                     } else {
  562.                         // line 238
  563.                         echo "                                ";
  564.                         echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__quantity", ["%quantity%" => twig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["quantity"]) || array_key_exists("quantity"$context) ? $context["quantity"] : (function () { throw new RuntimeError('Variable "quantity" does not exist.'238$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'238$this->source); })()), [], "array"falsefalsetrue238), 238$this->source))]);
  565.                         echo "
  566.                             ";
  567.                     }
  568.                     // line 240
  569.                     echo "                        ";
  570.                 }
  571.                 // line 241
  572.                 echo "                        <div class=\"ec-cartRole__actions flex flex-col gap-3\">
  573.                             <a class=\"block text-lg text-center w-[300px] md:w-full py-4 text-white bg-[#333] hover mx-auto md:text-base font-light\" href=\"";
  574.                 // line 242
  575.                 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.'242$this->source); })())]), "html"nulltrue);
  576.                 echo "\">
  577.                                 ";
  578.                 // line 243
  579.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.checkout"), "html"nulltrue);
  580.                 echo "
  581.                             </a>
  582.                             ";
  583.                 // line 245
  584.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue245)) {
  585.                     // line 246
  586.                     echo "                                <a href=\"";
  587.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  588.                     echo "\" class=\"block w-[300px] md:w-full mx-auto border-2 border-[#DDD] font-light text-lg text-center py-3 md:text-base hover\">お買い物を続ける</a>
  589.                             ";
  590.                 }
  591.                 // line 248
  592.                 echo "                        </div>
  593.                     ";
  594.                 ++$context['loop']['index0'];
  595.                 ++$context['loop']['index'];
  596.                 $context['loop']['first'] = false;
  597.                 if (isset($context['loop']['length'])) {
  598.                     --$context['loop']['revindex0'];
  599.                     --$context['loop']['revindex'];
  600.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  601.                 }
  602.             }
  603.             $_parent $context['_parent'];
  604.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  605.             $context array_intersect_key($context$_parent) + $_parent;
  606.             // line 250
  607.             echo "                </form>
  608.             ";
  609.         } else {
  610.             // line 252
  611.             echo "                ";
  612.             $context['_parent'] = $context;
  613.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'252$this->source); })()));
  614.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  615.                 // line 253
  616.                 echo "                    ";
  617.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue253);
  618.                 // line 254
  619.                 echo "                    ";
  620.                 $context['_parent'] = $context;
  621.                 $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.'254$this->source); })()), "session", [], "any"falsefalsetrue254), "flashbag", [], "any"falsefalsetrue254), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'254$this->source); })())) . ".request.error")], "method"falsefalsetrue254));
  622.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  623.                     // line 255
  624.                     echo "                        <div class=\"ec-cartRole__error\">
  625.                             <div class=\"ec-alert-warning\">
  626.                                 <div class=\"ec-alert-warning__icon\"><img src=\"";
  627.                     // line 257
  628.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  629.                     echo "\"></div>
  630.                                 <div class=\"ec-alert-warning__text\">
  631.                                     ";
  632.                     // line 259
  633.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 259$this->source)), "html"nulltrue));
  634.                     echo "
  635.                                 </div>
  636.                             </div>
  637.                         </div>
  638.                     ";
  639.                 }
  640.                 $_parent $context['_parent'];
  641.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  642.                 $context array_intersect_key($context$_parent) + $_parent;
  643.                 // line 264
  644.                 echo "                ";
  645.             }
  646.             $_parent $context['_parent'];
  647.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  648.             $context array_intersect_key($context$_parent) + $_parent;
  649.             // line 265
  650.             echo "                    <div class=\"flex flex-col gap-7 mt-[80px] mb-10\">
  651.                         <img src=\"";
  652.             // line 266
  653.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cart.svg"), "html"nulltrue);
  654.             echo "\" class=\"w-[77px] h-[77px] mx-auto\"/>
  655.                         <p class=\"text-center font-bold md:text-sm\">現在、カートに<br>商品は入っておりません。</p>
  656.                     </div>
  657.                     <a href=\"";
  658.             // line 269
  659.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  660.             echo "\" class=\"block w-[300px] md:w-full mx-auto border-2 border-[#DDD] font-light text-lg text-center py-3 md:text-base hover\">お買い物を続ける</a>
  661.             ";
  662.         }
  663.         // line 271
  664.         echo "        </div>
  665.     </div>
  666.         ";
  667.         // line 273
  668.         $context["breadcrumbs"] = [=> ["name" => "現在のカゴの中"]];
  669.         // line 274
  670.         echo "        ";
  671.         $this->loadTemplate("Block/breadcrumbs.twig""__string_template__bb22fd216c8edf9daac37647a26389f9"274)->display($context);
  672.         
  673.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  674.         
  675.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  676.     }
  677.     public function getTemplateName()
  678.     {
  679.         return "__string_template__bb22fd216c8edf9daac37647a26389f9";
  680.     }
  681.     public function isTraitable()
  682.     {
  683.         return false;
  684.     }
  685.     public function getDebugInfo()
  686.     {
  687.         return array (  695 => 274,  693 => 273,  689 => 271,  684 => 269,  678 => 266,  675 => 265,  669 => 264,  658 => 259,  653 => 257,  649 => 255,  644 => 254,  641 => 253,  636 => 252,  632 => 250,  617 => 248,  611 => 246,  609 => 245,  604 => 243,  600 => 242,  597 => 241,  594 => 240,  588 => 238,  582 => 236,  580 => 235,  577 => 234,  574 => 233,  568 => 231,  562 => 229,  560 => 228,  557 => 227,  554 => 226,  548 => 224,  542 => 222,  540 => 221,  537 => 220,  535 => 219,  526 => 213,  518 => 208,  511 => 204,  504 => 200,  498 => 196,  489 => 192,  482 => 190,  473 => 188,  469 => 187,  465 => 186,  462 => 185,  458 => 184,  449 => 183,  447 => 182,  442 => 180,  438 => 178,  432 => 175,  428 => 174,  425 => 173,  422 => 172,  416 => 169,  412 => 167,  410 => 166,  400 => 161,  395 => 159,  390 => 157,  386 => 156,  378 => 153,  369 => 149,  365 => 148,  362 => 147,  359 => 146,  356 => 145,  353 => 144,  350 => 143,  345 => 142,  342 => 141,  339 => 140,  328 => 135,  323 => 133,  319 => 131,  314 => 130,  311 => 129,  294 => 128,  289 => 127,  286 => 126,  275 => 121,  270 => 119,  266 => 117,  261 => 116,  244 => 112,  238 => 110,  232 => 108,  230 => 107,  225 => 105,  221 => 103,  218 => 102,  200 => 101,  198 => 100,  165 => 70,  162 => 69,  152 => 68,  118 => 42,  108 => 41,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  688.     }
  689.     public function getSourceContext()
  690.     {
  691.         return new Source("{#
  692. This file is part of EC-CUBE
  693. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  694. http://www.ec-cube.co.jp/
  695. For the full copyright and license information, please view the LICENSE
  696. file that was distributed with this source code.
  697. #}
  698. {% extends 'default_frame.twig' %}
  699. {% set body_class = 'cart_page' %}
  700. {% block stylesheet %}
  701.     <style>
  702. \t\tselect {
  703. \t\t\tpadding: 12px 16px;
  704. \t\t\tborder: solid 1px #CCCCCC;
  705. \t\t\tborder-radius: 3px;
  706. \t\t\tfont-size: 14px;
  707. \t\t\twidth: 234px;
  708. \t\t}
  709.         @media (max-width: 768px) {
  710.             select {
  711. \t\t\t    padding: 8px 12px;
  712.             }
  713.         }
  714. \t</style>
  715. \t<style>
  716. \t\t.heading:after {
  717. \t\t\ttransition: transform 0.4s;
  718. \t\t}
  719. \t\t.heading.is-open:before {
  720. \t\t\tcontent: '+';
  721. \t\t\ttransform: rotate(-180deg);
  722. \t\t}
  723. \t</style>
  724. {% endblock %}
  725. {% block javascript %}
  726.     <script>
  727. \t\t\$(function () {
  728.             \$('[id^=naire_]').change(function () {
  729.                 var operation = \$(this).val();
  730.                 var cartItemId = \$(this).data('id');
  731.                 \$.ajax({
  732.                     type: \"POST\",
  733.                     headers: {
  734.                         \"X-HTTP-Method-Override\": \"PUT\"
  735.                     },
  736.                     url: \"/cart/\" + operation + \"/\" + cartItemId,
  737.                 }).done(function (data) {
  738.                     location.reload();
  739.                 }).fail(function (data) {
  740.                     console.error(data);
  741.                 });
  742.             });
  743.             \$('#naire').click(function () {
  744.                 \$('.heading').toggleClass('is-open');
  745.                 \$('#naire_description').slideToggle();
  746.             });
  747.         });
  748. \t</script>
  749. {% endblock %}
  750. {% block main %}
  751.     <div class=\"w-[720px] md:w-full mx-auto pt-10 md:pt-4 md:px-4\">
  752.         <h1 class=\"text-2xl md:text-lg font-light mb-7 md:mb-5\">{{ 'front.cart.title'|trans }}</h1>
  753.         <div>
  754.             <div class=\"flex flex-col pb-9 border-b-2 border-[#CCC] md:pb-4\">
  755.                 <h2 class=\"font-bold md:text-xs text-center mb-8 md:mb-6\">会員登録せずに、ご注文に進むこともできます。</h2>
  756.                 <div class=\"flex flex-col justify-center items-center gap-2 w-full max-w-[592px] mx-auto\">
  757.                     <div class=\"flex items-center w-full justify-between text-lg md:text-xs\">
  758.                         <div class=\"w-11 h-11 bg-manakaProgress flex items-center justify-center rounded-full\">
  759.                             <p class=\"text-white font-bold font-notoserif leading-none\">1</p>
  760.                         </div>
  761.                         <div class=\"w-[33vw] flex-1 h-[6px] bg-[#CCC]\"></div>
  762.                         <div class=\"w-11 h-11 bg-[#CCC] flex items-center justify-center rounded-full\">
  763.                             <p class=\"text-white font-bold font-notoserif leading-none\">2</p>
  764.                         </div>
  765.                         <div class=\"w-[33vw] flex-1 h-[6px] bg-[#CCC]\"></div>
  766.                         <div class=\"w-11 h-11 bg-[#CCC] flex items-center justify-center rounded-full\">
  767.                             <p class=\"text-white font-bold font-notoserif leading-none\">3</p>
  768.                         </div>
  769.                         <div class=\"w-[33vw] flex-1 h-[6px] bg-[#CCC]\"></div>
  770.                         <div class=\"w-11 h-11 bg-[#CCC] flex items-center justify-center rounded-full\">
  771.                             <p class=\"text-white font-bold font-notoserif leading-none\">4</p>
  772.                         </div>
  773.                     </div>
  774.                     <div class=\"flex w-full items-center text-sm md:text-xs mx-auto max-w-[800px] justify-between text-[#666]\">
  775.                         <p class=\" w-[26vw] pl-1 font-bold\">カート</p>
  776.                         <p class=\"text-center w-[18vw] font-bold\">お客様情報入力</p>
  777.                         <p class=\"text-end w-[27.8vw] font-bold\">ご注文手続き</p>
  778.                         <p class=\"text-end w-[27.8vw] font-bold\">ご注文完了</p>
  779.                     </div>
  780.                 </div>
  781.             </div>
  782.             {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  783.             {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  784.                 {% set idx = loop.index0 %}
  785.                 <div class=\"ec-cartRole__error\">
  786.                     <div class=\"ec-alert-warning\">
  787.                         <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  788.                         <div class=\"ec-alert-warning__text\">
  789.                             {% if productStr[idx] is defined %}
  790.                                 {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  791.                             {% else %}
  792.                                 {{ error|trans|nl2br }}
  793.                             {% endif %}
  794.                         </div>
  795.                     </div>
  796.                 </div>
  797.             {% endfor %}
  798.             {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  799.                 <div class=\"ec-cartRole__error\">
  800.                     <div class=\"ec-alert-warning\">
  801.                         <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  802.                         <div class=\"ec-alert-warning__text\">
  803.                             {{ error|trans|nl2br }}
  804.                         </div>
  805.                     </div>
  806.                 </div>
  807.             {% endfor %}
  808.             {% if totalQuantity > 0 %}
  809.                 <form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
  810.                     {% for CartIndex,Cart in Carts %}
  811.                         {% set cartKey = Cart.cart_key %}
  812.                         {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  813.                             <div class=\"ec-cartRole__error\">
  814.                                 <div class=\"ec-alert-warning\">
  815.                                     <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  816.                                     <div class=\"ec-alert-warning__text\">
  817.                                         {{ error|trans|nl2br }}
  818.                                     </div>
  819.                                 </div>
  820.                             </div>
  821.                         {% endfor %}
  822.                         {% set subTotalExcTax = 0 %}
  823.                         {% set naireTotalPrice = 0 %}
  824.                         {% for CartItem in Cart.CartItems %}
  825.                             {% set ProductClass = CartItem.ProductClass %}
  826. \t\t\t\t\t\t\t{% set Product = ProductClass.Product %}
  827.                             {% set subTotalExcTax = subTotalExcTax + (ProductClass.price02 * CartItem.quantity) %}
  828.                             {% set naireTotalPrice = naireTotalPrice + (CartItem.option_price * CartItem.quantity) %}
  829.                             <div class=\"flex gap-5 border-b-2 border-[#CCC] first:pb-6 py-6 last:pb-0 md:gap-0 md:justify-center md:py-4 first:md:pb-4\">
  830.                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\" class=\"block w-full max-w-[151px] hover\">
  831.                                     <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" class=\"h-[151px] md:hidden\"/>
  832.                                 </a>
  833.                                 <ul class=\"w-full flex flex-col gap-3 text-[#666] whitespace-nowrap\">
  834.                                     <li class=\"flex justify-between md:gap-2\">
  835.                                         <img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" class=\"hidden md:block w-[max(5.2vw,72px)] h-[72px]\"/>
  836.                                         <div class=\"w-full flex justify-between md:flex-col md:w-[calc(100%-80px)]\">
  837.                                              <div>
  838.                                                 <a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\" class=\"text-lg font-bold md:text-sm hover\">
  839.                                                     {{ Product.name }}
  840.                                                 </a>
  841.                                                 <p class=\"text-lg font-bold md:text-sm\">価格: {{ CartItem.price|number_format }}円 (税込)</p>
  842.                                             </div>
  843.                                             <a href=\"{{ url('productoption_cart_handle_item', {'operation': 'remove', 'cartItemId': CartItem.id }) }}\" {{ csrf_token_for_anchor() }} class=\"block w-[60px] md:w-[76px] h-9 pt-1 text-center border-2 border-[#DDD] hover md:ml-auto md:pt-2 md:text-xs\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  844.                                                 削除
  845.                                             </a>
  846.                                         </div>
  847.                                     </li>
  848.                                     {% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  849.                                         <li class=\"flex mt-3\">
  850.                                             <p class=\"w-2/5 font-bold md:text-xs md:w-2/5\">●カラー:</p>
  851.                                             <p class=\"w-4/5 md:text-xs md:w-3/5\">{{ ProductClass.ClassCategory1 }}</p>
  852.                                         </li>
  853.                                     {% endif %}
  854.                                     {% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
  855.                                         <li class=\"flex\">
  856.                                             <p class=\"w-2/5 font-bold md:text-xs md:w-2/5\">●{{ ProductClass.ClassCategory2.ClassName.name }}:</p>
  857.                                             <p class=\"w-4/5 md:text-xs md:w-3/5\">{{ ProductClass.ClassCategory2 }}</p>
  858.                                         </li>
  859.                                     {% endif %}
  860.                                     <li class=\"flex\">
  861.                                         <p class=\"w-2/5 font-bold md:text-xs md:w-2/5\">●数量:</p>
  862.                                         <p class=\"w-4/5 md:text-xs md:w-3/5\">{{ CartItem.quantity|number_format }}点</p>
  863.                                     </li>
  864.                                     {% set KAKEIHAI_ID = 129 %}
  865.                                     <div class=\"flex {% if CartItem.ProductClass.Product.id == KAKEIHAI_ID %} flex-col-reverse {% else %} flex-col {% endif %} gap-4 md:gap-2\">
  866.                                         {% for CartItemOption in CartItem.CartItemOptions %}
  867.                                             <li class=\"flex md:text-xs\">
  868.                                                 <p class=\"font-bold w-1/5 md:text-xs md:w-2/5\">●{{ CartItemOption.label }}:</p>
  869.                                                     {% for CartItemOptionCategory in CartItemOption.CartItemOptionCategories %}
  870.                                                         {{ CartItemOptionCategory.value }}
  871.                                                     {% endfor %}
  872.                                             </li>
  873.                                         {% endfor %}
  874.                                     </div>
  875.                                 </ul>
  876.                             </div>
  877.                         {% endfor %}
  878.                         <div class=\"flex flex-col w-full mr-6 sm:mr-0 sm:justify-center sm:items-center\">
  879. \t\t\t\t\t\t\t<div class=\"mt-6 md:my-4 mb-10 flex flex-col gap-2 sm:w-full md:text-sm font-bold text-[#666]\">
  880. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  881. \t\t\t\t\t\t\t\t\t<span>合計点数</span>
  882. \t\t\t\t\t\t\t\t\t<span>{{ Cart.quantity }}点</span>
  883. \t\t\t\t\t\t\t\t</div>
  884. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  885. \t\t\t\t\t\t\t\t\t<span>小計</span>
  886. \t\t\t\t\t\t\t\t\t<span>{{ (subTotalExcTax + naireTotalPrice)|number_format }}円</span>
  887. \t\t\t\t\t\t\t\t</div>
  888. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  889. \t\t\t\t\t\t\t\t\t<span>消費税(10%)</span>
  890. \t\t\t\t\t\t\t\t\t<span>{{ (Cart.total_price - subTotalExcTax - naireTotalPrice )|number_format }}円</span>
  891. \t\t\t\t\t\t\t\t</div>
  892. \t\t\t\t\t\t\t\t<div class=\"flex justify-between items-center mt-1\">
  893. \t\t\t\t\t\t\t\t\t<span>合計金額 (税込)</span>
  894. \t\t\t\t\t\t\t\t\t<div>
  895. \t\t\t\t\t\t\t\t\t\t<span class=\" text-manakaRed text-[28px] md:text-2xl\">{{ Cart.totalPrice|number_format }}</span>
  896. \t\t\t\t\t\t\t\t\t\t<span class=\"text-sm\">円</span>
  897. \t\t\t\t\t\t\t\t\t</div>
  898. \t\t\t\t\t\t\t\t</div>
  899. \t\t\t\t\t\t\t</div>
  900. \t\t\t\t\t\t</div>
  901.                         {% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  902.                             <br/>
  903.                             {% if is_delivery_free[cartKey] %}
  904.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  905.                             {% else %}
  906.                                 {{ 'front.cart.delivery_fee_free__price_and_quantity'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  907.                             {% endif %}
  908.                         {% elseif BaseInfo.delivery_free_amount %}
  909.                             <br/>
  910.                             {% if is_delivery_free[cartKey] %}
  911.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  912.                             {% else %}
  913.                                 {{ 'front.cart.delivery_fee_free__price'|trans({ '%price%': least[cartKey]|price })|raw }}
  914.                             {% endif %}
  915.                         {% elseif BaseInfo.delivery_free_quantity %}
  916.                             <br/>
  917.                             {% if is_delivery_free[cartKey] %}
  918.                                 {{ 'front.cart.delivery_fee_free__now'|trans }}
  919.                             {% else %}
  920.                                 {{ 'front.cart.delivery_fee_free__quantity'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  921.                             {% endif %}
  922.                         {% endif %}
  923.                         <div class=\"ec-cartRole__actions flex flex-col gap-3\">
  924.                             <a class=\"block text-lg text-center w-[300px] md:w-full py-4 text-white bg-[#333] hover mx-auto md:text-base font-light\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">
  925.                                 {{ 'front.cart.checkout'|trans }}
  926.                             </a>
  927.                             {% if loop.last %}
  928.                                 <a href=\"{{ url('homepage') }}\" class=\"block w-[300px] md:w-full mx-auto border-2 border-[#DDD] font-light text-lg text-center py-3 md:text-base hover\">お買い物を続ける</a>
  929.                             {% endif %}
  930.                         </div>
  931.                     {% endfor %}
  932.                 </form>
  933.             {% else %}
  934.                 {% for CartIndex,Cart in Carts %}
  935.                     {% set cartKey = Cart.cart_key %}
  936.                     {% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  937.                         <div class=\"ec-cartRole__error\">
  938.                             <div class=\"ec-alert-warning\">
  939.                                 <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  940.                                 <div class=\"ec-alert-warning__text\">
  941.                                     {{ error|trans|nl2br }}
  942.                                 </div>
  943.                             </div>
  944.                         </div>
  945.                     {% endfor %}
  946.                 {% endfor %}
  947.                     <div class=\"flex flex-col gap-7 mt-[80px] mb-10\">
  948.                         <img src=\"{{ asset('assets/icon/cart.svg') }}\" class=\"w-[77px] h-[77px] mx-auto\"/>
  949.                         <p class=\"text-center font-bold md:text-sm\">現在、カートに<br>商品は入っておりません。</p>
  950.                     </div>
  951.                     <a href=\"{{ url('homepage') }}\" class=\"block w-[300px] md:w-full mx-auto border-2 border-[#DDD] font-light text-lg text-center py-3 md:text-base hover\">お買い物を続ける</a>
  952.             {% endif %}
  953.         </div>
  954.     </div>
  955.         {% set breadcrumbs = [{'name': '現在のカゴの中'}] %}
  956.         {% include('Block/breadcrumbs.twig') %}
  957. {% endblock %}
  958. ""__string_template__bb22fd216c8edf9daac37647a26389f9""");
  959.     }
  960.     
  961.     public function checkSecurity()
  962.     {
  963.         static $tags = array("set" => 13"for" => 101"if" => 107"include" => 274);
  964.         static $filters = array("escape" => 70"trans" => 70"nl2br" => 108"no_image_product" => 149"number_format" => 159"raw" => 224"price" => 224);
  965.         static $functions = array("asset" => 105"url" => 127"csrf_token_for_anchor" => 161"path" => 242);
  966.         try {
  967.             $this->sandbox->checkSecurity(
  968.                 ['set''for''if''include'],
  969.                 ['escape''trans''nl2br''no_image_product''number_format''raw''price'],
  970.                 ['asset''url''csrf_token_for_anchor''path']
  971.             );
  972.         } catch (SecurityError $e) {
  973.             $e->setSourceContext($this->source);
  974.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  975.                 $e->setTemplateLine($tags[$e->getTagName()]);
  976.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  977.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  978.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  979.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  980.             }
  981.             throw $e;
  982.         }
  983.     }
  984. }