<?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;
/* Product/detail.twig */
class __TwigTemplate_7713beff1d5bafbae09d3e21542661c7 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 11
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", "Product/detail.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/detail.twig"));
// line 13
$context["body_class"] = "product_page";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "Product/detail.twig", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
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 16
echo "<link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/css/products.css?v=20240201"), "html", null, true);
echo "\">
";
// line 19
echo "
";
// line 20
$context["review_list"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal"), "getRecommend", [0 => 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.', 20, $this->source); })()), "id", [], "any", false, false, true, 20)], "method", false, false, true, 20);
// line 21
$context["reviewer_total"] = 0;
// line 22
$context["review_total_point"] = 0;
// line 23
$context["count"] = 5;
// line 24
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["review_list"]) || array_key_exists("review_list", $context) ? $context["review_list"] : (function () { throw new RuntimeError('Variable "review_list" does not exist.', 24, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 25
echo " ";
$context["reviewer_total"] = ((isset($context["reviewer_total"]) || array_key_exists("reviewer_total", $context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.', 25, $this->source); })()) + $context["i"]);
// line 26
echo " ";
$context["review_total_point"] = ((isset($context["review_total_point"]) || array_key_exists("review_total_point", $context) ? $context["review_total_point"] : (function () { throw new RuntimeError('Variable "review_total_point" does not exist.', 26, $this->source); })()) + ($context["i"] * (isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 26, $this->source); })())));
// line 27
echo " ";
$context["count"] = ((isset($context["count"]) || array_key_exists("count", $context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.', 27, $this->source); })()) - 1);
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 29
$context["review_point"] = ((((isset($context["reviewer_total"]) || array_key_exists("reviewer_total", $context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.', 29, $this->source); })()) == 0)) ? (0) : (((isset($context["review_total_point"]) || array_key_exists("review_total_point", $context) ? $context["review_total_point"] : (function () { throw new RuntimeError('Variable "review_total_point" does not exist.', 29, $this->source); })()) / (isset($context["reviewer_total"]) || array_key_exists("reviewer_total", $context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.', 29, $this->source); })()))));
// line 30
echo "
";
// line 31
$context["Reviews_avg"] = (isset($context["review_point"]) || array_key_exists("review_point", $context) ? $context["review_point"] : (function () { throw new RuntimeError('Variable "review_point" does not exist.', 31, $this->source); })());
// line 32
$context["ProductReviewCount"] = (isset($context["reviewer_total"]) || array_key_exists("reviewer_total", $context) ? $context["reviewer_total"] : (function () { throw new RuntimeError('Variable "reviewer_total" does not exist.', 32, $this->source); })());
// line 42
echo "
";
// line 43
$context["tag"] = "";
// line 44
$context["arrivemail"] = true;
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(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.', 45, $this->source); })()), "ProductTag", [], "any", false, false, true, 45));
foreach ($context['_seq'] as $context["_key"] => $context["ProductTag"]) {
// line 46
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 46), "id", [], "any", false, false, true, 46) == 99)) {
// line 47
$context["arrivemail"] = false;
}
// line 49
echo "
";
// line 50
if (((isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 50, $this->source); })()) != "")) {
// line 51
$context["tag"] = ($this->sandbox->ensureToStringAllowed((isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 51, $this->source); })()), 51, $this->source) . ",");
}
// line 53
$context["tag"] = ($this->sandbox->ensureToStringAllowed((isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 53, $this->source); })()), 53, $this->source) . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 53), "id", [], "any", false, false, true, 53), 53, $this->source));
// line 54
echo "
";
// line 55
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductTag"], "Tag", [], "any", false, false, true, 55), "id", [], "any", false, false, true, 55) == 100)) {
// line 56
echo "<script>
\$(function() {
\t\$('#product-detail-page .product-main-image > img').wrap('<div class=\"campaign_warp campaignProduct\">')
\t
\t\$('#default-product-page .product-image-gallery').addClass('campaignProduct');
});
</script>
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 63
$context["ProductTag"], "Tag", [], "any", false, false, true, 63), "id", [], "any", false, false, true, 63) == 1)) {
// line 64
echo "<script>
\$(function() {
\t\$('#product-detail-page .product-main-image > img').wrap('<div class=\"campaign_warp newProduct\">')
\t
\t\$('#default-product-page .product-image-gallery').addClass('newProduct');
});
</script>
";
} elseif ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 71
$context["ProductTag"], "Tag", [], "any", false, false, true, 71), "id", [], "any", false, false, true, 71) == 3)) {
// line 72
echo "<script>
\$(function() {
\t\$('#product-detail-page .product-main-image > img').wrap('<div class=\"campaign_warp limitedProduct\">')
\t
\t\$('#default-product-page .product-image-gallery').addClass('limitedProduct');
});
</script>
";
}
// line 80
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductTag'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 82
echo "<div id=\"taglist\" data-tagid=\"";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed((isset($context["tag"]) || array_key_exists("tag", $context) ? $context["tag"] : (function () { throw new RuntimeError('Variable "tag" does not exist.', 82, $this->source); })()), 82, $this->source), "html", null, true);
echo "\" style=\"display: none;\"></div>
";
// line 84
if ( !twig_test_empty(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.', 84, $this->source); })()), "code_min", [], "any", false, false, true, 84))) {
// line 85
if ($this->extensions['Customize\Twig\Extension\AnerosExtension']->existsTemplate((("Product/" . 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.', 85, $this->source); })()), "code_min", [], "any", false, false, true, 85)) . ".twig"))) {
// line 86
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, (("Product/" . $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.', 86, $this->source); })()), "code_min", [], "any", false, false, true, 86), 86, $this->source)) . ".twig"));
echo "
";
} else {
// line 88
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Product/detail_default.twig");
echo "
";
}
} else {
// line 91
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Product/detail_default.twig");
echo "
";
}
// line 93
echo "
";
// line 95
echo "<div id=\"in_to_cart\" style=\"display: none;\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/img/common/loading.gif"), "html", null, true);
echo "\" alt=\"ロード中\" />
\t<p>カートに入れています</p>
</div>
<div id=\"in_to_cart_end\" style=\"display: none;\">
\t<a href=\"javascript: void(0)\" onclick=\"\$('#in_to_cart_end #in_to_cart_reload').click();\" class=\"btn-remove\">Close</a>
\t<div id=\"in_to_cart_msg\">
\t\t商品がカートに入りました
\t</div>
\t<div id=\"in_to_cart_image\">
\t\t<img src=\"";
// line 104
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.', 104, $this->source); })()), "MainListImage", [], "any", false, false, true, 104), 104, $this->source)), "save_image"), "html", null, true);
echo "\" 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.', 104, $this->source); })()), "name", [], "any", false, false, true, 104), 104, $this->source), "html", null, true);
echo "\">
\t</div>
\t<div id=\"in_to_cart_name\">
\t\t";
// line 107
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.', 107, $this->source); })()), "name", [], "any", false, false, true, 107), 107, $this->source), "html", null, true);
echo "
\t</div>
\t<button id=\"in_to_cart_reload\" class=\"button\" onclick=\"location.reload();\">お買い物を続ける</button>
\t<a href=\"";
// line 110
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\" id=\"in_to_cart_cart\" class=\"button\">購入手続き</a>
</div>
";
// line 114
echo "<div id=\"arrivemail-area\" style=\"display: none;\">
\t<div id=\"arrive-area\">
\t\t<div id=\"arrive-title\">
\t\t\t入荷お知らせ(入力ページ)
\t\t\t<a class=\"arrivemail-close\" href=\"javascript:void(0)\">X</a>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div id=\"arrive-sub1\">
\t\t\t\t下記の製品が入荷いたしましたらメールでお知らせいたします。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div class=\"arrive-itemname\">商品名:</div>
\t\t\t<div class=\"arrive-item\" id=\"product-name\"></div>
\t\t</div>
\t\t<div class=\"arrive-inbox\" style=\"margin-bottom:10px;\">
\t\t\t<div class=\"arrive-itemname-comment\">メールアドレス</div>
\t\t\t<div class=\"arrive-item\">
\t\t\t\t<span class=\"inputholder inputholder1\" style=\"width:262px;background-position:0 -29px;\">
\t\t\t\t\t<input type=\"email\" name=\"arrivemail-mail\" value=\"\" maxlength=\"50\" class=\"box350\" />
\t\t\t\t</span>
\t\t\t\t<span class=\"attention\">※ 正しいメールアドレスを入力してください。</span>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">
\t\t\t\t<font color=\"#FF0000\"><small><b>*</b></small></font>商品の入荷をお知らせするメールサービスです。ご予約を行うものではありません。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">
\t\t\t\t<font color=\"#FF0000\"><small><b>*</b></small></font>携帯メールの場合はドメイン解除の設定をお願いいたします。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">
\t\t\t\t<font color=\"#FF0000\"><small><b>*</b></small></font>お客様の迷惑メールの設定によってメールがお届けできない場合がございます。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-line\"></div>
\t\t<div class=\"arrive-submitbtn\"><a href=\"javascript:void(0)\" class=\"button blue-btn\" name=\"conf\"
\t\t\t\tid=\"arrivemail-submit\">登録します</a></div>
\t</div>
</div>
<div id=\"arrivemail-area-end\" style=\"display: none;\">
\t<div id=\"arrive-area\">
\t\t<div id=\"arrive-title\">入荷お知らせ(完了ページ)
\t\t\t<a class=\"arrivemail-close\" href=\"javascript:void(0)\">X</a>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div id=\"arrive-sub1\">メールアドレスを受付けました。</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div class=\"arrive-itemname\">商品名:</div>
\t\t\t<div class=\"arrive-item\" id=\"product-name\"></div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div class=\"arrive-itemname-comment\">メールアドレス:</div>
\t\t\t<div class=\"arrive-item\" id=\"send-arrivemail-mail\"></div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">商品が入荷いたしましたらメールでお知らせいたします。</div>
\t\t</div>
\t\t<div class=\"arrive-line\"></div>
\t\t<div class=\"arrive-submitbtn\">
\t\t\t<a href=\"javascript:void(0)\" class=\"button grey-btn grey-btn-mail\" name=\"conf\" id=\"arrivemail-submit-end\">閉じます</a>
\t\t</div>
\t</div>
</div>
<script src=\"";
// line 185
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("aneros/js/products.js"), "html", null, true);
echo "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Product/detail.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 321 => 185, 248 => 114, 242 => 110, 236 => 107, 228 => 104, 215 => 95, 212 => 93, 207 => 91, 201 => 88, 196 => 86, 194 => 85, 192 => 84, 186 => 82, 179 => 80, 169 => 72, 167 => 71, 158 => 64, 156 => 63, 147 => 56, 145 => 55, 142 => 54, 140 => 53, 137 => 51, 135 => 50, 132 => 49, 129 => 47, 127 => 46, 123 => 45, 121 => 44, 119 => 43, 116 => 42, 114 => 32, 112 => 31, 109 => 30, 107 => 29, 100 => 27, 97 => 26, 94 => 25, 90 => 24, 88 => 23, 86 => 22, 84 => 21, 82 => 20, 79 => 19, 73 => 16, 63 => 15, 52 => 11, 50 => 13, 37 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'product_page' %}
{% block main %}
<link rel=\"stylesheet\" href=\"{{ asset('aneros/css/products.css?v=20240201') }}\">
{# レビュー平均値を小数点以下まで取得(aggregateRatingで使用) #}
{% set review_list = repository('Plugin\\\\CustomerReview42\\\\Entity\\\\CustomerReviewTotal').getRecommend(Product.id) %}
{% set reviewer_total = 0 %}
{% set review_total_point = 0 %}
{% set count = 5 %}
{% for i in review_list %}
{% set reviewer_total = reviewer_total + i %}
{% set review_total_point = review_total_point + i * count %}
{% set count = count - 1 %}
{% endfor %}
{% set review_point = reviewer_total == 0 ? 0 : (review_total_point / reviewer_total) %}
{% set Reviews_avg = review_point %}
{% set ProductReviewCount = reviewer_total %}
{#
{% for Review in ProductReviews %}
\t{% set Reviews_avg = Reviews_avg + Review.recommend_level %}
\t{% set ProductReviewCount = ProductReviewCount + 1 %}
{% endfor %}
{% if 0 < Reviews_avg %}
\t{% set Reviews_avg = Reviews_avg / ProductReviewCount %}
{% endif %}
#}
{% set tag = \"\" %}
{% set arrivemail = true %}
{% for ProductTag in Product.ProductTag %}
{% if ProductTag.Tag.id == 99 %}
{% set arrivemail = false %}
{% endif %}
{% if tag != \"\" %}
{% set tag = tag~\",\" %}
{% endif %}
{% set tag = tag~ProductTag.Tag.id %}
{% if ProductTag.Tag.id == 100 %}
<script>
\$(function() {
\t\$('#product-detail-page .product-main-image > img').wrap('<div class=\"campaign_warp campaignProduct\">')
\t
\t\$('#default-product-page .product-image-gallery').addClass('campaignProduct');
});
</script>
{% elseif ProductTag.Tag.id == 1 %}
<script>
\$(function() {
\t\$('#product-detail-page .product-main-image > img').wrap('<div class=\"campaign_warp newProduct\">')
\t
\t\$('#default-product-page .product-image-gallery').addClass('newProduct');
});
</script>
{% elseif ProductTag.Tag.id == 3 %}
<script>
\$(function() {
\t\$('#product-detail-page .product-main-image > img').wrap('<div class=\"campaign_warp limitedProduct\">')
\t
\t\$('#default-product-page .product-image-gallery').addClass('limitedProduct');
});
</script>
{% endif %}
{% endfor %}
<div id=\"taglist\" data-tagid=\"{{ tag }}\" style=\"display: none;\"></div>
{% if Product.code_min is not empty %}
{% if exists_template('Product/'~Product.code_min~'.twig') %}
{{ include('Product/'~Product.code_min~'.twig') }}
{% else %}
{{ include('Product/detail_default.twig') }}
{% endif %}
{% else %}
{{ include('Product/detail_default.twig') }}
{% endif %}
{# カートに入れる #}
<div id=\"in_to_cart\" style=\"display: none;\"><img src=\"{{ asset('aneros/img/common/loading.gif') }}\" alt=\"ロード中\" />
\t<p>カートに入れています</p>
</div>
<div id=\"in_to_cart_end\" style=\"display: none;\">
\t<a href=\"javascript: void(0)\" onclick=\"\$('#in_to_cart_end #in_to_cart_reload').click();\" class=\"btn-remove\">Close</a>
\t<div id=\"in_to_cart_msg\">
\t\t商品がカートに入りました
\t</div>
\t<div id=\"in_to_cart_image\">
\t\t<img src=\"{{ asset(Product.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\">
\t</div>
\t<div id=\"in_to_cart_name\">
\t\t{{ Product.name }}
\t</div>
\t<button id=\"in_to_cart_reload\" class=\"button\" onclick=\"location.reload();\">お買い物を続ける</button>
\t<a href=\"{{ url('cart') }}\" id=\"in_to_cart_cart\" class=\"button\">購入手続き</a>
</div>
{# 入荷お知らせ登録 #}
<div id=\"arrivemail-area\" style=\"display: none;\">
\t<div id=\"arrive-area\">
\t\t<div id=\"arrive-title\">
\t\t\t入荷お知らせ(入力ページ)
\t\t\t<a class=\"arrivemail-close\" href=\"javascript:void(0)\">X</a>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div id=\"arrive-sub1\">
\t\t\t\t下記の製品が入荷いたしましたらメールでお知らせいたします。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div class=\"arrive-itemname\">商品名:</div>
\t\t\t<div class=\"arrive-item\" id=\"product-name\"></div>
\t\t</div>
\t\t<div class=\"arrive-inbox\" style=\"margin-bottom:10px;\">
\t\t\t<div class=\"arrive-itemname-comment\">メールアドレス</div>
\t\t\t<div class=\"arrive-item\">
\t\t\t\t<span class=\"inputholder inputholder1\" style=\"width:262px;background-position:0 -29px;\">
\t\t\t\t\t<input type=\"email\" name=\"arrivemail-mail\" value=\"\" maxlength=\"50\" class=\"box350\" />
\t\t\t\t</span>
\t\t\t\t<span class=\"attention\">※ 正しいメールアドレスを入力してください。</span>
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">
\t\t\t\t<font color=\"#FF0000\"><small><b>*</b></small></font>商品の入荷をお知らせするメールサービスです。ご予約を行うものではありません。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">
\t\t\t\t<font color=\"#FF0000\"><small><b>*</b></small></font>携帯メールの場合はドメイン解除の設定をお願いいたします。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">
\t\t\t\t<font color=\"#FF0000\"><small><b>*</b></small></font>お客様の迷惑メールの設定によってメールがお届けできない場合がございます。
\t\t\t</div>
\t\t</div>
\t\t<div class=\"arrive-line\"></div>
\t\t<div class=\"arrive-submitbtn\"><a href=\"javascript:void(0)\" class=\"button blue-btn\" name=\"conf\"
\t\t\t\tid=\"arrivemail-submit\">登録します</a></div>
\t</div>
</div>
<div id=\"arrivemail-area-end\" style=\"display: none;\">
\t<div id=\"arrive-area\">
\t\t<div id=\"arrive-title\">入荷お知らせ(完了ページ)
\t\t\t<a class=\"arrivemail-close\" href=\"javascript:void(0)\">X</a>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div id=\"arrive-sub1\">メールアドレスを受付けました。</div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div class=\"arrive-itemname\">商品名:</div>
\t\t\t<div class=\"arrive-item\" id=\"product-name\"></div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div class=\"arrive-itemname-comment\">メールアドレス:</div>
\t\t\t<div class=\"arrive-item\" id=\"send-arrivemail-mail\"></div>
\t\t</div>
\t\t<div class=\"arrive-inbox\">
\t\t\t<div style=\"margin-bottom:10px;margin-right:15px;\">商品が入荷いたしましたらメールでお知らせいたします。</div>
\t\t</div>
\t\t<div class=\"arrive-line\"></div>
\t\t<div class=\"arrive-submitbtn\">
\t\t\t<a href=\"javascript:void(0)\" class=\"button grey-btn grey-btn-mail\" name=\"conf\" id=\"arrivemail-submit-end\">閉じます</a>
\t\t</div>
\t</div>
</div>
<script src=\"{{ asset('aneros/js/products.js') }}\"></script>
{% endblock %}", "Product/detail.twig", "/home/kir018258/public_html/test.aneros.co.jp/aneros_2023_b/app/template/aneros2023/Product/detail.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 13, "for" => 24, "if" => 46);
static $filters = array("escape" => 16, "no_image_product" => 104);
static $functions = array("asset" => 16, "repository" => 20, "exists_template" => 85, "include" => 86, "url" => 110);
try {
$this->sandbox->checkSecurity(
['set', 'for', 'if'],
['escape', 'no_image_product'],
['asset', 'repository', 'exists_template', 'include', 'url']
);
} 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;
}
}
}