var/cache/dev/twig/fb/fbe5ae30624d5153cf82e046d2090e3f.php line 42

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__04f96a7573e53bb468d7d5d5a15309bf */
  14. class __TwigTemplate_e0ebc7f36c81f98c8ff4bcb508055a7e 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__04f96a7573e53bb468d7d5d5a15309bf"));
  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__04f96a7573e53bb468d7d5d5a15309bf"));
  42.         // line 13
  43.         $context["body_class"] = "cart_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""__string_template__04f96a7573e53bb468d7d5d5a15309bf"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 "\t<style>
  62. \t\tselect {
  63. \t\t\tpadding: 16px 12px;
  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. \t</style>
  70. \t<style>
  71. \t\t.heading:after {
  72. \t\t\ttransition: transform 0.4s;
  73. \t\t}
  74. \t\t.heading.is-open:before {
  75. \t\t\tcontent: '+';
  76. \t\t\ttransform: rotate(-180deg);
  77. \t\t}
  78. \t</style>
  79.     <style>
  80. \t\t.slider .slick-list {
  81. \t\t\toverflow: visible;
  82. \t\t\tpadding: 0;
  83. \t\t}
  84. \t\t.slider {
  85. \t\t\tmax-width: 800px;
  86. \t\t\tmax-height: auto !important;
  87. \t\t}
  88. \t\t.slick-dots {
  89. \t\t\tdisplay: flex;
  90. \t\t\talign-items: center;
  91. \t\t\tjustify-content: center;
  92. \t\t\tgap: 16px;
  93. \t\t\tmargin-top: -120px;
  94. \t\t}
  95. \t\t.slick-dots li {
  96. \t\t\tlist-style-type: none;
  97. \t\t\twidth: 8px;
  98.             height: 8px;
  99. \t\t\tborder-radius: 50%;
  100. \t\t\tcursor: pointer;
  101. \t\t}
  102. \t\t.slick-dots li {
  103. \t\t\twidth: 8px;
  104. \t\t\theight: 8px;
  105. \t\t\tborder-radius: 50%;
  106. \t\t\tborder: solid 1px;
  107. \t\t\tborder-color: #2F2725;
  108. \t\t}
  109. \t\t.slick-dots li.slick-active {
  110. \t\t\tbackground: #2F2725;
  111. \t\t}
  112.         .slick-dots button{
  113.             opacity:0;
  114.         }
  115. \t</style>
  116. \t\t";
  117.         // line 71
  118.         if ((twig_length_filter($this->env, (isset($context["RelatedProducts"]) || array_key_exists("RelatedProducts"$context) ? $context["RelatedProducts"] : (function () { throw new RuntimeError('Variable "RelatedProducts" does not exist.'71$this->source); })())) == 2)) {
  119.             // line 72
  120.             echo "            <style>
  121.                 .slider {
  122.                     max-width: 725px;
  123.                     max-height: auto !important;
  124.                 }
  125.             </style>
  126.         ";
  127.         }
  128.         
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.     }
  133.     // line 81
  134.     public function block_javascript($context, array $blocks = [])
  135.     {
  136.         $macros $this->macros;
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  141.         // line 82
  142.         echo "\t<script>
  143. \t\t\$(function () {
  144.             \$('[id^=naire_]').change(function () {
  145.                 var operation = \$(this).val();
  146.                 var cartItemId = \$(this).data('id');
  147.                 \$.ajax({
  148.                     type: \"POST\",
  149.                     headers: {
  150.                         \"X-HTTP-Method-Override\": \"PUT\"
  151.                     },
  152.                     url: \"/cart/\" + operation + \"/\" + cartItemId,
  153.                 }).done(function (data) {
  154.                     location.reload();
  155.                 }).fail(function (data) {
  156.                     console.error(data);
  157.                 });
  158.             });
  159.             \$('#naire').click(function () {
  160.                 \$('.heading').toggleClass('is-open');
  161.                 \$('#naire_description').slideToggle();
  162.             });
  163.         });
  164. \t</script>
  165.     ";
  166.         // line 106
  167.         if ((twig_length_filter($this->env, (isset($context["RelatedProducts"]) || array_key_exists("RelatedProducts"$context) ? $context["RelatedProducts"] : (function () { throw new RuntimeError('Variable "RelatedProducts" does not exist.'106$this->source); })())) >= 3)) {
  168.             // line 107
  169.             echo "        <script>
  170.             \$(document).ready(function () {
  171.                 \$('.slider').slick({
  172.                     slidesToShow: 1,
  173.                     slidesToScroll: 1,
  174.                     dots: true,
  175.                     dotsClass: \"slick-dots\",
  176.                     centerMode: true,
  177.                     variableWidth: true,
  178.                     autoplay: true,
  179.                     autoplaySpeed: 2500,
  180.                     speed: 1000,
  181.                     focusOnSelect: true,
  182.                     infinite: true
  183.                 });
  184.             });
  185.         </script>
  186.         ";
  187.         } elseif ((twig_length_filter($this->env,         // line 124
  188. (isset($context["RelatedProducts"]) || array_key_exists("RelatedProducts"$context) ? $context["RelatedProducts"] : (function () { throw new RuntimeError('Variable "RelatedProducts" does not exist.'124$this->source); })())) == 2)) {
  189.             // line 125
  190.             echo "            <script>
  191.                 \$(document).ready(function () {
  192.                     \$('.slider').slick({
  193.                         slidesToShow: 2,
  194.                         slidesToScroll: 2,
  195.                         dots: true,
  196.                         dotsClass: \"slick-dots\",
  197.                         variableWidth: true,
  198.                         focusOnSelect: true,
  199.                         responsive: [{
  200.                             breakpoint: 1000,
  201.                             settings:{
  202.                                 slidesToShow: 1,
  203.                                 slidesToScroll: 1,
  204.                             },
  205.                         } ]
  206.                     });
  207.                 });
  208.             </script>
  209.     ";
  210.         }
  211.         
  212.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  213.         
  214.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  215.     }
  216.     // line 147
  217.     public function block_main($context, array $blocks = [])
  218.     {
  219.         $macros $this->macros;
  220.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  222.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  223.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  224.         // line 148
  225.         echo "
  226. \t<div class=\"pb-20 lg:px-6 whitespace-nowrap bg-background-default w-full items-center justify-center flex-col flex\">
  227. \t\t<div class=\"w-full\">
  228. \t\t\t<div class=\"flex gap-4 md:gap-2 items-start mx-auto w-full pl-[10.625vw] md:pl-6 pt-[120px] md:pt-20 pb-10\">
  229. \t\t\t\t<hr class=\"md:h-[64px] h-[120px] w-[2px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
  230. \t\t\t\t<h1 class=\"text-2xl md:text-xl font-light leading-9 tracking-widest\">ショッピングカート</h1>
  231. \t\t\t</div>
  232. \t\t\t";
  233.         // line 155
  234.         $context["breadcrumbs"] = [=> ["name" => "ショッピングカート"]];
  235.         // line 156
  236.         echo "\t\t\t";
  237.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/breadcrumb.twig");
  238.         echo "
  239. \t\t</div>
  240. \t\t<p class=\"mb-10 text-sm w-full md:pl-6 pl-[10.625vw]\">会員登録せずにご注文に進むこともできます。</p>
  241. \t\t<div class=\"flex flex-col justify-center items-center gap-2 w-full max-w-[592px] mx-auto mb-20\">
  242. \t\t\t<div class=\"flex items-center w-full justify-between\">
  243. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-sub-blue flex items-center justify-center rounded-full\">
  244. \t\t\t\t\t<p class=\"text-white font-bold font-notoserif leading-none\">1</p>
  245. \t\t\t\t</div>
  246. \t\t\t\t<div class=\"w-[7.5vw] md:w-[12vw] flex-1 h-[2px] bg-gray\"></div>
  247. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-gray flex items-center justify-center rounded-full\">
  248. \t\t\t\t\t<p class=\"text-white text-xl md:text-base font-bold font-notoserif leading-none\">2</p>
  249. \t\t\t\t</div>
  250. \t\t\t\t<div class=\"w-[7.5vw] md:w-[12vw] flex-1 h-[2px] bg-gray\"></div>
  251. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-gray flex items-center justify-center rounded-full\">
  252. \t\t\t\t\t<p class=\"text-white text-xl md:text-base font-bold font-notoserif leading-none\">3</p>
  253. \t\t\t\t</div>
  254. \t\t\t\t<div class=\"w-[7.5vw] md:w-[12vw] flex-1 h-[2px] bg-gray\"></div>
  255. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-gray flex items-center justify-center rounded-full\">
  256. \t\t\t\t\t<p class=\"text-white text-xl md:text-base font-bold font-notoserif leading-none\">4</p>
  257. \t\t\t\t</div>
  258. \t\t\t</div>
  259. \t\t\t<div class=\"flex w-full items-center text-base md:text-xs mx-auto max-w-[800px] justify-between\">
  260. \t\t\t\t<p class=\"w-[27.8vw] pl-[10px] font-bold\">カート</p>
  261. \t\t\t\t<p class=\"text-center ml-[-1.87vw]\">お客様情報入力</p>
  262. \t\t\t\t<p class=\"text-end w-[27.8vw] \">ご注文手続き</p>
  263. \t\t\t\t<p class=\"text-end w-[27.8vw] mr-[-12px]\">ご注文完了</p>
  264. \t\t\t</div>
  265. \t\t</div>
  266.         <div class=\"max-w-[1008px] w-full flex flex-col items-center justify-center mx-6 sm:mx-0\">
  267.             ";
  268.         // line 186
  269.         $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.'186$this->source); })()), "session", [], "any"falsefalsetrue186), "flashbag", [], "any"falsefalsetrue186), "get", [=> "eccube.front.request.product"], "method"falsefalsetrue186);
  270.         // line 187
  271.         echo "            ";
  272.         $context['_parent'] = $context;
  273.         $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.'187$this->source); })()), "session", [], "any"falsefalsetrue187), "flashbag", [], "any"falsefalsetrue187), "get", [=> "eccube.front.request.error"], "method"falsefalsetrue187));
  274.         $context['loop'] = [
  275.           'parent' => $context['_parent'],
  276.           'index0' => 0,
  277.           'index'  => 1,
  278.           'first'  => true,
  279.         ];
  280.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  281.             $length count($context['_seq']);
  282.             $context['loop']['revindex0'] = $length 1;
  283.             $context['loop']['revindex'] = $length;
  284.             $context['loop']['length'] = $length;
  285.             $context['loop']['last'] = === $length;
  286.         }
  287.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  288.             // line 188
  289.             echo "                ";
  290.             $context["idx"] = twig_get_attribute($this->env$this->source$context["loop"], "index0", [], "any"falsefalsetrue188);
  291.             // line 189
  292.             echo "                <div class=\"ec-cartRole__error\">
  293.                     <div class=\"ec-alert-warning\">
  294.                         <div class=\"ec-alert-warning__icon\"><img src=\"";
  295.             // line 191
  296.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  297.             echo "\"></div>
  298.                         <div class=\"ec-alert-warning__text\">
  299.                             ";
  300.             // line 193
  301.             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.'193$this->source); })()), [], "array"truetruetrue193)) {
  302.                 // line 194
  303.                 echo "                                ";
  304.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 194$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.'194$this->source); })()), (isset($context["idx"]) || array_key_exists("idx"$context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.'194$this->source); })()), [], "array"falsefalsetrue194)]), "html"nulltrue));
  305.                 echo "
  306.                             ";
  307.             } else {
  308.                 // line 196
  309.                 echo "                                ";
  310.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 196$this->source)), "html"nulltrue));
  311.                 echo "
  312.                             ";
  313.             }
  314.             // line 198
  315.             echo "                        </div>
  316.                     </div>
  317.                 </div>
  318.             ";
  319.             ++$context['loop']['index0'];
  320.             ++$context['loop']['index'];
  321.             $context['loop']['first'] = false;
  322.             if (isset($context['loop']['length'])) {
  323.                 --$context['loop']['revindex0'];
  324.                 --$context['loop']['revindex'];
  325.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  326.             }
  327.         }
  328.         $_parent $context['_parent'];
  329.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  330.         $context array_intersect_key($context$_parent) + $_parent;
  331.         // line 202
  332.         echo "            ";
  333.         $context['_parent'] = $context;
  334.         $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.'202$this->source); })()), "session", [], "any"falsefalsetrue202), "flashbag", [], "any"falsefalsetrue202), "get", [=> "eccube.front.cart.error"], "method"falsefalsetrue202));
  335.         foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  336.             // line 203
  337.             echo "                <div class=\"ec-cartRole__error\">
  338.                     <div class=\"ec-alert-warning\">
  339.                         <div class=\"ec-alert-warning__icon\"><img src=\"";
  340.             // line 205
  341.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  342.             echo "\"></div>
  343.                         <div class=\"ec-alert-warning__text\">
  344.                             ";
  345.             // line 207
  346.             echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 207$this->source)), "html"nulltrue));
  347.             echo "
  348.                         </div>
  349.                     </div>
  350.                 </div>
  351.             ";
  352.         }
  353.         $_parent $context['_parent'];
  354.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  355.         $context array_intersect_key($context$_parent) + $_parent;
  356.         // line 212
  357.         echo "            ";
  358.         if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity"$context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.'212$this->source); })()) > 0)) {
  359.             // line 213
  360.             echo "                <hr class=\"w-full bg-sub-beige-pale h-[1px] border-none max-w-[1008px] mx-auto\">
  361.                 ";
  362.             // line 214
  363.             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.'214$this->source); })())) > 1)) {
  364.                 // line 215
  365.                 echo "                    <div class=\"ec-cartRole__error\">
  366.                         <div class=\"ec-alert-warning\">
  367.                             <div class=\"ec-alert-warning__text\">
  368.                                 ";
  369.                 // line 218
  370.                 echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.divide_cart"), "html"nulltrue));
  371.                 echo "
  372.                             </div>
  373.                         </div>
  374.                     </div>
  375.                 ";
  376.             }
  377.             // line 223
  378.             echo "
  379.                 <form name=\"form\" id=\"form_cart\" class=\"w-full flex flex-col items-center justify-center\" method=\"post\" action=\"";
  380.             // line 224
  381.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
  382.             echo "\">
  383. \t\t\t\t\t";
  384.             // line 225
  385.             $context['_parent'] = $context;
  386.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'225$this->source); })()));
  387.             $context['loop'] = [
  388.               'parent' => $context['_parent'],
  389.               'index0' => 0,
  390.               'index'  => 1,
  391.               'first'  => true,
  392.             ];
  393.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  394.                 $length count($context['_seq']);
  395.                 $context['loop']['revindex0'] = $length 1;
  396.                 $context['loop']['revindex'] = $length;
  397.                 $context['loop']['length'] = $length;
  398.                 $context['loop']['last'] = === $length;
  399.             }
  400.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  401.                 $context["message"] = $this->extensions['Plugin\Productset42\Service\Twig\NonStockErrorMessageFunction']->getFunction($this->sandbox->ensureToStringAllowed($context["Cart"], 225$this->source));
  402.                 // line 226
  403.                 echo "
  404. ";
  405.                 // line 227
  406.                 if ( !twig_test_empty((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'227$this->source); })()))) {
  407.                     // line 228
  408.                     echo "  <div class=\"ec-cartRole__error\">
  409.     <div class=\"ec-alert-warning\">
  410.       <div class=\"ec-alert-warning__text\">
  411.         ";
  412.                     // line 231
  413.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'231$this->source); })()), 231$this->source), "html"nulltrue);
  414.                     echo "
  415.       </div>
  416.     </div>
  417.   </div>
  418. ";
  419.                 }
  420.                 // line 236
  421.                 echo "
  422. <script>
  423.     \$(function () {
  424.       ";
  425.                 // line 239
  426.                 if ( !twig_test_empty((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'239$this->source); })()))) {
  427.                     // line 240
  428.                     echo "        \$('.ec-cartRole__actions').find('.ec-blockBtn--action').css('display', 'none');
  429.       ";
  430.                 }
  431.                 // line 242
  432.                 echo "    });
  433. </script>
  434. \t\t\t\t\t\t";
  435.                 // line 244
  436.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue244);
  437.                 // line 245
  438.                 echo "\t\t\t\t\t\t";
  439.                 $context['_parent'] = $context;
  440.                 $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.'245$this->source); })()), "session", [], "any"falsefalsetrue245), "flashbag", [], "any"falsefalsetrue245), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'245$this->source); })())) . ".request.error")], "method"falsefalsetrue245));
  441.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  442.                     // line 246
  443.                     echo "\t\t\t\t\t\t\t<div class=\"ec-cartRole__error\">
  444. \t\t\t\t\t\t\t\t<div class=\"ec-alert-warning\">
  445. \t\t\t\t\t\t\t\t\t<img src=\"";
  446.                     // line 248
  447.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  448.                     echo "\">
  449. \t\t\t\t\t\t\t\t\t<div class=\"ec-alert-warning__text\">
  450. \t\t\t\t\t\t\t\t\t\t";
  451.                     // line 250
  452.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 250$this->source)), "html"nulltrue));
  453.                     echo "
  454. \t\t\t\t\t\t\t\t\t</div>
  455. \t\t\t\t\t\t\t\t</div>
  456. \t\t\t\t\t\t\t</div>
  457. \t\t\t\t\t\t";
  458.                 }
  459.                 $_parent $context['_parent'];
  460.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  461.                 $context array_intersect_key($context$_parent) + $_parent;
  462.                 // line 255
  463.                 echo "\t\t\t\t\t\t";
  464.                 $context["subTotalExcTax"] = 0;
  465.                 // line 256
  466.                 echo "\t\t\t\t\t\t<div class=\"w-full flex flex-col items-center justify-center my-10 gap-10\">
  467. \t\t\t\t\t\t\t<ul class=\"flex gap-10 flex-col justify-center max-w-[800px] w-full \">
  468. \t\t\t\t\t\t\t\t";
  469.                 // line 258
  470.                 $context['_parent'] = $context;
  471.                 $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["Cart"], "CartItems", [], "any"falsefalsetrue258));
  472.                 foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
  473.                     // line 259
  474.                     echo "\t\t\t\t\t\t\t\t\t";
  475.                     $context["ProductClass"] = twig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue259);
  476.                     // line 260
  477.                     echo "\t\t\t\t\t\t\t\t\t";
  478.                     $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.'260$this->source); })()), "Product", [], "any"falsefalsetrue260);
  479.                     // line 261
  480.                     echo "\t\t\t\t\t\t\t\t\t";
  481.                     $context["subTotalExcTax"] = ((isset($context["subTotalExcTax"]) || array_key_exists("subTotalExcTax"$context) ? $context["subTotalExcTax"] : (function () { throw new RuntimeError('Variable "subTotalExcTax" does not exist.'261$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.'261$this->source); })()), "price02", [], "any"falsefalsetrue261) * twig_get_attribute($this->env$this->source$context["CartItem"], "quantity", [], "any"falsefalsetrue261)));
  482.                     // line 262
  483.                     echo "\t\t\t\t\t\t\t\t\t<li class=\"w-full flex gap-4 md:gap-5 md:flex-col justify-between\">
  484. \t\t\t\t\t\t\t\t\t\t<div class=\"flex gap-4 md:flex-col\">
  485. \t\t\t\t\t\t\t\t\t\t\t<div class=\"md:flex md:flex-col md:w-full md:items-end md:justify-end\">
  486. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:flex md:gap-3 md:w-full\">
  487. \t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"hover\" target=\"_blank\" href=\"";
  488.                     // line 266
  489.                     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.'266$this->source); })()), "id", [], "any"falsefalsetrue266)]), "html"nulltrue);
  490.                     echo "\">
  491. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  492.                     // line 267
  493.                     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.'267$this->source); })()), "MainListImage", [], "any"falsefalsetrue267), 267$this->source)), "save_image"), "html"nulltrue);
  494.                     echo "\" alt=\"";
  495.                     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.'267$this->source); })()), "name", [], "any"falsefalsetrue267), 267$this->source), "html"nulltrue);
  496.                     echo "\" class=\"w-[176px] h-[176px] md:h-[60px] md:w-[60px] aspect-square\">
  497. \t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  498. \t\t\t\t\t\t\t\t\t\t\t\t\t<div>
  499. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"";
  500.                     // line 270
  501.                     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.'270$this->source); })()), "id", [], "any"falsefalsetrue270)]), "html"nulltrue);
  502.                     echo "\" class=\"hidden md:block leading-9 text-sm\">";
  503.                     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.'270$this->source); })()), "name", [], "any"falsefalsetrue270), 270$this->source), "html"nulltrue);
  504.                     echo "</a>
  505. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-medium hidden md:block text-sm\">価格:";
  506.                     // line 271
  507.                     echo twig_escape_filter($this->env$this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "price", [], "any"falsefalsetrue271), 271$this->source)), "html"nulltrue);
  508.                     echo "</div>
  509. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  510. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  511. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  512.                     // line 274
  513.                     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.'274$this->source); })()), "id", [], "any"falsefalsetrue274)]), "html"nulltrue);
  514.                     echo "\" ";
  515.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  516.                     echo " class=\"text-sm leading-4 text-sub-blue border-b border-sub-blue w-fit hidden md:block hover\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  517. \t\t\t\t\t\t\t\t\t\t\t\t\t削除する
  518. \t\t\t\t\t\t\t\t\t\t\t\t</a>
  519. \t\t\t\t\t\t\t\t\t\t\t</div>
  520. \t\t\t\t\t\t\t\t\t\t\t<div class=\"w-[400px] md:w-full text-sm leading-9 tracking-wider lg:mr-0\">
  521. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"\">
  522. \t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"";
  523.                     // line 280
  524.                     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.'280$this->source); })()), "id", [], "any"falsefalsetrue280)]), "html"nulltrue);
  525.                     echo "\" class=\"md:hidden\">";
  526.                     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.'280$this->source); })()), "name", [], "any"falsefalsetrue280), 280$this->source), "html"nulltrue);
  527.                     echo "</a>
  528. \t\t\t\t\t\t\t\t\t\t\t\t\t<dl class=\"font-medium flex-col flex\">
  529. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex md:gap-6\">
  530. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:w-[72px]\">価格:</div>
  531. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-normal\">";
  532.                     // line 284
  533.                     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"falsefalsetrue284), 284$this->source)), "html"nulltrue);
  534.                     echo "円 (税込)</div>
  535. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  536. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  537.                     // line 286
  538.                     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.'286$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue286) && 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.'286$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue286), "id", [], "any"falsefalsetrue286))) {
  539.                         // line 287
  540.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-medium flex md:gap-6\">
  541. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:w-[72px]\">";
  542.                         // line 288
  543.                         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.'288$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue288), "ClassName", [], "any"falsefalsetrue288), "name", [], "any"falsefalsetrue288), 288$this->source), "html"nulltrue);
  544.                         echo ":</div>
  545. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>";
  546.                         // line 289
  547.                         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.'289$this->source); })()), "ClassCategory1", [], "any"falsefalsetrue289), 289$this->source), "html"nulltrue);
  548.                         echo "</div>
  549. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  550. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  551.                     }
  552.                     // line 292
  553.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex md:gap-6\">
  554. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:w-[72px]\">";
  555.                     // line 293
  556.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("common.quantity__with_separator"), "html"nulltrue);
  557.                     echo "</div>
  558. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-normal\">";
  559.                     // line 294
  560.                     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"falsefalsetrue294), 294$this->source)), "html"nulltrue);
  561.                     echo "点</div>
  562. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  563. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>
  564. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex mt-2 mb-10 items-center gap-6 md:gap-4\">
  565. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  566.                     // line 298
  567.                     if (( !(null === $context["CartItem"]) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue298), "Product", [], "any"falsefalsetrue298), "isNaireProduct", [], "any"falsefalsetrue298))) {
  568.                         // line 299
  569.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    <div class=\"font-medium md:w-[72px]\">名入れ:</div>
  570. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name=\"naire\" id=\"naire_";
  571.                         // line 300
  572.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "id", [], "any"falsefalsetrue300), 300$this->source), "html"nulltrue);
  573.                         echo "\" data-id=\"";
  574.                         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CartItem"], "id", [], "any"falsefalsetrue300), 300$this->source), "html"nulltrue);
  575.                         echo "\">
  576. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"naire_true\" ";
  577.                         // line 301
  578.                         if (twig_get_attribute($this->env$this->source$context["CartItem"], "naire", [], "any"falsefalsetrue301)) {
  579.                             echo "selected";
  580.                         }
  581.                         echo ">
  582. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tあり</option>
  583. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"naire_false\" ";
  584.                         // line 303
  585.                         if ( !twig_get_attribute($this->env$this->source$context["CartItem"], "naire", [], "any"falsefalsetrue303)) {
  586.                             echo "selected";
  587.                         }
  588.                         echo ">なし</option>
  589. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
  590. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  591.                     }
  592.                     // line 306
  593.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  594. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  595.                     // line 307
  596.                     if (twig_get_attribute($this->env$this->source$context["CartItem"], "naire", [], "any"falsefalsetrue307)) {
  597.                         // line 308
  598.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex flex-col items-start\">
  599. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"naire\" class=\"w-full flex items-center justify-between hover\">
  600. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"flex items-center hover gap-1 mb-4\">
  601. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t名入れの仕様について
  602. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  603. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"heading before:content-['-'] text-xl pb-3\"></p>
  604. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  605. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"naire_description\">
  606.                                                                         <div class=\"grid ";
  607.                         // line 316
  608.                         if ((twig_length_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue316), "Product", [], "any"falsefalsetrue316), "ProductNaireImages", [], "any"falsefalsetrue316)) > 1)) {
  609.                             echo "grid-cols-2";
  610.                         }
  611.                         echo " gap-4 items-center\">
  612.                                                                             ";
  613.                         // line 317
  614.                         $context['_parent'] = $context;
  615.                         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["CartItem"], "ProductClass", [], "any"falsefalsetrue317), "Product", [], "any"falsefalsetrue317), "ProductNaireImages", [], "any"falsefalsetrue317));
  616.                         $context['loop'] = [
  617.                           'parent' => $context['_parent'],
  618.                           'index0' => 0,
  619.                           'index'  => 1,
  620.                           'first'  => true,
  621.                         ];
  622.                         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  623.                             $length count($context['_seq']);
  624.                             $context['loop']['revindex0'] = $length 1;
  625.                             $context['loop']['revindex'] = $length;
  626.                             $context['loop']['length'] = $length;
  627.                             $context['loop']['last'] = === $length;
  628.                         }
  629.                         foreach ($context['_seq'] as $context["_key"] => $context["ProductNaireImage"]) {
  630.                             // line 318
  631.                             echo "                                                                                <img src=\"";
  632.                             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$context["ProductNaireImage"], "file_name", [], "any"falsefalsetrue318), 318$this->source)), "save_image"), "html"nulltrue);
  633.                             echo "\" alt=\"";
  634.                             echo twig_escape_filter($this->env, ((((twig_get_attribute($this->env$this->source$context["ProductNaireImage"], "alt_text", [], "any"truetruetrue318) &&  !(null === twig_get_attribute($this->env$this->source$context["ProductNaireImage"], "alt_text", [], "any"falsefalsetrue318)))) ? (twig_get_attribute($this->env$this->source$context["ProductNaireImage"], "alt_text", [], "any"falsefalsetrue318)) : ("名入れ画像")) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue318), 318$this->source)), "html"nulltrue);
  635.                             echo "\" class=\"mb-4 h-[192px] w-auto md:h-[159px]\">
  636.                                                                             ";
  637.                             ++$context['loop']['index0'];
  638.                             ++$context['loop']['index'];
  639.                             $context['loop']['first'] = false;
  640.                             if (isset($context['loop']['length'])) {
  641.                                 --$context['loop']['revindex0'];
  642.                                 --$context['loop']['revindex'];
  643.                                 $context['loop']['last'] = === $context['loop']['revindex0'];
  644.                             }
  645.                         }
  646.                         $_parent $context['_parent'];
  647.                         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductNaireImage'], $context['_parent'], $context['loop']);
  648.                         $context array_intersect_key($context$_parent) + $_parent;
  649.                         // line 320
  650.                         echo "                                                                        </div>
  651.                                                                         <p class=\"mb-4 whitespace-normal text-sm leading-7 tracking-wider font-normal\">";
  652.                         // line 321
  653.                         echo twig_nl2br(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.'321$this->source); })()), "naire_content", [], "any"falsefalsetrue321), 321$this->source), "html"nulltrue));
  654.                         echo "</p>
  655.                                                                     </div>
  656. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  657. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  658.                     }
  659.                     // line 325
  660.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  661. \t\t\t\t\t\t\t\t\t\t\t\t\t</dl>
  662. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  663. \t\t\t\t\t\t\t\t\t\t\t</div>
  664. \t\t\t\t\t\t\t\t\t\t</div>
  665. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  666.                     // line 330
  667.                     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.'330$this->source); })()), "id", [], "any"falsefalsetrue330)]), "html"nulltrue);
  668.                     echo "\" ";
  669.                     echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
  670.                     echo " class=\"text-sm text-sub-blue border-b border-sub-blue leading-4 md:hidden h-fit w-fit mt-[72px] hover\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  671. \t\t\t\t\t\t\t\t\t\t\t削除する</a>
  672. \t\t\t\t\t\t\t\t\t</li>
  673. \t\t\t\t\t\t\t\t";
  674.                 }
  675.                 $_parent $context['_parent'];
  676.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
  677.                 $context array_intersect_key($context$_parent) + $_parent;
  678.                 // line 334
  679.                 echo "\t\t\t\t\t\t\t</ul>
  680. \t\t\t\t\t\t</div>
  681. \t\t\t\t\t\t<hr
  682. \t\t\t\t\t\tclass=\"w-full bg-sub-beige-pale h-[1px] border-none\">
  683. \t\t\t\t\t\t<div class=\"ec-cartRole__progress\">
  684. \t\t\t\t\t\t\t";
  685.                 // line 339
  686.                 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.'339$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue339) && 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.'339$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue339))) {
  687.                     // line 340
  688.                     echo "\t\t\t\t\t\t\t\t<br/>
  689. \t\t\t\t\t\t\t\t";
  690.                     // line 341
  691.                     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.'341$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'341$this->source); })()), [], "array"falsefalsetrue341)) {
  692.                         // line 342
  693.                         echo "\t\t\t\t\t\t\t\t\t";
  694.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  695.                         echo "
  696. \t\t\t\t\t\t\t\t";
  697.                     } else {
  698.                         // line 344
  699.                         echo "\t\t\t\t\t\t\t\t\t";
  700.                         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.'344$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'344$this->source); })()), [], "array"falsefalsetrue344), 344$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.'344$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'344$this->source); })()), [], "array"falsefalsetrue344), 344$this->source))]);
  701.                         echo "
  702. \t\t\t\t\t\t\t\t";
  703.                     }
  704.                     // line 346
  705.                     echo "\t\t\t\t\t\t\t";
  706.                 } 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.'346$this->source); })()), "delivery_free_amount", [], "any"falsefalsetrue346)) {
  707.                     // line 347
  708.                     echo "\t\t\t\t\t\t\t\t<br/>
  709. \t\t\t\t\t\t\t\t";
  710.                     // line 348
  711.                     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.'348$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'348$this->source); })()), [], "array"falsefalsetrue348)) {
  712.                         // line 349
  713.                         echo "\t\t\t\t\t\t\t\t\t";
  714.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  715.                         echo "
  716. \t\t\t\t\t\t\t\t";
  717.                     } else {
  718.                         // line 351
  719.                         echo "\t\t\t\t\t\t\t\t\t";
  720.                         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.'351$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'351$this->source); })()), [], "array"falsefalsetrue351), 351$this->source))]);
  721.                         echo "
  722. \t\t\t\t\t\t\t\t";
  723.                     }
  724.                     // line 353
  725.                     echo "\t\t\t\t\t\t\t";
  726.                 } 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.'353$this->source); })()), "delivery_free_quantity", [], "any"falsefalsetrue353)) {
  727.                     // line 354
  728.                     echo "\t\t\t\t\t\t\t\t<br/>
  729. \t\t\t\t\t\t\t\t";
  730.                     // line 355
  731.                     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.'355$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'355$this->source); })()), [], "array"falsefalsetrue355)) {
  732.                         // line 356
  733.                         echo "\t\t\t\t\t\t\t\t\t";
  734.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.delivery_fee_free__now"), "html"nulltrue);
  735.                         echo "
  736. \t\t\t\t\t\t\t\t";
  737.                     } else {
  738.                         // line 358
  739.                         echo "\t\t\t\t\t\t\t\t\t";
  740.                         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.'358$this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'358$this->source); })()), [], "array"falsefalsetrue358), 358$this->source))]);
  741.                         echo "
  742. \t\t\t\t\t\t\t\t";
  743.                     }
  744.                     // line 360
  745.                     echo "\t\t\t\t\t\t\t";
  746.                 }
  747.                 // line 361
  748.                 echo "\t\t\t\t\t\t</div>
  749. \t\t\t\t\t\t<div class=\"flex justify-end max-w-[800px] w-full mr-6 sm:mr-0 sm:justify-center sm:items-center\">
  750. \t\t\t\t\t\t\t<div class=\"w-[327px] mt-10 mb-20 flex flex-col gap-4 sm:w-full text-sm\">
  751. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  752. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">合計点数</span>
  753. \t\t\t\t\t\t\t\t\t<span>";
  754.                 // line 366
  755.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Cart"], "quantity", [], "any"falsefalsetrue366), 366$this->source), "html"nulltrue);
  756.                 echo "
  757. \t\t\t\t\t\t\t\t\t\t点</span>
  758. \t\t\t\t\t\t\t\t</div>
  759. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  760. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">小計</span>
  761. \t\t\t\t\t\t\t\t\t<span>";
  762.                 // line 371
  763.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["subTotalExcTax"]) || array_key_exists("subTotalExcTax"$context) ? $context["subTotalExcTax"] : (function () { throw new RuntimeError('Variable "subTotalExcTax" does not exist.'371$this->source); })()), 371$this->source)), "html"nulltrue);
  764.                 echo "円</span>
  765. \t\t\t\t\t\t\t\t</div>
  766. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  767. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">消費税(10%)</span>
  768. \t\t\t\t\t\t\t\t\t<span>";
  769.                 // line 375
  770.                 echo twig_escape_filter($this->envtwig_number_format_filter($this->env, (twig_get_attribute($this->env$this->source$context["Cart"], "total_price", [], "any"falsefalsetrue375) - (isset($context["subTotalExcTax"]) || array_key_exists("subTotalExcTax"$context) ? $context["subTotalExcTax"] : (function () { throw new RuntimeError('Variable "subTotalExcTax" does not exist.'375$this->source); })()))), "html"nulltrue);
  771.                 echo "円</span>
  772. \t\t\t\t\t\t\t\t</div>
  773. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  774. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">合計金額 (税込)</span>
  775. \t\t\t\t\t\t\t\t\t<div>
  776. \t\t\t\t\t\t\t\t\t\t<span class=\"font-bold text-red text-xl\">";
  777.                 // line 380
  778.                 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"falsefalsetrue380), 380$this->source)), "html"nulltrue);
  779.                 echo "</span>
  780. \t\t\t\t\t\t\t\t\t\t<span class=\"text-sm\">円</span>
  781. \t\t\t\t\t\t\t\t\t</div>
  782. \t\t\t\t\t\t\t\t</div>
  783. \t\t\t\t\t\t\t</div>
  784. \t\t\t\t\t\t</div>
  785. \t\t\t\t\t\t<div class=\"w-full flex flex-col gap-y-10 items-center justify-center mb-20 md:mb-10 \">
  786. \t\t\t\t\t\t\t<div class=\"flex gap-x-6 md:flex-col gap-y-4\">
  787. \t\t\t\t\t\t\t\t<a class=\"!w-[327px] text-white bg-black py-3 px-[128px] text-sm font-bold rounded-[3px] hover\" href=\"";
  788.                 // line 388
  789.                 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.'388$this->source); })())]), "html"nulltrue);
  790.                 echo "\">";
  791.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.checkout"), "html"nulltrue);
  792.                 echo "</a>
  793. \t\t\t\t\t\t\t\t";
  794.                 // line 389
  795.                 if (twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsetrue389)) {
  796.                     // line 390
  797.                     echo "\t\t\t\t\t\t\t\t\t<a class=\"border border-black text-black py-3 px-[107px] text-sm rounded-[3px] hover\" href=\"";
  798.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
  799.                     echo "\">";
  800.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.cart.continue"), "html"nulltrue);
  801.                     echo "</a>
  802. \t\t\t\t\t\t\t\t";
  803.                 }
  804.                 // line 392
  805.                 echo "\t\t\t\t\t\t\t</div>
  806. \t\t\t\t\t\t\t";
  807.                 // line 394
  808.                 echo "\t\t\t\t\t\t</div>
  809. \t\t\t\t\t";
  810.                 ++$context['loop']['index0'];
  811.                 ++$context['loop']['index'];
  812.                 $context['loop']['first'] = false;
  813.                 if (isset($context['loop']['length'])) {
  814.                     --$context['loop']['revindex0'];
  815.                     --$context['loop']['revindex'];
  816.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  817.                 }
  818.             }
  819.             $_parent $context['_parent'];
  820.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  821.             $context array_intersect_key($context$_parent) + $_parent;
  822.             // line 396
  823.             echo "\t\t\t\t</form>
  824. \t\t\t\t<hr
  825. \t\t\t\tclass=\"w-full bg-sub-beige-pale h-[1px] border-none max-w-[800px]\">
  826. \t\t\t\t";
  827.             // line 399
  828.             if ((twig_length_filter($this->env, (isset($context["RelatedProducts"]) || array_key_exists("RelatedProducts"$context) ? $context["RelatedProducts"] : (function () { throw new RuntimeError('Variable "RelatedProducts" does not exist.'399$this->source); })())) > 0)) {
  829.                 // line 400
  830.                 echo "\t\t\t\t\t<div class=\"mt-20 flex flex-col items-center md:mt-10 w-[1050px] xl:w-full\">
  831. \t\t\t\t\t\t<p class=\"font-medium text-center mb-10 leading-7\">ショッピングカート内の商品を購入した人は<br class=\"hidden md:block\">
  832. \t\t\t\t\t\t\tこちらの商品も一緒に購入しています</p>
  833.                             <ul class=\"max-w-[800px] w-full flex overflow-hidden items-center justify-center lg:w-[100vw] lg:mx-[calc(50%-50vw)] lg:px-[calc(50%-50vw)]\">
  834. \t\t\t\t\t\t\t    <div class=\"slider\">
  835. \t\t\t\t\t\t\t\t";
  836.                 // line 405
  837.                 $context['_parent'] = $context;
  838.                 $context['_seq'] = twig_ensure_traversable((isset($context["RelatedProducts"]) || array_key_exists("RelatedProducts"$context) ? $context["RelatedProducts"] : (function () { throw new RuntimeError('Variable "RelatedProducts" does not exist.'405$this->source); })()));
  839.                 foreach ($context['_seq'] as $context["_key"] => $context["RelatedProduct"]) {
  840.                     // line 406
  841.                     echo "\t\t\t\t\t\t\t\t\t<div class=\"slick-slider mx-5 max-w-[327px] \">
  842. \t\t\t\t\t\t\t\t\t\t<li class=\"flex flex-col items-center w-full h-auto text-center hover\">
  843. \t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  844.                     // line 408
  845.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue408), "id", [], "any"falsefalsetrue408)]), "html"nulltrue);
  846.                     echo "\">
  847. \t\t\t\t\t\t\t\t\t\t\t\t<img src=\"";
  848.                     // line 409
  849.                     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->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue409), "MainListImage", [], "any"falsefalsetrue409), 409$this->source)), "save_image"), "html"nulltrue);
  850.                     echo "\" alt=\"\" class=\"bg-cover w-[327px] h-[327px] mb-10 md:mb-6\"></a>
  851. \t\t\t\t\t\t\t\t\t\t\t<div class=\"mb-6\">
  852. \t\t\t\t\t\t\t\t\t\t\t\t<p class=\"whitespace-normal overflow-visible font-light font-notoserif text-[32px] mb-2 tracking-[6.4px]\">";
  853.                     // line 411
  854.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue411), "name", [], "any"falsefalsetrue411), 411$this->source), "html"nulltrue);
  855.                     echo "</p>
  856. \t\t\t\t\t\t\t\t\t\t\t\t<p class=\"text-sm font-notoserif font-light tracking-wide\">";
  857.                     // line 412
  858.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue412), "name_kana", [], "any"falsefalsetrue412), 412$this->source), "html"nulltrue);
  859.                     echo "</p>
  860. \t\t\t\t\t\t\t\t\t\t\t</div>
  861. \t\t\t\t\t\t\t\t\t\t\t<div class=\"flex flex-col items-center\">
  862. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"mb-6 text-clip overflow-hidden h-14 whitespace-nowrap\">
  863. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"whitespace-normal text-sm text-center leading-7 \">
  864. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  865.                     // line 417
  866.                     echo twig_nl2br($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue417), "description_detail", [], "any"falsefalsetrue417), 417$this->source));
  867.                     echo "
  868. \t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  869. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  870. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex items-baseline gap-1 mb-6\">
  871. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"text-xl leading-9\">
  872. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  873.                     // line 422
  874.                     if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue422), "hasProductClass", [], "any"falsefalsetrue422)) {
  875.                         // line 423
  876.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  877.                         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue423), "getPrice02Min", [], "any"falsefalsetrue423) == twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue423), "getPrice02Max", [], "any"falsefalsetrue423))) {
  878.                             // line 424
  879.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  880.                             echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue424), "getPrice02IncTaxMin", [], "any"falsefalsetrue424), 424$this->source)), "html"nulltrue);
  881.                             echo "
  882. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  883.                         } else {
  884.                             // line 426
  885.                             echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  886.                             echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue426), "getPrice02IncTaxMin", [], "any"falsefalsetrue426), 426$this->source)), "html"nulltrue);
  887.                             echo "
  888. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t~
  889. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  890.                             // line 428
  891.                             echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue428), "getPrice02IncTaxMax", [], "any"falsefalsetrue428), 428$this->source)), "html"nulltrue);
  892.                             echo "
  893. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  894.                         }
  895.                         // line 430
  896.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  897.                     } else {
  898.                         // line 431
  899.                         echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  900.                         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue431), "getPrice02IncTaxMin", [], "any"falsefalsetrue431), 431$this->source)), "html"nulltrue);
  901.                         echo "
  902. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  903.                     }
  904.                     // line 433
  905.                     echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  906. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"text-xs leading-4 font-medium\">円(税込)</p>
  907. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  908. \t\t\t\t\t\t\t\t\t\t\t</div>
  909. \t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  910.                     // line 437
  911.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["RelatedProduct"], "ChildProduct", [], "any"falsefalsetrue437), "id", [], "any"falsefalsetrue437)]), "html"nulltrue);
  912.                     echo "\" class=\"w-[258px] block border-black border py-3 rounded-[3px] md:w-[258px] text-sm text-center\">詳しくはこちら</a>
  913. \t\t\t\t\t\t\t\t\t\t</li>
  914. \t\t\t\t\t\t\t\t\t</div>
  915. \t\t\t\t\t\t\t\t";
  916.                 }
  917.                 $_parent $context['_parent'];
  918.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['RelatedProduct'], $context['_parent'], $context['loop']);
  919.                 $context array_intersect_key($context$_parent) + $_parent;
  920.                 // line 441
  921.                 echo "\t\t\t\t\t\t\t</div>
  922. \t\t\t\t\t\t</ul>
  923. \t\t\t\t\t</div>
  924. \t\t\t\t";
  925.             }
  926.             // line 445
  927.             echo "\t\t\t";
  928.         } else {
  929.             // line 446
  930.             echo "\t\t\t\t";
  931.             $context['_parent'] = $context;
  932.             $context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts"$context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.'446$this->source); })()));
  933.             foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
  934.                 $context["message"] = $this->extensions['Plugin\Productset42\Service\Twig\NonStockErrorMessageFunction']->getFunction($this->sandbox->ensureToStringAllowed($context["Cart"], 446$this->source));
  935.                 // line 447
  936.                 echo "
  937. ";
  938.                 // line 448
  939.                 if ( !twig_test_empty((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'448$this->source); })()))) {
  940.                     // line 449
  941.                     echo "  <div class=\"ec-cartRole__error\">
  942.     <div class=\"ec-alert-warning\">
  943.       <div class=\"ec-alert-warning__text\">
  944.         ";
  945.                     // line 452
  946.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'452$this->source); })()), 452$this->source), "html"nulltrue);
  947.                     echo "
  948.       </div>
  949.     </div>
  950.   </div>
  951. ";
  952.                 }
  953.                 // line 457
  954.                 echo "
  955. <script>
  956.     \$(function () {
  957.       ";
  958.                 // line 460
  959.                 if ( !twig_test_empty((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'460$this->source); })()))) {
  960.                     // line 461
  961.                     echo "        \$('.ec-cartRole__actions').find('.ec-blockBtn--action').css('display', 'none');
  962.       ";
  963.                 }
  964.                 // line 463
  965.                 echo "    });
  966. </script>
  967. \t\t\t\t\t";
  968.                 // line 465
  969.                 $context["cartKey"] = twig_get_attribute($this->env$this->source$context["Cart"], "cart_key", [], "any"falsefalsetrue465);
  970.                 // line 466
  971.                 echo "\t\t\t\t\t";
  972.                 $context['_parent'] = $context;
  973.                 $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.'466$this->source); })()), "session", [], "any"falsefalsetrue466), "flashbag", [], "any"falsefalsetrue466), "get", [=> (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey"$context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.'466$this->source); })())) . ".request.error")], "method"falsefalsetrue466));
  974.                 foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  975.                     // line 467
  976.                     echo "\t\t\t\t\t\t<div class=\"ec-cartRole__error\">
  977. \t\t\t\t\t\t\t<div class=\"ec-alert-warning\">
  978. \t\t\t\t\t\t\t\t<img src=\"";
  979.                     // line 469
  980.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-beige.svg"), "html"nulltrue);
  981.                     echo "\">
  982. \t\t\t\t\t\t\t\t<div class=\"ec-alert-warning__text\">
  983. \t\t\t\t\t\t\t\t\t";
  984.                     // line 471
  985.                     echo twig_nl2br(twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 471$this->source)), "html"nulltrue));
  986.                     echo "
  987. \t\t\t\t\t\t\t\t</div>
  988. \t\t\t\t\t\t\t</div>
  989. \t\t\t\t\t\t</div>
  990. \t\t\t\t\t";
  991.                 }
  992.                 $_parent $context['_parent'];
  993.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  994.                 $context array_intersect_key($context$_parent) + $_parent;
  995.                 // line 476
  996.                 echo "\t\t\t\t";
  997.             }
  998.             $_parent $context['_parent'];
  999.             unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
  1000.             $context array_intersect_key($context$_parent) + $_parent;
  1001.             // line 477
  1002.             echo "\t\t\t\t<div class=\"ec-role\">
  1003. \t\t\t\t\t<div class=\"ec-off3Grid\">
  1004. \t\t\t\t\t\t<div class=\"flex flex-col items-center gap-11 md:gap-20\">
  1005. \t\t\t\t\t\t\t<div class=\"flex flex-col items-center gap-5\">
  1006. \t\t\t\t\t\t\t\t<img src=\"";
  1007.             // line 481
  1008.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-beige.svg"), "html"nulltrue);
  1009.             echo "\" class=\"w-8 h-8 \">
  1010. \t\t\t\t\t\t\t\t<div class=\"leading-9\">現在、カートに商品は入っておりません。</div>
  1011. \t\t\t\t\t\t\t</div>
  1012. \t\t\t\t\t\t\t<a href=\"/products/list\" class=\"border text-center border-black text-black py-3 w-[327px] text-sm rounded-[3px] hover\">お買い物を続ける</a>
  1013. \t\t\t\t\t\t</div>
  1014. \t\t\t\t\t</div>
  1015. \t\t\t\t</div>
  1016. \t\t\t";
  1017.         }
  1018.         // line 489
  1019.         echo "\t\t</div>
  1020. \t</div>
  1021. ";
  1022.         
  1023.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1024.         
  1025.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1026.     }
  1027.     public function getTemplateName()
  1028.     {
  1029.         return "__string_template__04f96a7573e53bb468d7d5d5a15309bf";
  1030.     }
  1031.     public function isTraitable()
  1032.     {
  1033.         return false;
  1034.     }
  1035.     public function getDebugInfo()
  1036.     {
  1037.         return array (  1045 => 489,  1034 => 481,  1028 => 477,  1022 => 476,  1011 => 471,  1006 => 469,  1002 => 467,  997 => 466,  995 => 465,  991 => 463,  987 => 461,  985 => 460,  980 => 457,  972 => 452,  967 => 449,  965 => 448,  962 => 447,  956 => 446,  953 => 445,  947 => 441,  937 => 437,  931 => 433,  925 => 431,  922 => 430,  917 => 428,  911 => 426,  905 => 424,  902 => 423,  900 => 422,  892 => 417,  884 => 412,  880 => 411,  875 => 409,  871 => 408,  867 => 406,  863 => 405,  856 => 400,  854 => 399,  849 => 396,  834 => 394,  831 => 392,  823 => 390,  821 => 389,  815 => 388,  804 => 380,  796 => 375,  789 => 371,  781 => 366,  774 => 361,  771 => 360,  765 => 358,  759 => 356,  757 => 355,  754 => 354,  751 => 353,  745 => 351,  739 => 349,  737 => 348,  734 => 347,  731 => 346,  725 => 344,  719 => 342,  717 => 341,  714 => 340,  712 => 339,  705 => 334,  693 => 330,  686 => 325,  679 => 321,  676 => 320,  657 => 318,  640 => 317,  634 => 316,  624 => 308,  622 => 307,  619 => 306,  611 => 303,  604 => 301,  598 => 300,  595 => 299,  593 => 298,  586 => 294,  582 => 293,  579 => 292,  573 => 289,  569 => 288,  566 => 287,  564 => 286,  559 => 284,  550 => 280,  539 => 274,  533 => 271,  527 => 270,  519 => 267,  515 => 266,  509 => 262,  506 => 261,  503 => 260,  500 => 259,  496 => 258,  492 => 256,  489 => 255,  478 => 250,  473 => 248,  469 => 246,  464 => 245,  462 => 244,  458 => 242,  454 => 240,  452 => 239,  447 => 236,  439 => 231,  434 => 228,  432 => 227,  429 => 226,  411 => 225,  407 => 224,  404 => 223,  396 => 218,  391 => 215,  389 => 214,  386 => 213,  383 => 212,  372 => 207,  367 => 205,  363 => 203,  358 => 202,  341 => 198,  335 => 196,  329 => 194,  327 => 193,  322 => 191,  318 => 189,  315 => 188,  297 => 187,  295 => 186,  261 => 156,  259 => 155,  250 => 148,  240 => 147,  210 => 125,  208 => 124,  189 => 107,  187 => 106,  161 => 82,  151 => 81,  134 => 72,  132 => 71,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  1038.     }
  1039.     public function getSourceContext()
  1040.     {
  1041.         return new Source("{#
  1042. This file is part of EC-CUBE
  1043. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  1044. http://www.ec-cube.co.jp/
  1045. For the full copyright and license information, please view the LICENSE
  1046. file that was distributed with this source code.
  1047. #}
  1048. {% extends 'default_frame.twig' %}
  1049. {% set body_class = 'cart_page' %}
  1050. {% block stylesheet%}
  1051. \t<style>
  1052. \t\tselect {
  1053. \t\t\tpadding: 16px 12px;
  1054. \t\t\tborder: solid 1px #CCCCCC;
  1055. \t\t\tborder-radius: 3px;
  1056. \t\t\tfont-size: 14px;
  1057. \t\t\twidth: 234px;
  1058. \t\t}
  1059. \t</style>
  1060. \t<style>
  1061. \t\t.heading:after {
  1062. \t\t\ttransition: transform 0.4s;
  1063. \t\t}
  1064. \t\t.heading.is-open:before {
  1065. \t\t\tcontent: '+';
  1066. \t\t\ttransform: rotate(-180deg);
  1067. \t\t}
  1068. \t</style>
  1069.     <style>
  1070. \t\t.slider .slick-list {
  1071. \t\t\toverflow: visible;
  1072. \t\t\tpadding: 0;
  1073. \t\t}
  1074. \t\t.slider {
  1075. \t\t\tmax-width: 800px;
  1076. \t\t\tmax-height: auto !important;
  1077. \t\t}
  1078. \t\t.slick-dots {
  1079. \t\t\tdisplay: flex;
  1080. \t\t\talign-items: center;
  1081. \t\t\tjustify-content: center;
  1082. \t\t\tgap: 16px;
  1083. \t\t\tmargin-top: -120px;
  1084. \t\t}
  1085. \t\t.slick-dots li {
  1086. \t\t\tlist-style-type: none;
  1087. \t\t\twidth: 8px;
  1088.             height: 8px;
  1089. \t\t\tborder-radius: 50%;
  1090. \t\t\tcursor: pointer;
  1091. \t\t}
  1092. \t\t.slick-dots li {
  1093. \t\t\twidth: 8px;
  1094. \t\t\theight: 8px;
  1095. \t\t\tborder-radius: 50%;
  1096. \t\t\tborder: solid 1px;
  1097. \t\t\tborder-color: #2F2725;
  1098. \t\t}
  1099. \t\t.slick-dots li.slick-active {
  1100. \t\t\tbackground: #2F2725;
  1101. \t\t}
  1102.         .slick-dots button{
  1103.             opacity:0;
  1104.         }
  1105. \t</style>
  1106. \t\t{% if RelatedProducts|length == 2 %}
  1107.             <style>
  1108.                 .slider {
  1109.                     max-width: 725px;
  1110.                     max-height: auto !important;
  1111.                 }
  1112.             </style>
  1113.         {% endif %}
  1114. {% endblock %}
  1115. {% block javascript %}
  1116. \t<script>
  1117. \t\t\$(function () {
  1118.             \$('[id^=naire_]').change(function () {
  1119.                 var operation = \$(this).val();
  1120.                 var cartItemId = \$(this).data('id');
  1121.                 \$.ajax({
  1122.                     type: \"POST\",
  1123.                     headers: {
  1124.                         \"X-HTTP-Method-Override\": \"PUT\"
  1125.                     },
  1126.                     url: \"/cart/\" + operation + \"/\" + cartItemId,
  1127.                 }).done(function (data) {
  1128.                     location.reload();
  1129.                 }).fail(function (data) {
  1130.                     console.error(data);
  1131.                 });
  1132.             });
  1133.             \$('#naire').click(function () {
  1134.                 \$('.heading').toggleClass('is-open');
  1135.                 \$('#naire_description').slideToggle();
  1136.             });
  1137.         });
  1138. \t</script>
  1139.     {% if RelatedProducts|length >= 3 %}
  1140.         <script>
  1141.             \$(document).ready(function () {
  1142.                 \$('.slider').slick({
  1143.                     slidesToShow: 1,
  1144.                     slidesToScroll: 1,
  1145.                     dots: true,
  1146.                     dotsClass: \"slick-dots\",
  1147.                     centerMode: true,
  1148.                     variableWidth: true,
  1149.                     autoplay: true,
  1150.                     autoplaySpeed: 2500,
  1151.                     speed: 1000,
  1152.                     focusOnSelect: true,
  1153.                     infinite: true
  1154.                 });
  1155.             });
  1156.         </script>
  1157.         {% elseif RelatedProducts|length == 2 %}
  1158.             <script>
  1159.                 \$(document).ready(function () {
  1160.                     \$('.slider').slick({
  1161.                         slidesToShow: 2,
  1162.                         slidesToScroll: 2,
  1163.                         dots: true,
  1164.                         dotsClass: \"slick-dots\",
  1165.                         variableWidth: true,
  1166.                         focusOnSelect: true,
  1167.                         responsive: [{
  1168.                             breakpoint: 1000,
  1169.                             settings:{
  1170.                                 slidesToShow: 1,
  1171.                                 slidesToScroll: 1,
  1172.                             },
  1173.                         } ]
  1174.                     });
  1175.                 });
  1176.             </script>
  1177.     {% endif %}
  1178. {% endblock %}
  1179. {% block main %}
  1180. \t<div class=\"pb-20 lg:px-6 whitespace-nowrap bg-background-default w-full items-center justify-center flex-col flex\">
  1181. \t\t<div class=\"w-full\">
  1182. \t\t\t<div class=\"flex gap-4 md:gap-2 items-start mx-auto w-full pl-[10.625vw] md:pl-6 pt-[120px] md:pt-20 pb-10\">
  1183. \t\t\t\t<hr class=\"md:h-[64px] h-[120px] w-[2px] bg-gradient-to-b from-[#ADAAA6] to-[#F0EDE900] border-none\">
  1184. \t\t\t\t<h1 class=\"text-2xl md:text-xl font-light leading-9 tracking-widest\">ショッピングカート</h1>
  1185. \t\t\t</div>
  1186. \t\t\t{% set breadcrumbs = [{'name': \"ショッピングカート\" }] %}
  1187. \t\t\t{{ include('Block/breadcrumb.twig') }}
  1188. \t\t</div>
  1189. \t\t<p class=\"mb-10 text-sm w-full md:pl-6 pl-[10.625vw]\">会員登録せずにご注文に進むこともできます。</p>
  1190. \t\t<div class=\"flex flex-col justify-center items-center gap-2 w-full max-w-[592px] mx-auto mb-20\">
  1191. \t\t\t<div class=\"flex items-center w-full justify-between\">
  1192. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-sub-blue flex items-center justify-center rounded-full\">
  1193. \t\t\t\t\t<p class=\"text-white font-bold font-notoserif leading-none\">1</p>
  1194. \t\t\t\t</div>
  1195. \t\t\t\t<div class=\"w-[7.5vw] md:w-[12vw] flex-1 h-[2px] bg-gray\"></div>
  1196. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-gray flex items-center justify-center rounded-full\">
  1197. \t\t\t\t\t<p class=\"text-white text-xl md:text-base font-bold font-notoserif leading-none\">2</p>
  1198. \t\t\t\t</div>
  1199. \t\t\t\t<div class=\"w-[7.5vw] md:w-[12vw] flex-1 h-[2px] bg-gray\"></div>
  1200. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-gray flex items-center justify-center rounded-full\">
  1201. \t\t\t\t\t<p class=\"text-white text-xl md:text-base font-bold font-notoserif leading-none\">3</p>
  1202. \t\t\t\t</div>
  1203. \t\t\t\t<div class=\"w-[7.5vw] md:w-[12vw] flex-1 h-[2px] bg-gray\"></div>
  1204. \t\t\t\t<div class=\"w-14 h-14 md:w-11 md:h-11 bg-gray flex items-center justify-center rounded-full\">
  1205. \t\t\t\t\t<p class=\"text-white text-xl md:text-base font-bold font-notoserif leading-none\">4</p>
  1206. \t\t\t\t</div>
  1207. \t\t\t</div>
  1208. \t\t\t<div class=\"flex w-full items-center text-base md:text-xs mx-auto max-w-[800px] justify-between\">
  1209. \t\t\t\t<p class=\"w-[27.8vw] pl-[10px] font-bold\">カート</p>
  1210. \t\t\t\t<p class=\"text-center ml-[-1.87vw]\">お客様情報入力</p>
  1211. \t\t\t\t<p class=\"text-end w-[27.8vw] \">ご注文手続き</p>
  1212. \t\t\t\t<p class=\"text-end w-[27.8vw] mr-[-12px]\">ご注文完了</p>
  1213. \t\t\t</div>
  1214. \t\t</div>
  1215.         <div class=\"max-w-[1008px] w-full flex flex-col items-center justify-center mx-6 sm:mx-0\">
  1216.             {% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
  1217.             {% for error in app.session.flashbag.get('eccube.front.request.error') %}
  1218.                 {% set idx = loop.index0 %}
  1219.                 <div class=\"ec-cartRole__error\">
  1220.                     <div class=\"ec-alert-warning\">
  1221.                         <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1222.                         <div class=\"ec-alert-warning__text\">
  1223.                             {% if productStr[idx] is defined %}
  1224.                                 {{ error|trans({'%product%':productStr[idx]})|nl2br }}
  1225.                             {% else %}
  1226.                                 {{ error|trans|nl2br }}
  1227.                             {% endif %}
  1228.                         </div>
  1229.                     </div>
  1230.                 </div>
  1231.             {% endfor %}
  1232.             {% for error in app.session.flashbag.get('eccube.front.cart.error') %}
  1233.                 <div class=\"ec-cartRole__error\">
  1234.                     <div class=\"ec-alert-warning\">
  1235.                         <div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>
  1236.                         <div class=\"ec-alert-warning__text\">
  1237.                             {{ error|trans|nl2br }}
  1238.                         </div>
  1239.                     </div>
  1240.                 </div>
  1241.             {% endfor %}
  1242.             {% if totalQuantity > 0 %}
  1243.                 <hr class=\"w-full bg-sub-beige-pale h-[1px] border-none max-w-[1008px] mx-auto\">
  1244.                 {% if Carts|length > 1 %}
  1245.                     <div class=\"ec-cartRole__error\">
  1246.                         <div class=\"ec-alert-warning\">
  1247.                             <div class=\"ec-alert-warning__text\">
  1248.                                 {{ 'front.cart.divide_cart'|trans|nl2br }}
  1249.                             </div>
  1250.                         </div>
  1251.                     </div>
  1252.                 {% endif %}
  1253.                 <form name=\"form\" id=\"form_cart\" class=\"w-full flex flex-col items-center justify-center\" method=\"post\" action=\"{{ url('cart') }}\">
  1254. \t\t\t\t\t{% for CartIndex,Cart in Carts %}{% set message = nonStockErrorMessage(Cart) %}
  1255. {% if message is not empty %}
  1256.   <div class=\"ec-cartRole__error\">
  1257.     <div class=\"ec-alert-warning\">
  1258.       <div class=\"ec-alert-warning__text\">
  1259.         {{ message }}
  1260.       </div>
  1261.     </div>
  1262.   </div>
  1263. {% endif %}
  1264. <script>
  1265.     \$(function () {
  1266.       {% if message is not empty %}
  1267.         \$('.ec-cartRole__actions').find('.ec-blockBtn--action').css('display', 'none');
  1268.       {% endif %}
  1269.     });
  1270. </script>
  1271. \t\t\t\t\t\t{% set cartKey = Cart.cart_key %}
  1272. \t\t\t\t\t\t{% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  1273. \t\t\t\t\t\t\t<div class=\"ec-cartRole__error\">
  1274. \t\t\t\t\t\t\t\t<div class=\"ec-alert-warning\">
  1275. \t\t\t\t\t\t\t\t\t<img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\">
  1276. \t\t\t\t\t\t\t\t\t<div class=\"ec-alert-warning__text\">
  1277. \t\t\t\t\t\t\t\t\t\t{{ error|trans|nl2br }}
  1278. \t\t\t\t\t\t\t\t\t</div>
  1279. \t\t\t\t\t\t\t\t</div>
  1280. \t\t\t\t\t\t\t</div>
  1281. \t\t\t\t\t\t{% endfor %}
  1282. \t\t\t\t\t\t{% set subTotalExcTax = 0 %}
  1283. \t\t\t\t\t\t<div class=\"w-full flex flex-col items-center justify-center my-10 gap-10\">
  1284. \t\t\t\t\t\t\t<ul class=\"flex gap-10 flex-col justify-center max-w-[800px] w-full \">
  1285. \t\t\t\t\t\t\t\t{% for CartItem in Cart.CartItems %}
  1286. \t\t\t\t\t\t\t\t\t{% set ProductClass = CartItem.ProductClass %}
  1287. \t\t\t\t\t\t\t\t\t{% set Product = ProductClass.Product %}
  1288. \t\t\t\t\t\t\t\t\t{% set subTotalExcTax = subTotalExcTax + (ProductClass.price02 * CartItem.quantity) %}
  1289. \t\t\t\t\t\t\t\t\t<li class=\"w-full flex gap-4 md:gap-5 md:flex-col justify-between\">
  1290. \t\t\t\t\t\t\t\t\t\t<div class=\"flex gap-4 md:flex-col\">
  1291. \t\t\t\t\t\t\t\t\t\t\t<div class=\"md:flex md:flex-col md:w-full md:items-end md:justify-end\">
  1292. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:flex md:gap-3 md:w-full\">
  1293. \t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"hover\" target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
  1294. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" class=\"w-[176px] h-[176px] md:h-[60px] md:w-[60px] aspect-square\">
  1295. \t\t\t\t\t\t\t\t\t\t\t\t\t</a>
  1296. \t\t\t\t\t\t\t\t\t\t\t\t\t<div>
  1297. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\" class=\"hidden md:block leading-9 text-sm\">{{ Product.name }}</a>
  1298. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-medium hidden md:block text-sm\">価格:{{ CartItem.price|price }}</div>
  1299. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1300. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1301. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"text-sm leading-4 text-sub-blue border-b border-sub-blue w-fit hidden md:block hover\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  1302. \t\t\t\t\t\t\t\t\t\t\t\t\t削除する
  1303. \t\t\t\t\t\t\t\t\t\t\t\t</a>
  1304. \t\t\t\t\t\t\t\t\t\t\t</div>
  1305. \t\t\t\t\t\t\t\t\t\t\t<div class=\"w-[400px] md:w-full text-sm leading-9 tracking-wider lg:mr-0\">
  1306. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"\">
  1307. \t\t\t\t\t\t\t\t\t\t\t\t\t<a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\" class=\"md:hidden\">{{ Product.name }}</a>
  1308. \t\t\t\t\t\t\t\t\t\t\t\t\t<dl class=\"font-medium flex-col flex\">
  1309. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex md:gap-6\">
  1310. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:w-[72px]\">価格:</div>
  1311. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-normal\">{{ CartItem.price|number_format }}円 (税込)</div>
  1312. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1313. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
  1314. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-medium flex md:gap-6\">
  1315. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:w-[72px]\">{{ ProductClass.ClassCategory1.ClassName.name }}:</div>
  1316. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>{{ ProductClass.ClassCategory1 }}</div>
  1317. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1318. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1319. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex md:gap-6\">
  1320. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"md:w-[72px]\">{{ 'common.quantity__with_separator'|trans }}</div>
  1321. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"font-normal\">{{ CartItem.quantity|number_format }}点</div>
  1322. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1323. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div>
  1324. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex mt-2 mb-10 items-center gap-6 md:gap-4\">
  1325. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if CartItem is not null and CartItem.ProductClass.Product.isNaireProduct %}
  1326. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t    <div class=\"font-medium md:w-[72px]\">名入れ:</div>
  1327. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<select name=\"naire\" id=\"naire_{{ CartItem.id }}\" data-id=\"{{CartItem.id}}\">
  1328. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"naire_true\" {% if CartItem.naire %}selected{% endif %}>
  1329. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tあり</option>
  1330. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<option value=\"naire_false\" {% if not CartItem.naire %}selected{% endif %}>なし</option>
  1331. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</select>
  1332. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1333. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1334. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if CartItem.naire %}
  1335. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex flex-col items-start\">
  1336. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"naire\" class=\"w-full flex items-center justify-between hover\">
  1337. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"flex items-center hover gap-1 mb-4\">
  1338. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t名入れの仕様について
  1339. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  1340. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"heading before:content-['-'] text-xl pb-3\"></p>
  1341. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1342. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div id=\"naire_description\">
  1343.                                                                         <div class=\"grid {% if CartItem.ProductClass.Product.ProductNaireImages|length > 1 %}grid-cols-2{% endif %} gap-4 items-center\">
  1344.                                                                             {% for ProductNaireImage in CartItem.ProductClass.Product.ProductNaireImages %}
  1345.                                                                                 <img src=\"{{ asset(ProductNaireImage.file_name|no_image_product, 'save_image') }}\" alt=\"{{ ProductNaireImage.alt_text ?? '名入れ画像' ~ loop.index }}\" class=\"mb-4 h-[192px] w-auto md:h-[159px]\">
  1346.                                                                             {% endfor %}
  1347.                                                                         </div>
  1348.                                                                         <p class=\"mb-4 whitespace-normal text-sm leading-7 tracking-wider font-normal\">{{Product.naire_content|nl2br}}</p>
  1349.                                                                     </div>
  1350. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1351. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1352. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  1353. \t\t\t\t\t\t\t\t\t\t\t\t\t</dl>
  1354. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1355. \t\t\t\t\t\t\t\t\t\t\t</div>
  1356. \t\t\t\t\t\t\t\t\t\t</div>
  1357. \t\t\t\t\t\t\t\t\t\t<a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"text-sm text-sub-blue border-b border-sub-blue leading-4 md:hidden h-fit w-fit mt-[72px] hover\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">
  1358. \t\t\t\t\t\t\t\t\t\t\t削除する</a>
  1359. \t\t\t\t\t\t\t\t\t</li>
  1360. \t\t\t\t\t\t\t\t{% endfor %}
  1361. \t\t\t\t\t\t\t</ul>
  1362. \t\t\t\t\t\t</div>
  1363. \t\t\t\t\t\t<hr
  1364. \t\t\t\t\t\tclass=\"w-full bg-sub-beige-pale h-[1px] border-none\">
  1365. \t\t\t\t\t\t<div class=\"ec-cartRole__progress\">
  1366. \t\t\t\t\t\t\t{% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
  1367. \t\t\t\t\t\t\t\t<br/>
  1368. \t\t\t\t\t\t\t\t{% if is_delivery_free[cartKey] %}
  1369. \t\t\t\t\t\t\t\t\t{{ 'front.cart.delivery_fee_free__now'|trans }}
  1370. \t\t\t\t\t\t\t\t{% else %}
  1371. \t\t\t\t\t\t\t\t\t{{ 'front.cart.delivery_fee_free__price_and_quantity'|trans({ '%price%': least[cartKey]|price, '%quantity%': quantity[cartKey]|number_format })|raw }}
  1372. \t\t\t\t\t\t\t\t{% endif %}
  1373. \t\t\t\t\t\t\t{% elseif BaseInfo.delivery_free_amount %}
  1374. \t\t\t\t\t\t\t\t<br/>
  1375. \t\t\t\t\t\t\t\t{% if is_delivery_free[cartKey] %}
  1376. \t\t\t\t\t\t\t\t\t{{ 'front.cart.delivery_fee_free__now'|trans }}
  1377. \t\t\t\t\t\t\t\t{% else %}
  1378. \t\t\t\t\t\t\t\t\t{{ 'front.cart.delivery_fee_free__price'|trans({ '%price%': least[cartKey]|price })|raw }}
  1379. \t\t\t\t\t\t\t\t{% endif %}
  1380. \t\t\t\t\t\t\t{% elseif BaseInfo.delivery_free_quantity %}
  1381. \t\t\t\t\t\t\t\t<br/>
  1382. \t\t\t\t\t\t\t\t{% if is_delivery_free[cartKey] %}
  1383. \t\t\t\t\t\t\t\t\t{{ 'front.cart.delivery_fee_free__now'|trans }}
  1384. \t\t\t\t\t\t\t\t{% else %}
  1385. \t\t\t\t\t\t\t\t\t{{ 'front.cart.delivery_fee_free__quantity'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}
  1386. \t\t\t\t\t\t\t\t{% endif %}
  1387. \t\t\t\t\t\t\t{% endif %}
  1388. \t\t\t\t\t\t</div>
  1389. \t\t\t\t\t\t<div class=\"flex justify-end max-w-[800px] w-full mr-6 sm:mr-0 sm:justify-center sm:items-center\">
  1390. \t\t\t\t\t\t\t<div class=\"w-[327px] mt-10 mb-20 flex flex-col gap-4 sm:w-full text-sm\">
  1391. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  1392. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">合計点数</span>
  1393. \t\t\t\t\t\t\t\t\t<span>{{ Cart.quantity }}
  1394. \t\t\t\t\t\t\t\t\t\t点</span>
  1395. \t\t\t\t\t\t\t\t</div>
  1396. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  1397. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">小計</span>
  1398. \t\t\t\t\t\t\t\t\t<span>{{ subTotalExcTax|number_format }}円</span>
  1399. \t\t\t\t\t\t\t\t</div>
  1400. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  1401. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">消費税(10%)</span>
  1402. \t\t\t\t\t\t\t\t\t<span>{{ (Cart.total_price - subTotalExcTax )|number_format }}円</span>
  1403. \t\t\t\t\t\t\t\t</div>
  1404. \t\t\t\t\t\t\t\t<div class=\"flex justify-between\">
  1405. \t\t\t\t\t\t\t\t\t<span class=\"font-medium\">合計金額 (税込)</span>
  1406. \t\t\t\t\t\t\t\t\t<div>
  1407. \t\t\t\t\t\t\t\t\t\t<span class=\"font-bold text-red text-xl\">{{ Cart.totalPrice|number_format }}</span>
  1408. \t\t\t\t\t\t\t\t\t\t<span class=\"text-sm\">円</span>
  1409. \t\t\t\t\t\t\t\t\t</div>
  1410. \t\t\t\t\t\t\t\t</div>
  1411. \t\t\t\t\t\t\t</div>
  1412. \t\t\t\t\t\t</div>
  1413. \t\t\t\t\t\t<div class=\"w-full flex flex-col gap-y-10 items-center justify-center mb-20 md:mb-10 \">
  1414. \t\t\t\t\t\t\t<div class=\"flex gap-x-6 md:flex-col gap-y-4\">
  1415. \t\t\t\t\t\t\t\t<a class=\"!w-[327px] text-white bg-black py-3 px-[128px] text-sm font-bold rounded-[3px] hover\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ 'front.cart.checkout'|trans }}</a>
  1416. \t\t\t\t\t\t\t\t{% if loop.last %}
  1417. \t\t\t\t\t\t\t\t\t<a class=\"border border-black text-black py-3 px-[107px] text-sm rounded-[3px] hover\" href=\"{{ path('homepage') }}\">{{ 'front.cart.continue'|trans }}</a>
  1418. \t\t\t\t\t\t\t\t{% endif %}
  1419. \t\t\t\t\t\t\t</div>
  1420. \t\t\t\t\t\t\t{# <a href=\"\">Amazonでお支払い</a> #}
  1421. \t\t\t\t\t\t</div>
  1422. \t\t\t\t\t{% endfor %}
  1423. \t\t\t\t</form>
  1424. \t\t\t\t<hr
  1425. \t\t\t\tclass=\"w-full bg-sub-beige-pale h-[1px] border-none max-w-[800px]\">
  1426. \t\t\t\t{% if RelatedProducts|length > 0 %}
  1427. \t\t\t\t\t<div class=\"mt-20 flex flex-col items-center md:mt-10 w-[1050px] xl:w-full\">
  1428. \t\t\t\t\t\t<p class=\"font-medium text-center mb-10 leading-7\">ショッピングカート内の商品を購入した人は<br class=\"hidden md:block\">
  1429. \t\t\t\t\t\t\tこちらの商品も一緒に購入しています</p>
  1430.                             <ul class=\"max-w-[800px] w-full flex overflow-hidden items-center justify-center lg:w-[100vw] lg:mx-[calc(50%-50vw)] lg:px-[calc(50%-50vw)]\">
  1431. \t\t\t\t\t\t\t    <div class=\"slider\">
  1432. \t\t\t\t\t\t\t\t{% for RelatedProduct in RelatedProducts %}
  1433. \t\t\t\t\t\t\t\t\t<div class=\"slick-slider mx-5 max-w-[327px] \">
  1434. \t\t\t\t\t\t\t\t\t\t<li class=\"flex flex-col items-center w-full h-auto text-center hover\">
  1435. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ url('product_detail', {id : RelatedProduct.ChildProduct.id} ) }}\">
  1436. \t\t\t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(RelatedProduct.ChildProduct.MainListImage|no_image_product, 'save_image') }}\" alt=\"\" class=\"bg-cover w-[327px] h-[327px] mb-10 md:mb-6\"></a>
  1437. \t\t\t\t\t\t\t\t\t\t\t<div class=\"mb-6\">
  1438. \t\t\t\t\t\t\t\t\t\t\t\t<p class=\"whitespace-normal overflow-visible font-light font-notoserif text-[32px] mb-2 tracking-[6.4px]\">{{RelatedProduct.ChildProduct.name}}</p>
  1439. \t\t\t\t\t\t\t\t\t\t\t\t<p class=\"text-sm font-notoserif font-light tracking-wide\">{{RelatedProduct.ChildProduct.name_kana}}</p>
  1440. \t\t\t\t\t\t\t\t\t\t\t</div>
  1441. \t\t\t\t\t\t\t\t\t\t\t<div class=\"flex flex-col items-center\">
  1442. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"mb-6 text-clip overflow-hidden h-14 whitespace-nowrap\">
  1443. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"whitespace-normal text-sm text-center leading-7 \">
  1444. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{{RelatedProduct.ChildProduct.description_detail|raw|nl2br}}
  1445. \t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  1446. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1447. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"flex items-baseline gap-1 mb-6\">
  1448. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"text-xl leading-9\">
  1449. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if RelatedProduct.ChildProduct.hasProductClass %}
  1450. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if RelatedProduct.ChildProduct.getPrice02Min == RelatedProduct.ChildProduct.getPrice02Max %}
  1451. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ RelatedProduct.ChildProduct.getPrice02IncTaxMin| number_format }}
  1452. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1453. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ RelatedProduct.ChildProduct.getPrice02IncTaxMin| number_format }}
  1454. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t~
  1455. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ RelatedProduct.ChildProduct.getPrice02IncTaxMax| number_format}}
  1456. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1457. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  1458. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{{ RelatedProduct.ChildProduct.getPrice02IncTaxMin| number_format }}
  1459. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  1460. \t\t\t\t\t\t\t\t\t\t\t\t\t</p>
  1461. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"text-xs leading-4 font-medium\">円(税込)</p>
  1462. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  1463. \t\t\t\t\t\t\t\t\t\t\t</div>
  1464. \t\t\t\t\t\t\t\t\t\t\t<a href=\"{{ url('product_detail', {id : RelatedProduct.ChildProduct.id} ) }}\" class=\"w-[258px] block border-black border py-3 rounded-[3px] md:w-[258px] text-sm text-center\">詳しくはこちら</a>
  1465. \t\t\t\t\t\t\t\t\t\t</li>
  1466. \t\t\t\t\t\t\t\t\t</div>
  1467. \t\t\t\t\t\t\t\t{% endfor %}
  1468. \t\t\t\t\t\t\t</div>
  1469. \t\t\t\t\t\t</ul>
  1470. \t\t\t\t\t</div>
  1471. \t\t\t\t{% endif %}
  1472. \t\t\t{% else %}
  1473. \t\t\t\t{% for CartIndex,Cart in Carts %}{% set message = nonStockErrorMessage(Cart) %}
  1474. {% if message is not empty %}
  1475.   <div class=\"ec-cartRole__error\">
  1476.     <div class=\"ec-alert-warning\">
  1477.       <div class=\"ec-alert-warning__text\">
  1478.         {{ message }}
  1479.       </div>
  1480.     </div>
  1481.   </div>
  1482. {% endif %}
  1483. <script>
  1484.     \$(function () {
  1485.       {% if message is not empty %}
  1486.         \$('.ec-cartRole__actions').find('.ec-blockBtn--action').css('display', 'none');
  1487.       {% endif %}
  1488.     });
  1489. </script>
  1490. \t\t\t\t\t{% set cartKey = Cart.cart_key %}
  1491. \t\t\t\t\t{% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
  1492. \t\t\t\t\t\t<div class=\"ec-cartRole__error\">
  1493. \t\t\t\t\t\t\t<div class=\"ec-alert-warning\">
  1494. \t\t\t\t\t\t\t\t<img src=\"{{ asset('assets/icon/exclamation-beige.svg')}}\">
  1495. \t\t\t\t\t\t\t\t<div class=\"ec-alert-warning__text\">
  1496. \t\t\t\t\t\t\t\t\t{{ error|trans|nl2br }}
  1497. \t\t\t\t\t\t\t\t</div>
  1498. \t\t\t\t\t\t\t</div>
  1499. \t\t\t\t\t\t</div>
  1500. \t\t\t\t\t{% endfor %}
  1501. \t\t\t\t{% endfor %}
  1502. \t\t\t\t<div class=\"ec-role\">
  1503. \t\t\t\t\t<div class=\"ec-off3Grid\">
  1504. \t\t\t\t\t\t<div class=\"flex flex-col items-center gap-11 md:gap-20\">
  1505. \t\t\t\t\t\t\t<div class=\"flex flex-col items-center gap-5\">
  1506. \t\t\t\t\t\t\t\t<img src=\"{{ asset('assets/icon/exclamation-beige.svg')}}\" class=\"w-8 h-8 \">
  1507. \t\t\t\t\t\t\t\t<div class=\"leading-9\">現在、カートに商品は入っておりません。</div>
  1508. \t\t\t\t\t\t\t</div>
  1509. \t\t\t\t\t\t\t<a href=\"/products/list\" class=\"border text-center border-black text-black py-3 w-[327px] text-sm rounded-[3px] hover\">お買い物を続ける</a>
  1510. \t\t\t\t\t\t</div>
  1511. \t\t\t\t\t</div>
  1512. \t\t\t\t</div>
  1513. \t\t\t{% endif %}
  1514. \t\t</div>
  1515. \t</div>
  1516. {% endblock %}
  1517. ""__string_template__04f96a7573e53bb468d7d5d5a15309bf""");
  1518.     }
  1519.     
  1520.     public function checkSecurity()
  1521.     {
  1522.         static $tags = array("set" => 13"if" => 71"for" => 187);
  1523.         static $filters = array("length" => 71"escape" => 191"nl2br" => 194"trans" => 194"no_image_product" => 267"price" => 271"number_format" => 284"raw" => 344);
  1524.         static $functions = array("include" => 156"asset" => 191"url" => 224"nonStockErrorMessage" => 225"csrf_token_for_anchor" => 274"path" => 388);
  1525.         try {
  1526.             $this->sandbox->checkSecurity(
  1527.                 ['set''if''for'],
  1528.                 ['length''escape''nl2br''trans''no_image_product''price''number_format''raw'],
  1529.                 ['include''asset''url''nonStockErrorMessage''csrf_token_for_anchor''path']
  1530.             );
  1531.         } catch (SecurityError $e) {
  1532.             $e->setSourceContext($this->source);
  1533.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  1534.                 $e->setTemplateLine($tags[$e->getTagName()]);
  1535.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  1536.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  1537.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  1538.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  1539.             }
  1540.             throw $e;
  1541.         }
  1542.     }
  1543. }