<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Cart/index.twig */
class __TwigTemplate_fd664d9442cb687f5c69c36ee2c8e93c extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Cart/index.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Cart/index.twig"));
// line 3
$context["body_class"] = "cart_page";
// line 1
$this->parent = $this->loadTemplate("default_frame.twig", "Cart/index.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 6
echo "<script>
function doChange(id){
var q_num = \$(\"#q_\" + id).val();
var o_num = \$(\"#o_\" + id).val();
var num = q_num - o_num;
location.href = \"";
// line 11
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart_change_num");
echo "?class_id=\" + id + \"&num=\" + num;
}
</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 16
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 17
echo "
<form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"";
// line 18
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">
<div class=\"ec-cartRole\">
<div class=\"ec-cartRole__progress\">
<ul class=\"ec-progress\">
";
// line 22
$context["step"] = 1;
// line 23
echo " ";
$context["kanji_numbers"] = [0 => "一", 1 => "二", 2 => "三", 3 => "四", 4 => "五", 5 => "六", 6 => "七", 7 => "八", 8 => "九", 9 => "十"];
// line 24
echo "
";
// line 26
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 26, $this->source); })()), "request", [], "any", false, false, true, 26), "get", [0 => "_route"], "method", false, false, true, 26) == "cart")) {
// line 27
echo " <li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">";
// line 28
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 28, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 28, $this->source); })()) - 1), [], "array", false, false, true, 28), 28, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 29
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html", null, true);
echo "</div>
</li>
";
} else {
// line 32
echo " <li class=\"ec-progress__item\">
<a href=\"";
// line 33
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\">
<div class=\"ec-progress__number\">";
// line 34
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 34, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 34, $this->source); })()) - 1), [], "array", false, false, true, 34), 34, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートの商品"), "html", null, true);
echo "</div>
</a>
</li>
";
}
// line 39
echo " ";
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 39, $this->source); })()) + 1);
// line 40
echo "
";
// line 42
echo " ";
if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER") == false)) {
// line 43
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "request", [], "any", false, false, true, 43), "get", [0 => "_route"], "method", false, false, true, 43) == "shopping_nonmember")) {
// line 44
echo " <li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">";
// line 45
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 45, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 45, $this->source); })()) - 1), [], "array", false, false, true, 45), 45, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 46
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html", null, true);
echo "</div>
</li>
";
} elseif (twig_in_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 48
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 48, $this->source); })()), "request", [], "any", false, false, true, 48), "get", [0 => "_route"], "method", false, false, true, 48), [0 => "shopping", 1 => "shopping_confirm", 2 => "shopping_complete"])) {
// line 49
echo " <li class=\"ec-progress__item\">
<a href=\"";
// line 50
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_nonmember");
echo "\">
<div class=\"ec-progress__number\">";
// line 51
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 51, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 51, $this->source); })()) - 1), [], "array", false, false, true, 51), 51, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 52
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html", null, true);
echo "</div>
</a>
</li>
";
} else {
// line 56
echo " <li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 57
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 57, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 57, $this->source); })()) - 1), [], "array", false, false, true, 57), 57, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 58
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お客様情報"), "html", null, true);
echo "</div>
</li>
";
}
// line 61
echo " ";
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 61, $this->source); })()) + 1);
// line 62
echo " ";
}
// line 63
echo "
";
// line 65
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 65, $this->source); })()), "request", [], "any", false, false, true, 65), "get", [0 => "_route"], "method", false, false, true, 65) == "shopping")) {
// line 66
echo " <li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">";
// line 67
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 67, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 67, $this->source); })()) - 1), [], "array", false, false, true, 67), 67, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html", null, true);
echo "</div>
</li>
";
} elseif (twig_in_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 70
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 70, $this->source); })()), "request", [], "any", false, false, true, 70), "get", [0 => "_route"], "method", false, false, true, 70), [0 => "shopping_confirm", 1 => "shopping_complete"])) {
// line 71
echo " <li class=\"ec-progress__item\">
<a href=\"";
// line 72
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping");
echo "\">
<div class=\"ec-progress__number\">";
// line 73
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 73, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 73, $this->source); })()) - 1), [], "array", false, false, true, 73), 73, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 74
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html", null, true);
echo "</div>
</a>
</li>
";
} else {
// line 78
echo " <li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 79
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 79, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 79, $this->source); })()) - 1), [], "array", false, false, true, 79), 79, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 80
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文手続き"), "html", null, true);
echo "</div>
</li>
";
}
// line 83
echo " ";
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 83, $this->source); })()) + 1);
// line 84
echo "
";
// line 86
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 86, $this->source); })()), "request", [], "any", false, false, true, 86), "get", [0 => "_route"], "method", false, false, true, 86) == "shopping_confirm")) {
// line 87
echo " <li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">";
// line 88
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 88, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 88, $this->source); })()) - 1), [], "array", false, false, true, 88), 88, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 89
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html", null, true);
echo "</div>
</li>
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 91
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 91, $this->source); })()), "request", [], "any", false, false, true, 91), "get", [0 => "_route"], "method", false, false, true, 91) == "shopping_complete")) {
// line 92
echo " <li class=\"ec-progress__item\">
<a href=\"";
// line 93
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("shopping_confirm");
echo "\">
<div class=\"ec-progress__number\">";
// line 94
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 94, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 94, $this->source); })()) - 1), [], "array", false, false, true, 94), 94, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 95
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html", null, true);
echo "</div>
</a>
</li>
";
} else {
// line 99
echo " <li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 100
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 100, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 100, $this->source); })()) - 1), [], "array", false, false, true, 100), 100, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 101
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご注文内容確認"), "html", null, true);
echo "</div>
</li>
";
}
// line 104
echo " ";
$context["step"] = ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 104, $this->source); })()) + 1);
// line 105
echo "
";
// line 107
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 107, $this->source); })()), "request", [], "any", false, false, true, 107), "get", [0 => "_route"], "method", false, false, true, 107) == "shopping_complete")) {
// line 108
echo " <li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">";
// line 109
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 109, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 109, $this->source); })()) - 1), [], "array", false, false, true, 109), 109, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 110
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html", null, true);
echo "</div>
</li>
";
} else {
// line 113
echo " <li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">";
// line 114
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["kanji_numbers"]) || array_key_exists("kanji_numbers", $context) ? $context["kanji_numbers"] : (function () { throw new RuntimeError('Variable "kanji_numbers" does not exist.', 114, $this->source); })()), ((isset($context["step"]) || array_key_exists("step", $context) ? $context["step"] : (function () { throw new RuntimeError('Variable "step" does not exist.', 114, $this->source); })()) - 1), [], "array", false, false, true, 114), 114, $this->source), "html", null, true);
echo "</div>
<div class=\"ec-progress__label\">";
// line 115
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("完了"), "html", null, true);
echo "</div>
</li>
";
}
// line 118
echo " </ul>
</div>
<div class=\"ec-role\">
<div class=\"ec-pageHeader\">
<h1>";
// line 124
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ショッピングカート"), "html", null, true);
echo "</h1>
</div>
</div>
";
// line 128
$context["productStr"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 128, $this->source); })()), "session", [], "any", false, false, true, 128), "flashbag", [], "any", false, false, true, 128), "get", [0 => "eccube.front.request.product"], "method", false, false, true, 128);
// line 129
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 129, $this->source); })()), "session", [], "any", false, false, true, 129), "flashbag", [], "any", false, false, true, 129), "get", [0 => "eccube.front.request.error"], "method", false, false, true, 129));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 130
echo " ";
$context["idx"] = twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, true, 130);
// line 131
echo " <div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
";
// line 134
echo " <div class=\"ec-alert-warning__text\">
";
// line 135
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.', 135, $this->source); })()), [], "array", true, true, true, 135)) {
// line 136
echo " ";
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 136, $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.', 136, $this->source); })()), (isset($context["idx"]) || array_key_exists("idx", $context) ? $context["idx"] : (function () { throw new RuntimeError('Variable "idx" does not exist.', 136, $this->source); })()), [], "array", false, false, true, 136)]), "html", null, true));
echo "
";
} else {
// line 138
echo " ";
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 138, $this->source)), "html", null, true));
echo "
";
}
// line 140
echo " </div>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 144
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 144, $this->source); })()), "session", [], "any", false, false, true, 144), "flashbag", [], "any", false, false, true, 144), "get", [0 => "eccube.front.cart.error"], "method", false, false, true, 144));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 145
echo " <div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
";
// line 149
echo " <div class=\"ec-alert-warning__text\">
";
// line 150
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 150, $this->source)), "html", null, true));
echo "
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 155
echo " ";
if (((isset($context["totalQuantity"]) || array_key_exists("totalQuantity", $context) ? $context["totalQuantity"] : (function () { throw new RuntimeError('Variable "totalQuantity" does not exist.', 155, $this->source); })()) > 0)) {
// line 156
echo " <div class=\"ec-cartRole__totalText\">
ご注文内容
</div>
";
// line 159
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.', 159, $this->source); })())) > 1)) {
// line 160
echo " <div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
<div class=\"ec-alert-warning__text\">
";
// line 163
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("同時購入できない商品がカートに含まれています。"), "html", null, true));
echo "
</div>
</div>
</div>
";
}
// line 168
echo "
";
// line 169
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts", $context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.', 169, $this->source); })()));
foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
// line 170
echo " ";
$context["cartKey"] = twig_get_attribute($this->env, $this->source, $context["Cart"], "cart_key", [], "any", false, false, true, 170);
// line 171
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 171, $this->source); })()), "session", [], "any", false, false, true, 171), "flashbag", [], "any", false, false, true, 171), "get", [0 => (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 171, $this->source); })())) . ".request.error")], "method", false, false, true, 171));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 172
echo " <div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
";
// line 175
echo " <div class=\"ec-alert-warning__text\">
";
// line 176
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 176, $this->source)), "html", null, true));
echo "
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 181
echo "
<!-- カートコンテナ開始 -->
<div class=\"cart__container\">
<!-- カートヘッダー -->
<div class=\"cart__header\">
<div class=\"cart__header-item cart__header-image\">画像</div>
<div class=\"cart__header-item cart__header-name\">商品名</div>
<div class=\"cart__header-item cart__header-price\">価格</div>
<div class=\"cart__header-item cart__header-quantity\">数量</div>
<div class=\"cart__header-item cart__header-subtotal\">小計</div>
<div class=\"cart__header-item cart__header-delete\">削除</div>
</div>
";
// line 194
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["Cart"], "CartItems", [], "any", false, false, true, 194));
foreach ($context['_seq'] as $context["_key"] => $context["CartItem"]) {
// line 195
echo " ";
$context["ProductClass"] = twig_get_attribute($this->env, $this->source, $context["CartItem"], "ProductClass", [], "any", false, false, true, 195);
// line 196
echo " ";
$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.', 196, $this->source); })()), "Product", [], "any", false, false, true, 196);
// line 197
echo " <!-- 商品行 -->
<div class=\"cart__row\">
<div class=\"cart__cell cart__cell-image\">
<a target=\"_blank\" href=\"";
// line 200
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.', 200, $this->source); })()), "id", [], "any", false, false, true, 200)]), "html", null, true);
echo "\">
<img src=\"";
// line 201
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.', 201, $this->source); })()), "MainListImage", [], "any", false, false, true, 201), 201, $this->source)), "save_image"), "html", null, true);
echo "\" class=\"product_img\" alt=\"";
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.', 201, $this->source); })()), "name", [], "any", false, false, true, 201), 201, $this->source), "html", null, true);
echo "\" />
</a>
</div>
<div class=\"cart__cell cart__cell-name\">
<a target=\"_blank\" href=\"";
// line 205
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.', 205, $this->source); })()), "id", [], "any", false, false, true, 205)]), "html", null, true);
echo "\">";
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.', 205, $this->source); })()), "name", [], "any", false, false, true, 205), 205, $this->source), "html", null, true);
echo "</a>
";
// line 206
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.', 206, $this->source); })()), "ClassCategory1", [], "any", false, false, true, 206) && twig_get_attribute($this->env, $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.', 206, $this->source); })()), "ClassCategory1", [], "any", false, false, true, 206), "id", [], "any", false, false, true, 206))) {
// line 207
echo " <br>";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $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.', 207, $this->source); })()), "ClassCategory1", [], "any", false, false, true, 207), "ClassName", [], "any", false, false, true, 207), "name", [], "any", false, false, true, 207), 207, $this->source), "html", null, true);
echo ":";
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.', 207, $this->source); })()), "ClassCategory1", [], "any", false, false, true, 207), 207, $this->source), "html", null, true);
echo "
";
}
// line 209
echo " ";
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.', 209, $this->source); })()), "ClassCategory2", [], "any", false, false, true, 209) && twig_get_attribute($this->env, $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.', 209, $this->source); })()), "ClassCategory2", [], "any", false, false, true, 209), "id", [], "any", false, false, true, 209))) {
// line 210
echo " <br>";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $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.', 210, $this->source); })()), "ClassCategory2", [], "any", false, false, true, 210), "ClassName", [], "any", false, false, true, 210), "name", [], "any", false, false, true, 210), 210, $this->source), "html", null, true);
echo ":";
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.', 210, $this->source); })()), "ClassCategory2", [], "any", false, false, true, 210), 210, $this->source), "html", null, true);
echo "
";
}
// line 212
echo " </div>
<div class=\"cart__cell cart__cell-price\">";
// line 213
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CartItem"], "price", [], "any", false, false, true, 213), 213, $this->source)), "html", null, true);
echo "円</div>
<div class=\"cart__cell cart__cell-quantity\">
<span class=\"cart__quantity-value title\">数量</span>
<span class=\"cart__quantity-value\">
<input type=\"number\" value=\"";
// line 217
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CartItem"], "quantity", [], "any", false, false, true, 217), 217, $this->source), "html", null, true);
echo "\" id=\"q_";
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.', 217, $this->source); })()), "id", [], "any", false, false, true, 217), 217, $this->source), "html", null, true);
echo "\">
<input type=\"hidden\" value=\"";
// line 218
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CartItem"], "quantity", [], "any", false, false, true, 218), 218, $this->source), "html", null, true);
echo "\" id=\"o_";
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.', 218, $this->source); })()), "id", [], "any", false, false, true, 218), 218, $this->source), "html", null, true);
echo "\">
個<button type=\"button\" class=\"btn btn-default btn-change\" onclick=\"doChange('";
// line 219
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.', 219, $this->source); })()), "id", [], "any", false, false, true, 219), 219, $this->source), "html", null, true);
echo "');\">変更</button>
</div>
<div class=\"cart__cell cart__cell-subtotal\"><span class=\"cart__cell-subtotal title\">小計</span> <span class=\"cart__cell-subtotalValue\">";
// line 221
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["CartItem"], "total_price", [], "any", false, false, true, 221), 221, $this->source)), "html", null, true);
echo "円</span></div>
<div class=\"cart__cell cart__cell-delete\">
<a href=\"";
// line 223
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.', 223, $this->source); })()), "id", [], "any", false, false, true, 223)]), "html", null, true);
echo "\" ";
echo $this->extensions['Eccube\Twig\Extension\CsrfExtension']->getCsrfTokenForAnchor();
echo " class=\"cart__delete-button\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">削除</a>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CartItem'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 227
echo "
<!-- 合計行 -->
<div class=\"cart__row cart__row-total\">
<div class=\"cart__cell cart__cell-total-label\">商品合計</div>
<div class=\"cart__cell cart__cell-total-value\">";
// line 231
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Cart"], "totalPrice", [], "any", false, false, true, 231), 231, $this->source)), "html", null, true);
echo "円</div>
</div>
</div>
<!-- カートコンテナ終了 -->
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 236
echo " ";
} else {
// line 237
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts", $context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.', 237, $this->source); })()));
foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
// line 238
echo " ";
$context["cartKey"] = twig_get_attribute($this->env, $this->source, $context["Cart"], "cart_key", [], "any", false, false, true, 238);
// line 239
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 239, $this->source); })()), "session", [], "any", false, false, true, 239), "flashbag", [], "any", false, false, true, 239), "get", [0 => (("eccube.front.cart." . (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 239, $this->source); })())) . ".request.error")], "method", false, false, true, 239));
foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
// line 240
echo " <div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
";
// line 243
echo " <div class=\"ec-alert-warning__text\">
";
// line 244
echo twig_nl2br(twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->sandbox->ensureToStringAllowed($context["error"], 244, $this->source)), "html", null, true));
echo "
</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 249
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 250
echo " <div class=\"ec-role\">
<div class=\"ec-off3Grid\">
<div class=\"ec-off3Grid__cell\">
<div class=\"ec-alert-warning\">
";
// line 255
echo " <div class=\"ec-alert-warning__text\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在カート内に商品はございません。"), "html", null, true);
echo "</div>
</div>
</div>
</div>
</div>
";
}
// line 261
echo " </div>
";
// line 263
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Carts"]) || array_key_exists("Carts", $context) ? $context["Carts"] : (function () { throw new RuntimeError('Variable "Carts" does not exist.', 263, $this->source); })()));
foreach ($context['_seq'] as $context["CartIndex"] => $context["Cart"]) {
// line 264
echo " ";
$context["cartKey"] = twig_get_attribute($this->env, $this->source, $context["Cart"], "cart_key", [], "any", false, false, true, 264);
// line 265
echo "
<div class=\"ec-cartRole__progress\">
<span class=\"ec-cartRole__progress__free\">1件あたり5,400円以上送料無料</span>
";
// line 268
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.', 268, $this->source); })()), "delivery_free_amount", [], "any", false, false, true, 268) && 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.', 268, $this->source); })()), "delivery_free_quantity", [], "any", false, false, true, 268))) {
// line 269
echo " ";
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.', 269, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 269, $this->source); })()), [], "array", false, false, true, 269)) {
// line 270
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html", null, true);
echo "</p>
";
} else {
// line 272
echo " <p>";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>円」で送料無料です。", ["%price%" => twig_number_format_filter($this->env, $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.', 272, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 272, $this->source); })()), [], "array", false, false, true, 272), 272, $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.', 272, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 272, $this->source); })()), [], "array", false, false, true, 272), 272, $this->source))]);
echo "</p>
";
}
// line 274
echo " ";
} 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.', 274, $this->source); })()), "delivery_free_amount", [], "any", false, false, true, 274)) {
// line 275
echo " ";
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.', 275, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 275, $this->source); })()), [], "array", false, false, true, 275)) {
// line 276
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html", null, true);
echo "</p>
";
} else {
// line 278
echo " <p>";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>円」で送料無料です。", ["%price%" => twig_number_format_filter($this->env, $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.', 278, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 278, $this->source); })()), [], "array", false, false, true, 278), 278, $this->source))]);
echo "</p>
";
}
// line 280
echo " ";
} 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.', 280, $this->source); })()), "delivery_free_quantity", [], "any", false, false, true, 280)) {
// line 281
echo " ";
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.', 281, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 281, $this->source); })()), [], "array", false, false, true, 281)) {
// line 282
echo " <p>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("現在送料無料です。"), "html", null, true);
echo "</p>
";
} else {
// line 284
echo " <p>";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("あと「<strong>%price%</strong>」送料無料です。", ["%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.', 284, $this->source); })()), (isset($context["cartKey"]) || array_key_exists("cartKey", $context) ? $context["cartKey"] : (function () { throw new RuntimeError('Variable "cartKey" does not exist.', 284, $this->source); })()), [], "array", false, false, true, 284), 284, $this->source))]);
echo "</p>
";
}
// line 286
echo " ";
}
// line 287
echo " </div>
<div id=\"btn_area\">
<ul>
<li><a class=\"ec-blockBtn--cancel\" href=\"";
// line 291
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("homepage");
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("買い物を続ける"), "html", null, true);
echo "</a></li>
<li><a class=\"ec-blockBtn--action\" href=\"";
// line 292
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.', 292, $this->source); })())]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("購入手続きに進む"), "html", null, true);
echo "</a></li>
</ul>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['CartIndex'], $context['Cart'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 296
echo "</form>
<div id=\"cart_log_area\">
<p>※必ずお読みください。</p>
<p>@kakiyama.comからのメール受信ができるよう、あらかじめ設定をお願いいたします。<br>
お問い合せをする場合がありますので、必ずメールはご確認ください。</p>
<p>1件のご注文につき、お届け先は1ヶ所のみ指定可能です。複数箇所への配送をご希望の場合、1件ずつご注文を確定してください。</p>
<p>領収書につきましては、「発送完了メール記載のURL」または「マイページ(会員のお客様のみ)」よりPDFデータがダウンロード可能です。<br>
代金引換の領収書につきましては、ヤマト運輸が発行する送り状(伝票)の控えを領収書とさせていただきます。</p>
<p>離島・一部地域への配送、悪天候などの配送状況によって配送が遅れる場合がございます。あらかじめご了承ください。<br>
詳しくは、<a href=\"https://www.kuronekoyamato.co.jp/\" target=\"_blank\">ヤマト運輸の公式サイト</a>にてご確認ください。</p>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Cart/index.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 798 => 296, 786 => 292, 780 => 291, 774 => 287, 771 => 286, 765 => 284, 759 => 282, 756 => 281, 753 => 280, 747 => 278, 741 => 276, 738 => 275, 735 => 274, 729 => 272, 723 => 270, 720 => 269, 718 => 268, 713 => 265, 710 => 264, 706 => 263, 702 => 261, 692 => 255, 686 => 250, 680 => 249, 669 => 244, 666 => 243, 662 => 240, 657 => 239, 654 => 238, 649 => 237, 646 => 236, 635 => 231, 629 => 227, 617 => 223, 612 => 221, 607 => 219, 601 => 218, 595 => 217, 588 => 213, 585 => 212, 577 => 210, 574 => 209, 566 => 207, 564 => 206, 558 => 205, 549 => 201, 545 => 200, 540 => 197, 537 => 196, 534 => 195, 530 => 194, 515 => 181, 504 => 176, 501 => 175, 497 => 172, 492 => 171, 489 => 170, 485 => 169, 482 => 168, 474 => 163, 469 => 160, 467 => 159, 462 => 156, 459 => 155, 448 => 150, 445 => 149, 441 => 145, 436 => 144, 419 => 140, 413 => 138, 407 => 136, 405 => 135, 402 => 134, 398 => 131, 395 => 130, 377 => 129, 375 => 128, 368 => 124, 360 => 118, 354 => 115, 350 => 114, 347 => 113, 341 => 110, 337 => 109, 334 => 108, 331 => 107, 328 => 105, 325 => 104, 319 => 101, 315 => 100, 312 => 99, 305 => 95, 301 => 94, 297 => 93, 294 => 92, 292 => 91, 287 => 89, 283 => 88, 280 => 87, 277 => 86, 274 => 84, 271 => 83, 265 => 80, 261 => 79, 258 => 78, 251 => 74, 247 => 73, 243 => 72, 240 => 71, 238 => 70, 233 => 68, 229 => 67, 226 => 66, 223 => 65, 220 => 63, 217 => 62, 214 => 61, 208 => 58, 204 => 57, 201 => 56, 194 => 52, 190 => 51, 186 => 50, 183 => 49, 181 => 48, 176 => 46, 172 => 45, 169 => 44, 166 => 43, 163 => 42, 160 => 40, 157 => 39, 150 => 35, 146 => 34, 142 => 33, 139 => 32, 133 => 29, 129 => 28, 126 => 27, 123 => 26, 120 => 24, 117 => 23, 115 => 22, 108 => 18, 105 => 17, 95 => 16, 81 => 11, 74 => 6, 64 => 5, 53 => 1, 51 => 3, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'default_frame.twig' %}
{% set body_class = 'cart_page' %}
{% block javascript %}
<script>
function doChange(id){
var q_num = \$(\"#q_\" + id).val();
var o_num = \$(\"#o_\" + id).val();
var num = q_num - o_num;
location.href = \"{{ url('cart_change_num') }}?class_id=\" + id + \"&num=\" + num;
}
</script>
{% endblock %}
{% block main %}
<form name=\"form\" id=\"form_cart\" class=\"ec-cartRole\" method=\"post\" action=\"{{ url('cart') }}\">
<div class=\"ec-cartRole\">
<div class=\"ec-cartRole__progress\">
<ul class=\"ec-progress\">
{% set step = 1 %}
{% set kanji_numbers = ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十'] %}
{# カートページ #}
{% if app.request.get('_route') == 'cart' %}
<li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}</div>
</li>
{% else %}
<li class=\"ec-progress__item\">
<a href=\"{{ url('cart') }}\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'カートの商品'|trans }}</div>
</a>
</li>
{% endif %}
{% set step = step + 1 %}
{# お客様情報 #}
{% if is_granted('ROLE_USER') == false %}
{% if app.request.get('_route') == 'shopping_nonmember' %}
<li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}</div>
</li>
{% elseif app.request.get('_route') in ['shopping', 'shopping_confirm', 'shopping_complete'] %}
<li class=\"ec-progress__item\">
<a href=\"{{ url('shopping_nonmember') }}\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}</div>
</a>
</li>
{% else %}
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'お客様情報'|trans }}</div>
</li>
{% endif %}
{% set step = step + 1 %}
{% endif %}
{# ご注文手続き #}
{% if app.request.get('_route') == 'shopping' %}
<li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}</div>
</li>
{% elseif app.request.get('_route') in ['shopping_confirm', 'shopping_complete'] %}
<li class=\"ec-progress__item\">
<a href=\"{{ url('shopping') }}\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}</div>
</a>
</li>
{% else %}
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'ご注文手続き'|trans }}</div>
</li>
{% endif %}
{% set step = step + 1 %}
{# ご注文内容確認 #}
{% if app.request.get('_route') == 'shopping_confirm' %}
<li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}</div>
</li>
{% elseif app.request.get('_route') == 'shopping_complete' %}
<li class=\"ec-progress__item\">
<a href=\"{{ url('shopping_confirm') }}\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}</div>
</a>
</li>
{% else %}
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ 'ご注文内容確認'|trans }}</div>
</li>
{% endif %}
{% set step = step + 1 %}
{# 完了 #}
{% if app.request.get('_route') == 'shopping_complete' %}
<li class=\"ec-progress__item is-complete\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ '完了'|trans }}</div>
</li>
{% else %}
<li class=\"ec-progress__item\">
<div class=\"ec-progress__number\">{{ kanji_numbers[step-1] }}</div>
<div class=\"ec-progress__label\">{{ '完了'|trans }}</div>
</li>
{% endif %}
</ul>
</div>
<div class=\"ec-role\">
<div class=\"ec-pageHeader\">
<h1>{{ 'ショッピングカート'|trans }}</h1>
</div>
</div>
{% set productStr = app.session.flashbag.get('eccube.front.request.product') %}
{% for error in app.session.flashbag.get('eccube.front.request.error') %}
{% set idx = loop.index0 %}
<div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
{#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
<div class=\"ec-alert-warning__text\">
{% if productStr[idx] is defined %}
{{ error|trans({'%product%':productStr[idx]})|nl2br }}
{% else %}
{{ error|trans|nl2br }}
{% endif %}
</div>
</div>
</div>
{% endfor %}
{% for error in app.session.flashbag.get('eccube.front.cart.error') %}
<div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
{#
<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
<div class=\"ec-alert-warning__text\">
{{ error|trans|nl2br }}
</div>
</div>
</div>
{% endfor %}
{% if totalQuantity > 0 %}
<div class=\"ec-cartRole__totalText\">
ご注文内容
</div>
{% if Carts|length > 1 %}
<div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
<div class=\"ec-alert-warning__text\">
{{ '同時購入できない商品がカートに含まれています。'|trans|nl2br }}
</div>
</div>
</div>
{% endif %}
{% for CartIndex,Cart in Carts %}
{% set cartKey = Cart.cart_key %}
{% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
<div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
{#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
<div class=\"ec-alert-warning__text\">
{{ error|trans|nl2br }}
</div>
</div>
</div>
{% endfor %}
<!-- カートコンテナ開始 -->
<div class=\"cart__container\">
<!-- カートヘッダー -->
<div class=\"cart__header\">
<div class=\"cart__header-item cart__header-image\">画像</div>
<div class=\"cart__header-item cart__header-name\">商品名</div>
<div class=\"cart__header-item cart__header-price\">価格</div>
<div class=\"cart__header-item cart__header-quantity\">数量</div>
<div class=\"cart__header-item cart__header-subtotal\">小計</div>
<div class=\"cart__header-item cart__header-delete\">削除</div>
</div>
{% for CartItem in Cart.CartItems %}
{% set ProductClass = CartItem.ProductClass %}
{% set Product = ProductClass.Product %}
<!-- 商品行 -->
<div class=\"cart__row\">
<div class=\"cart__cell cart__cell-image\">
<a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">
<img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" class=\"product_img\" alt=\"{{ Product.name }}\" />
</a>
</div>
<div class=\"cart__cell cart__cell-name\">
<a target=\"_blank\" href=\"{{ url('product_detail', {id : Product.id} ) }}\">{{ Product.name }}</a>
{% if ProductClass.ClassCategory1 and ProductClass.ClassCategory1.id %}
<br>{{ ProductClass.ClassCategory1.ClassName.name }}:{{ ProductClass.ClassCategory1 }}
{% endif %}
{% if ProductClass.ClassCategory2 and ProductClass.ClassCategory2.id %}
<br>{{ ProductClass.ClassCategory2.ClassName.name }}:{{ ProductClass.ClassCategory2 }}
{% endif %}
</div>
<div class=\"cart__cell cart__cell-price\">{{ CartItem.price|number_format }}円</div>
<div class=\"cart__cell cart__cell-quantity\">
<span class=\"cart__quantity-value title\">数量</span>
<span class=\"cart__quantity-value\">
<input type=\"number\" value=\"{{ CartItem.quantity }}\" id=\"q_{{ ProductClass.id }}\">
<input type=\"hidden\" value=\"{{ CartItem.quantity }}\" id=\"o_{{ ProductClass.id }}\">
個<button type=\"button\" class=\"btn btn-default btn-change\" onclick=\"doChange('{{ ProductClass.id }}');\">変更</button>
</div>
<div class=\"cart__cell cart__cell-subtotal\"><span class=\"cart__cell-subtotal title\">小計</span> <span class=\"cart__cell-subtotalValue\">{{ CartItem.total_price|number_format }}円</span></div>
<div class=\"cart__cell cart__cell-delete\">
<a href=\"{{ url('cart_handle_item', {'operation': 'remove', 'productClassId': ProductClass.id }) }}\" {{ csrf_token_for_anchor() }} class=\"cart__delete-button\" data-method=\"put\" data-message=\"カートから商品を削除してもよろしいですか?\">削除</a>
</div>
</div>
{% endfor %}
<!-- 合計行 -->
<div class=\"cart__row cart__row-total\">
<div class=\"cart__cell cart__cell-total-label\">商品合計</div>
<div class=\"cart__cell cart__cell-total-value\">{{ Cart.totalPrice|number_format }}円</div>
</div>
</div>
<!-- カートコンテナ終了 -->
{% endfor %}
{% else %}
{% for CartIndex,Cart in Carts %}
{% set cartKey = Cart.cart_key %}
{% for error in app.session.flashbag.get('eccube.front.cart.' ~ cartKey ~ '.request.error') %}
<div class=\"ec-cartRole__error\">
<div class=\"ec-alert-warning\">
{#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
<div class=\"ec-alert-warning__text\">
{{ error|trans|nl2br }}
</div>
</div>
</div>
{% endfor %}
{% endfor %}
<div class=\"ec-role\">
<div class=\"ec-off3Grid\">
<div class=\"ec-off3Grid__cell\">
<div class=\"ec-alert-warning\">
{#<div class=\"ec-alert-warning__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"></div>#}
<div class=\"ec-alert-warning__text\">{{ '現在カート内に商品はございません。'|trans }}</div>
</div>
</div>
</div>
</div>
{% endif %}
</div>
{% for CartIndex,Cart in Carts %}
{% set cartKey = Cart.cart_key %}
<div class=\"ec-cartRole__progress\">
<span class=\"ec-cartRole__progress__free\">1件あたり5,400円以上送料無料</span>
{% if BaseInfo.delivery_free_amount and BaseInfo.delivery_free_quantity %}
{% if is_delivery_free[cartKey] %}
<p>{{ '現在送料無料です。'|trans }}</p>
{% else %}
<p>{{ 'あと「<strong>%price%</strong>円」で送料無料です。'|trans({ '%price%': least[cartKey]|number_format, '%quantity%': quantity[cartKey]|number_format })|raw }}</p>
{% endif %}
{% elseif BaseInfo.delivery_free_amount %}
{% if is_delivery_free[cartKey] %}
<p>{{ '現在送料無料です。'|trans }}</p>
{% else %}
<p>{{ 'あと「<strong>%price%</strong>円」で送料無料です。'|trans({ '%price%': least[cartKey]|number_format })|raw }}</p>
{% endif %}
{% elseif BaseInfo.delivery_free_quantity %}
{% if is_delivery_free[cartKey] %}
<p>{{ '現在送料無料です。'|trans }}</p>
{% else %}
<p>{{ 'あと「<strong>%price%</strong>」送料無料です。'|trans({ '%quantity%': quantity[cartKey]|number_format })|raw }}</p>
{% endif %}
{% endif %}
</div>
<div id=\"btn_area\">
<ul>
<li><a class=\"ec-blockBtn--cancel\" href=\"{{ path('homepage') }}\">{{ '買い物を続ける'|trans }}</a></li>
<li><a class=\"ec-blockBtn--action\" href=\"{{ path('cart_buystep', {'cart_key':cartKey}) }}\">{{ '購入手続きに進む'|trans }}</a></li>
</ul>
</div>
{% endfor %}
</form>
<div id=\"cart_log_area\">
<p>※必ずお読みください。</p>
<p>@kakiyama.comからのメール受信ができるよう、あらかじめ設定をお願いいたします。<br>
お問い合せをする場合がありますので、必ずメールはご確認ください。</p>
<p>1件のご注文につき、お届け先は1ヶ所のみ指定可能です。複数箇所への配送をご希望の場合、1件ずつご注文を確定してください。</p>
<p>領収書につきましては、「発送完了メール記載のURL」または「マイページ(会員のお客様のみ)」よりPDFデータがダウンロード可能です。<br>
代金引換の領収書につきましては、ヤマト運輸が発行する送り状(伝票)の控えを領収書とさせていただきます。</p>
<p>離島・一部地域への配送、悪天候などの配送状況によって配送が遅れる場合がございます。あらかじめご了承ください。<br>
詳しくは、<a href=\"https://www.kuronekoyamato.co.jp/\" target=\"_blank\">ヤマト運輸の公式サイト</a>にてご確認ください。</p>
</div>
{% endblock %}", "Cart/index.twig", "/home/xs501433/xs501433.xsrv.jp/public_html/app/template/default/Cart/index.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "if" => 26, "for" => 129);
static $filters = array("escape" => 28, "trans" => 29, "nl2br" => 136, "length" => 159, "no_image_product" => 201, "number_format" => 213, "raw" => 272);
static $functions = array("url" => 11, "is_granted" => 42, "asset" => 201, "csrf_token_for_anchor" => 223, "path" => 291);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['escape', 'trans', 'nl2br', 'length', 'no_image_product', 'number_format', 'raw'],
['url', 'is_granted', 'asset', 'csrf_token_for_anchor', 'path']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}