<?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_9b81f7ead1ea61a6ca32eaa92e7e4b8574e71523392e064816db473308950a86 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Product/detail.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 15
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 16
echo " <style>
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 20
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 21
echo " <script>
eccube.classCategories = ";
// line 22
echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson((isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 22, $this->source); })()));
echo ";
// 規格2に選択肢を割り当てる。
function fnSetClassCategories(form, classcat_id2_selected) {
var \$form = \$(form);
var product_id = \$form.find('input[name=product_id]').val();
var \$sele1 = \$form.find('select[name=classcategory_id1]');
var \$sele2 = \$form.find('select[name=classcategory_id2]');
eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
}
";
// line 33
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 33)) {
// line 34
echo " fnSetClassCategories(
\$('#form1'), ";
// line 35
echo json_encode(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 35, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 35), "vars", [], "any", false, false, false, 35), "value", [], "any", false, false, false, 35));
echo "
);
";
} elseif (twig_get_attribute($this->env, $this->source, // line 37
($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 37)) {
// line 38
echo " eccube.checkStock(\$('#form1'), ";
echo twig_escape_filter($this->env, 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.', 38, $this->source); })()), "id", [], "any", false, false, false, 38), "html", null, true);
echo ", ";
echo json_encode(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 38, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 38), "vars", [], "any", false, false, false, 38), "value", [], "any", false, false, false, 38));
echo ", null);
";
}
// line 40
echo " </script>
<script>
\$(function() {
// bfcache無効化
\$(window).bind('pageshow', function(event) {
if (event.originalEvent.persisted) {
location.reload(true);
}
});
});
const thumbnail = document.querySelectorAll('.thumbnailImage');
let isCheck = false;
if (thumbnail.length > 3) {
isCheck = true;
}
const sliderThumbnail = new Swiper(\".slider-thumbnail\", {
slidesPerView: 3, // サムネイルの枚数
loop: isCheck,
spaceBetween: 6,
});
// スライダー
const slider = new Swiper(\".slider\", {
loop: isCheck,
thumbs: {
swiper: sliderThumbnail,
},
});
// ウィンドウがリサイズされたときに実行する関数
function updatePaddingTop() {
// 全ての.thumbnailImage要素を取得
const thumbnailElements = document.querySelectorAll('.thumbnailImage');
// 各.thumbnailImage要素に対して処理を行う
thumbnailElements.forEach(function(thumbnailElement) {
let computedStyle = window.getComputedStyle(thumbnailElement);
let thumbnailWidth = parseFloat(computedStyle.width);
thumbnailElement.style.paddingTop = thumbnailWidth + 'px';
});
}
// 初回の実行
updatePaddingTop();
// ウィンドウのリサイズが終わったら実行
window.addEventListener('resize', function() {
updatePaddingTop();
});
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
";
// line 90
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 90)) {
// line 91
echo " // 規格1フォームの必須チェック
if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
\$('#classcategory_id1')[0].setCustomValidity('";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html", null, true);
echo "');
return true;
} else {
\$('#classcategory_id1')[0].setCustomValidity('');
}
";
}
// line 99
echo "
";
// line 100
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 100)) {
// line 101
echo " // 規格2フォームの必須チェック
if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
\$('#classcategory_id2')[0].setCustomValidity('";
// line 103
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("項目が選択されていません"), "html", null, true);
echo "');
return true;
} else {
\$('#classcategory_id2')[0].setCustomValidity('');
}
";
}
// line 109
echo "
// 個数フォームのチェック
if (\$('#quantity').val() < 1) {
\$('#quantity')[0].setCustomValidity('";
// line 112
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
echo "');
return true;
} else {
\$('#quantity')[0].setCustomValidity('');
}
event.preventDefault();
\$form = \$('#form1');
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function() {
\$('#ec-modal-header').text(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: \"";
// line 139
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
echo "\",
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function(data) {
alert('";
// line 146
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html", null, true);
echo "');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-wrap').on('click', function(e) {
// モーダル内の処理は外側にバブリングさせない
e.stopPropagation();
});
\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"Product\",
\"name\": \"";
// line 166
echo twig_escape_filter($this->env, 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.', 166, $this->source); })()), "name", [], "any", false, false, false, 166), "html", null, true);
echo "\",
\"image\": [
";
// line 168
$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.', 168, $this->source); })()), "ProductImage", [], "any", false, false, false, 168));
$context['_iterated'] = false;
$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["img"]) {
// line 169
echo " \"";
echo twig_escape_filter($this->env, 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.', 169, $this->source); })()), "request", [], "any", false, false, false, 169), "schemeAndHttpHost", [], "any", false, false, false, 169), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["img"], "save_image"), "html", null, true);
echo "\"";
if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 169)) {
echo ",";
}
// line 170
echo "
";
$context['_iterated'] = true;
++$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'];
}
}
if (!$context['_iterated']) {
// line 172
echo " \"";
echo twig_escape_filter($this->env, 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.', 172, $this->source); })()), "request", [], "any", false, false, false, 172), "schemeAndHttpHost", [], "any", false, false, false, 172), "html", null, true);
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html", null, true);
echo "\"
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['img'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 174
echo " ],
\"description\": \"";
// line 175
echo twig_escape_filter($this->env, twig_slice($this->env, twig_replace_filter(((twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "description_list", [], "any", true, true, false, 175)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "description_list", [], "any", false, false, false, 175), 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.', 175, $this->source); })()), "description_detail", [], "any", false, false, false, 175))) : (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.', 175, $this->source); })()), "description_detail", [], "any", false, false, false, 175))), ["
" => "", "
" => ""]), 0, 300), "html", null, true);
echo "\",
";
// line 176
if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 176, $this->source); })()), "code_min", [], "any", false, false, false, 176)) {
// line 177
echo " \"sku\": \"";
echo twig_escape_filter($this->env, 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.', 177, $this->source); })()), "code_min", [], "any", false, false, false, 177), "html", null, true);
echo "\",
";
}
// line 179
echo " \"offers\": {
\"@type\": \"Offer\",
\"url\": \"";
// line 181
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.', 181, $this->source); })()), "id", [], "any", false, false, false, 181)]), "html", null, true);
echo "\",
\"priceCurrency\": \"";
// line 182
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config", $context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.', 182, $this->source); })()), "currency", [], "any", false, false, false, 182), "html", null, true);
echo "\",
\"price\": ";
// line 183
((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.', 183, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 183)) ? (print (twig_escape_filter($this->env, 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.', 183, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 183), "html", null, true))) : (print (0)));
echo ",
\"availability\": \"";
// line 184
echo ((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.', 184, $this->source); })()), "stock_find", [], "any", false, false, false, 184)) ? ("InStock") : ("OutOfStock"));
echo "\"
}
}
</script>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 190
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 191
echo " <div class=\"ec-productRole\">
<ul class=\"breadcrumb\">
<li class=\"breadcrumb__item\">
<a href=\"";
// line 194
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "\" class=\"breadcrumb__item__link\">
ホーム
</a>
</li>
<li class=\"breadcrumb__item\">
<p class=\"breadcrumb__item__arrow\">></p>
</li>
";
// line 201
if ( !twig_test_empty((isset($context["BreadcrumbCategory"]) || array_key_exists("BreadcrumbCategory", $context) ? $context["BreadcrumbCategory"] : (function () { throw new RuntimeError('Variable "BreadcrumbCategory" does not exist.', 201, $this->source); })()))) {
// line 202
echo " ";
// line 203
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["BreadcrumbCategory"]) || array_key_exists("BreadcrumbCategory", $context) ? $context["BreadcrumbCategory"] : (function () { throw new RuntimeError('Variable "BreadcrumbCategory" does not exist.', 203, $this->source); })()), "path", [], "any", false, false, false, 203));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 204
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 204) != twig_constant("Customize\\Common\\Constant::MANUFACTURER_CATEGORY_ID"))) {
// line 205
echo " <li class=\"breadcrumb__item\">
<a class=\"breadcrumb__item__link\" href=\"";
// line 206
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 206), "html", null, true);
echo "\">
";
// line 207
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "name", [], "any", false, false, false, 207), "html", null, true);
echo "
</a>
</li>
<li class=\"breadcrumb__item\">
<p class=\"breadcrumb__item__arrow\">></p>
</li>
";
}
// line 214
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 215
echo " ";
}
// line 216
echo " <li class=\"breadcrumb__item\">
<p class=\"breadcrumb__item__text\" href=\"javascript:void(0)\">
";
// line 218
echo twig_escape_filter($this->env, 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.', 218, $this->source); })()), "name", [], "any", false, false, false, 218), "html", null, true);
echo "
</p>
</li>
</ul>
<div class=\"ec-productDetail\">
<div class=\"ec-productDetail__image\">
<!-- スライダー -->
<div class=\"swiper slider\">
<div class=\"swiper-wrapper\">
";
// line 227
$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.', 227, $this->source); })()), "ProductImage", [], "any", false, false, false, 227));
$context['_iterated'] = false;
$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["ProductImage"]) {
// line 228
echo " <div class=\"swiper-slide\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html", null, true);
echo "\" alt=\"";
((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 228)) ? (print (twig_escape_filter($this->env, 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.', 228, $this->source); })()), "name", [], "any", false, false, false, 228), "html", null, true))) : (print ("")));
echo "\" width=\"550\" height=\"550\"";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 228) > 1)) {
echo " loading=\"lazy\"";
}
echo "></div>
";
$context['_iterated'] = true;
++$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'];
}
}
if (!$context['_iterated']) {
// line 230
echo " <div class=\"swiper-slide\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(""), "save_image"), "html", null, true);
echo "\" alt=\"";
((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 230)) ? (print (twig_escape_filter($this->env, 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.', 230, $this->source); })()), "name", [], "any", false, false, false, 230), "html", null, true))) : (print ("")));
echo "\" width=\"550\" height=\"550\"></div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 232
echo " </div>
</div>
<!-- サムネイル -->
<div class=\"swiper slider-thumbnail\">
<div class=\"swiper-wrapper\">
";
// line 237
$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.', 237, $this->source); })()), "ProductImage", [], "any", false, false, false, 237));
$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["ProductImage"]) {
// line 238
echo " <div class=\"swiper-slide thumbnailImage\" data-index=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 238), "html", null, true);
echo "\">
<img src=\"";
// line 239
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html", null, true);
echo "\" alt=\"\" width=\"125\" height=\"125\">
</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['ProductImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 242
echo " </div>
</div>
</div>
<div class=\"ec-productDetail__content\">
";
// line 247
echo " <div class=\"ec-productDetail__content__title\">
<h2 class=\"ec-headingTitle\">";
// line 248
echo twig_escape_filter($this->env, 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.', 248, $this->source); })()), "name", [], "any", false, false, false, 248), "html", null, true);
echo "</h2>
</div>
";
// line 251
echo " ";
// line 268
echo "
";
// line 269
if ((isset($context["MakerCategory"]) || array_key_exists("MakerCategory", $context) ? $context["MakerCategory"] : (function () { throw new RuntimeError('Variable "MakerCategory" does not exist.', 269, $this->source); })())) {
// line 270
echo " <dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">メーカー</dt>
<dd class=\"ec-productDetail__content__category__dd\">
";
// line 273
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["MakerCategory"]) || array_key_exists("MakerCategory", $context) ? $context["MakerCategory"] : (function () { throw new RuntimeError('Variable "MakerCategory" does not exist.', 273, $this->source); })()), "path", [], "any", false, false, false, 273));
$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["Category"]) {
// line 274
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 274) != twig_constant("Customize\\Common\\Constant::MANUFACTURER_CATEGORY_ID"))) {
// line 275
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 275), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "name", [], "any", false, false, false, 275), "html", null, true);
echo "</a>";
// line 276
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 276) == false)) {
// line 277
echo " <span>></span>
";
}
}
// line 280
echo " ";
++$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['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 281
echo " </dd>
</dl>
";
}
// line 284
echo "
";
// line 285
if ((isset($context["DefaultCategory"]) || array_key_exists("DefaultCategory", $context) ? $context["DefaultCategory"] : (function () { throw new RuntimeError('Variable "DefaultCategory" does not exist.', 285, $this->source); })())) {
// line 286
echo " <dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">カテゴリー</dt>
<dd class=\"ec-productDetail__content__category__dd\">
";
// line 289
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["DefaultCategory"]) || array_key_exists("DefaultCategory", $context) ? $context["DefaultCategory"] : (function () { throw new RuntimeError('Variable "DefaultCategory" does not exist.', 289, $this->source); })()), "path", [], "any", false, false, false, 289));
$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["Category"]) {
// line 290
echo " ";
if ((twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 290) != twig_constant("Customize\\Common\\Constant::DEFAULT_CATEGORY_ID"))) {
// line 291
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
echo "?category_id=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "id", [], "any", false, false, false, 291), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "name", [], "any", false, false, false, 291), "html", null, true);
echo "</a>";
// line 292
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 292) == false)) {
// line 293
echo " <span>></span>
";
}
}
// line 296
echo " ";
++$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['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 297
echo " </dd>
</dl>
";
}
// line 300
echo " ";
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 301
echo " <dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">";
// line 302
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("発送目安"), "html", null, true);
echo "</dt>
<dd class=\"ec-productDetail__content__category__dd\">
";
// line 304
if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 304, $this->source); })()), "getDeliveryDuration", [], "any", false, false, false, 304)) {
// line 305
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 305, $this->source); })()), "getDeliveryDuration", [], "any", false, false, false, 305), "name", [], "any", false, false, false, 305), "html", null, true);
echo "
";
} else {
// line 307
echo " 未定
";
}
// line 309
echo " </dd>
</dl>
<dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">";
// line 312
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("在庫"), "html", null, true);
echo "</dt>
<dd class=\"ec-productDetail__content__category__dd\">
";
// line 314
if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 314, $this->source); })()), "getStockUnlimitedMin", [], "any", false, false, false, 314) || (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.', 314, $this->source); })()), "getStockMin", [], "any", false, false, false, 314) >= 10))) {
// line 315
echo " ◎
";
} else {
// line 317
echo " ";
if (((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 317, $this->source); })()), "getStockMin", [], "any", false, false, false, 317) >= 1) && (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.', 317, $this->source); })()), "getStockMin", [], "any", false, false, false, 317) <= 9))) {
// line 318
echo " ○
";
}
// line 320
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 320, $this->source); })()), "getStockMin", [], "any", false, false, false, 320) <= 0)) {
// line 321
echo " ■
";
}
// line 323
echo " ";
}
// line 324
echo " </dd>
</dl>
<p class=\"ec-productDetail__content__line\"></p>
<div class=\"ec-productDetail__content__description\">";
// line 327
echo twig_nl2br(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.', 327, $this->source); })()), "description_detail", [], "any", false, false, false, 327));
echo "</div>
";
// line 329
echo " ";
// line 336
echo " <p class=\"ec-productDetail__content__line\"></p>
";
// line 338
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 338, $this->source); })()), "hasProductClass", [], "any", false, false, false, 338)) {
// line 339
echo "<div class=\"ec-productDetail__content__priceRegular\">
";
// line 340
if (( !(null === 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.', 340, $this->source); })()), "getPrice01Min", [], "any", false, false, false, 340)) && (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.', 340, $this->source); })()), "getPrice01IncTaxMin", [], "any", false, false, false, 340) == 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.', 340, $this->source); })()), "getPrice01IncTaxMax", [], "any", false, false, false, 340)))) {
// line 341
echo " <span class=\"ec-productRole__priceRegularPrice\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html", null, true);
echo ":<span class=\"price01-default\">";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 341, $this->source); })()), "getPrice01IncTaxMin", [], "any", false, false, false, 341)), "html", null, true);
echo "</span></span>
<span class=\"ec-productRole__priceRegularTax\">";
// line 342
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html", null, true);
echo "</span>
";
} elseif (( !(null === twig_get_attribute($this->env, $this->source, // line 343
(isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 343, $this->source); })()), "getPrice01Min", [], "any", false, false, false, 343)) && !(null === 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.', 343, $this->source); })()), "getPrice01Max", [], "any", false, false, false, 343)))) {
// line 344
echo " <span class=\"ec-productRole__priceRegularPrice\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html", null, true);
echo ":<span class=\"price01-default\">";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 344, $this->source); })()), "getPrice01IncTaxMin", [], "any", false, false, false, 344)), "html", null, true);
echo "~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 344, $this->source); })()), "getPrice01IncTaxMax", [], "any", false, false, false, 344)), "html", null, true);
echo "</span></span>
<span class=\"ec-productRole__priceRegularTax\">";
// line 345
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html", null, true);
echo "</span>
";
}
// line 347
echo " </div>
";
} else {
// line 349
echo " ";
if ( !(null === 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.', 349, $this->source); })()), "getPrice01Max", [], "any", false, false, false, 349))) {
// line 350
echo " <div class=\"ec-productDetail__content__priceRegular\">
<span class=\"ec-productRole__priceRegularPrice\">";
// line 351
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("通常価格"), "html", null, true);
echo ":";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 351, $this->source); })()), "getPrice01IncTaxMin", [], "any", false, false, false, 351)), "html", null, true);
echo "</span>
<span class=\"ec-productRole__priceRegularTax\">";
// line 352
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html", null, true);
echo "</span>
</div>
";
}
// line 355
echo " ";
}
// line 356
echo " ";
// line 357
echo " <div class=\"ec-productDetail__content__price\">
";
// line 358
if (twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 358, $this->source); })()), "hasProductClass", [], "any", false, false, false, 358)) {
// line 359
if ((twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 359, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 359) == 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.', 359, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, false, 359))) {
// line 360
echo " <div class=\"ec-price\">
<span class=\"ec-price__price price02-default\">";
// line 361
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 361, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 361)), "html", null, true);
echo "</span>
<span class=\"ec-price__tax\">";
// line 362
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html", null, true);
echo "</span>
</div>
";
} else {
// line 365
echo " <div class=\"ec-price\">
<span class=\"ec-price__price price02-default\">";
// line 366
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 366, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 366)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 366, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, false, 366)), "html", null, true);
echo "</span>
<span class=\"ec-price__tax\">";
// line 367
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html", null, true);
echo "</span>
</div>
";
}
// line 370
echo " ";
} else {
// line 371
echo " <div class=\"ec-price\">
<span class=\"ec-price__price\">";
// line 372
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(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.', 372, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 372)), "html", null, true);
echo "</span>
<span class=\"ec-price__tax\">";
// line 373
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("税込"), "html", null, true);
echo "</span>
</div>
";
}
// line 376
echo " </div>
";
// line 378
echo " ";
// line 383
echo "
<form action=\"";
// line 384
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["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.', 384, $this->source); })()), "id", [], "any", false, false, false, 384)]), "html", null, true);
echo "\" method=\"post\" id=\"form1\" name=\"form1\">
<div class=\"ec-productDetail__content__form\">
";
// line 386
if ((( !twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 386, $this->source); })()), "getStockUnlimitedMin", [], "any", false, false, false, 386) && (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.', 386, $this->source); })()), "getStockMin", [], "any", false, false, false, 386) <= 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.', 386, $this->source); })()), "isStockDiscontinued", [], "any", false, false, false, 386))) {
// line 387
echo " <div class=\"ec-productRole__btn soldOut\">
<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
";
// line 389
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
echo "
</button>
</div>
";
} else {
// line 393
echo " <div class=\"ec-productDetail__content__num\">
";
// line 394
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 394)) {
// line 395
echo " <div class=\"ec-select\">
";
// line 396
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 396, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 396), 'row');
echo "
";
// line 397
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 397, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 397), 'errors');
echo "
</div>
";
// line 399
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 399)) {
// line 400
echo " <div class=\"ec-select\">
";
// line 401
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 401, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 401), 'row');
echo "
";
// line 402
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 402, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 402), 'errors');
echo "
</div>
";
}
// line 405
echo " ";
}
// line 406
echo " <div class=\"ec-numberInput\"><span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
echo "</span>
";
// line 407
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 407, $this->source); })()), "quantity", [], "any", false, false, false, 407), 'widget');
echo "
";
// line 408
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 408, $this->source); })()), "quantity", [], "any", false, false, false, 408), 'errors');
echo "
</div>
</div>
<div class=\"ec-productRole__btn\">
<button type=\"submit\" class=\"ec-regular__btn add-cart\">
";
// line 413
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
echo "
</button>
</div>
";
}
// line 417
echo "
";
// line 418
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 418, $this->source); })()), 'rest');
echo "
</div>
</form>
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap product-detail\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
// line 424
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html", null, true);
echo "\" alt=\"\"/></span></span>
<div id=\"ec-modal-header\" class=\"text-center\">";
// line 425
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html", null, true);
echo "</div>
<div class=\"ec-modal-box\">
<div class=\"ec-role\">
<span class=\"ec-inlineBtn--cancel\">";
// line 428
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html", null, true);
echo "</span>
<a href=\"";
// line 429
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\" class=\"ec-inlineBtn--action\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html", null, true);
echo "</a>
</div>
</div>
</div>
</div>
</div>
";
// line 435
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.', 435, $this->source); })()), "option_favorite_product", [], "any", false, false, false, 435)) {
// line 436
echo " <form action=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_favorite", ["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.', 436, $this->source); })()), "id", [], "any", false, false, false, 436)]), "html", null, true);
echo "\" method=\"post\">
<div class=\"ec-productRole__btn ec-productRoleFavorite__btn\">
";
// line 438
if (((isset($context["is_favorite"]) || array_key_exists("is_favorite", $context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.', 438, $this->source); })()) == false)) {
// line 439
echo " <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel active\">
<img src=\"";
// line 440
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favorite/after.svg"), "html", null, true);
echo "\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
<span>";
// line 441
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加"), "html", null, true);
echo "</span>
</button>
";
} else {
// line 444
echo " <button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
disabled=\"disabled\">
<img src=\"";
// line 446
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/favorite/before.svg"), "html", null, true);
echo "\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
<span>";
// line 447
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html", null, true);
echo "</span>
</button>
";
}
// line 450
echo " </div>
</form>
";
}
// line 453
echo " ";
} else {
// line 454
echo " <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("entry_contact");
echo "\" class=\"ec-blockProductBtn--action\">会員登録はこちら</a>
";
}
// line 456
echo " <p class=\"ec-productDetail__content__line\"></p>
<ul class=\"ec-productDetail__content__faq\">
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailPostage\">送料について</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailDelivery\">お届け日について</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailPay\">お支払い方法/領収書について</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailProductReturn\">返品</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailRepair\">修理について</button></li>
</ul>
</div>
</div>
";
// line 471
echo " </div>
<!-- modal一覧 -->
<div id=\"detailPostage\" class=\"modal-outer\">
<div class=\"modal-inner productDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
送料について
</p>
<p class=\"modal-inner__content__detail\">10,000円(税抜)以上は送料無料<br>10,000円未満は地域別送料が発生します。</p>
<table class=\"modal-inner__content__postage\" border=\"1\">
<tr><th class=\"postage__title\" colspan=\"8\">北海道・東北</th></tr>
<tr>
<th>北海道</th>
<th>青森県</th>
<th>秋田県</th>
<th>岩手県</th>
<th>宮城県</th>
<th>山形県</th>
<th>福島県</th>
<th></th>
</tr>
<tr>
<td>1100円</td>
<td colspan=\"3\">800円</td>
<td colspan=\"3\">700円</td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">関東</th></tr>
<tr>
<th>茨城県</th>
<th>栃木県</th>
<th>群馬県</th>
<th>埼玉県</th>
<th>千葉県</th>
<th>神奈川県</th>
<th>東京都</th>
<th>山梨県</th>
</tr>
<tr>
<td colspan=\"8\">700円</td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">信越</th></tr>
<tr>
<th>新潟県</th>
<th>長野県</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"2\">700円</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">中部・北陸</th></tr>
<tr>
<th>静岡県</th>
<th>愛知県</th>
<th>三重県</th>
<th>岐阜県</th>
<th>富山県</th>
<th>石川県</th>
<th>福井県</th>
<th></th>
</tr>
<tr>
<td colspan=\"7\">700円</td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">関西</th></tr>
<tr>
<th>大阪府</th>
<th>京都府</th>
<th>滋賀県</th>
<th>奈良県</th>
<th>和歌山県</th>
<th>兵庫県</th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"6\">800円</td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">中国</th></tr>
<tr>
<th>岡山県</th>
<th>広島県</th>
<th>山口県</th>
<th>鳥取県</th>
<th>島根県</th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"5\">900円</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">中国</th></tr>
<tr>
<th>岡山県</th>
<th>広島県</th>
<th>山口県</th>
<th>鳥取県</th>
<th>島根県</th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"5\">900円</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">四国</th></tr>
<tr>
<th>香川県</th>
<th>徳島県</th>
<th>愛媛県</th>
<th>高知県</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"4\">1000円</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">九州・沖縄</th></tr>
<tr>
<th>福岡県</th>
<th>大分県</th>
<th>長崎県</th>
<th>佐賀県</th>
<th>宮崎県</th>
<th>熊本県</th>
<th>鹿児島県</th>
<th>沖縄</th>
</tr>
<tr>
<td colspan=\"7\">1100円</td>
<td>1200円</td>
</tr>
</table>
</div>
</div>
</div>
<div id=\"detailDelivery\" class=\"modal-outer\">
<div class=\"modal-inner productDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
お届け日について
</p>
<div class=\"modal-inner__content__map\">
<div class=\"modal-inner__content__map__block\">
<ul class=\"modal-inner__content__map__block__list\">
<li class=\"modal-inner__content__map__block__list__item\">翌日着</li>
<li class=\"modal-inner__content__map__block__list__item\">翌々日着</li>
<li class=\"modal-inner__content__map__block__list__item\">平日中3日着</li>
</ul>
<div class=\"modal-inner__content__map__block__image\">
<img src=\"";
// line 649
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/product/map.png"), "html", null, true);
echo "\" alt=\"日本地図\" width=\"2084\" height=\"1473\" loading=\"lazy\">
</div>
</div>
<div class=\"modal-inner__content__map__detail\">
<table class=\"modal-inner__content__map__detail__table\" border=\"1\">
<tr>
<th class=\"title\">12時まで注文の<br>最短お届け日</th>
<th>配送エリア</th>
<tr>
<tr>
<td class=\"tdMain\">翌日着</td>
<td>
<ul>
<li>【東北】 岩手・宮城・山形・福島</li>
<li>【甲信越】 新潟・長野・山梨</li>
<li>【関東】 東京・神奈川・埼玉・千葉・茨城・栃木・群馬</li>
<li>【北陸】 富山・石川・福井</li>
<li>【東海】 愛知・岐阜・静岡・三重</li>
<li>【関西】 大阪・兵庫・京都・滋賀・奈良</li>
</ul>
</td>
<tr>
<tr>
<td class=\"tdMain\">翌々日着</td>
<td>
<ul>
<li>【北海道】 北海道</li>
<li>【東北】 青森・秋田</li>
<li>【関西】 和歌山</li>
<li>【中国】 鳥取・島根・岡山・広島・山口</li>
<li>【四国】 徳島・香川・愛媛・高知</li>
<li>【九州】 福岡・佐賀・長崎・熊本・大分・宮崎・鹿児島</li>
</ul>
</td>
<tr>
<tr>
<td class=\"tdMain\">平日中3日着</td>
<td>
<ul>
<li>【沖縄】 沖縄</li>
<li>【その他】 離島</li>
</ul>
</td>
<tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div id=\"detailPay\" class=\"modal-outer\">
<div class=\"modal-inner payDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
お支払い方法/領収書について
</p>
<dl class=\"modal-inner__content__pay\">
<dt class=\"modal-inner__content__pay__dt\">●クレジットカード決済</dt>
<dd class=\"modal-inner__content__pay__dd\">
VISA・Master・JCB・Diners・AMEX 分割払い可能 手数料無料
<br>荷物に納品書兼領収書を同梱します。
<br>カード会社が発行する利用明細も領収書の代わりとなります。
</dd>
<dt class=\"modal-inner__content__pay__dt\">●代金引換</dt>
<dd class=\"modal-inner__content__pay__dd\">
商品受取時に配送業者にお支払いください(現金のみ)
<br>1万円(税抜)以上手数料無料
<br>1万円(税抜)未満手数料300円(税抜)
<br>荷物受取りの際に配送業者さんがお渡しする
<br>送り状(伝票)の控えが領収書となります。
</dd>
<dt class=\"modal-inner__content__pay__dt\">●コンビニ後払い</dt>
<dd class=\"modal-inner__content__pay__dd\">
会員登録住所へ請求書ハガキを郵送しますのでコンビニにてお支払いください。
<br>5万円(税込)まで利用可能※審査があります
<br>手数料190円(税抜)
<br>コンビニでお支払いの際にレジでお渡しする
<br>お客様控え(払込受領書)が領収書となります
</dd>
</dl>
<p class=\"modal-inner__content__pay__text\">「<a href=\"";
// line 730
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("mypage");
echo "\">マイページ</a>」-「<a href=\"\">領収書一覧</a>」より領収書の発行もできます</p>
</div>
</div>
</div>
<div id=\"detailProductReturn\" class=\"modal-outer\">
<div class=\"modal-inner payDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
返品
</p>
<dl class=\"modal-inner__content__pay\">
<dt class=\"modal-inner__content__pay__dt\">●返品</dt>
<dd class=\"modal-inner__content__pay__dd\">
到着後14日以内の商品で未使用・未開封に限り返品を受け付けます。
<br> (キャンセル不可・受注発注品は除きます)
<br>返品いただく際の送料はお客様ご負担になります。
<br>銀行振込(手数料5%を差し引きます)で返金します。
<br>受取時破損や初期不良は別対応になりますので
<br>お問い合わせください。
</dd>
</dl>
</div>
</div>
</div>
<div id=\"detailRepair\" class=\"modal-outer\">
<div class=\"modal-inner productDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
修理について
</p>
<dl class=\"modal-inner__content__pay\">
<dt class=\"modal-inner__content__pay__dt\">●修理</dt>
<dd class=\"modal-inner__content__pay__dd\">
Breavers shopで購入した商品の修理を受け付けます。
</dd>
</dl>
<ul class=\"modal-inner__content__repair\">
<li class=\"modal-inner__content__repair__item\">
<p class=\"modal-inner__content__repair__item__title\">初期不良</p>
<p class=\"modal-inner__content__repair__item__detail\">
到着後30日以内で故障した場合、交換または返品対応します。
<br>ご連絡のうえ「保証書」「付属品」を同梱し着払いにてお送りください。
<br>交換品の送料も無料です。
</p>
</li>
<li class=\"modal-inner__content__repair__item\">
<p class=\"modal-inner__content__repair__item__title\">保証期間内</p>
<p class=\"modal-inner__content__repair__item__detail\">
到着後、保証期間内の場合は、無償修理します。
<br>ご連絡のうえ「保証書」「付属品」を同梱しお送りください。
<br>お送りいただく際の送料はお客様ご負担になります。
<br>修理完了後の送料は無料です。
</p>
<p class=\"modal-inner__content__repair__item__notice\">
※保証期間内でもメーカー判断により有償になる場合もございます。
<br>その際はご連絡しますのでご確認ください。
</p>
</li>
<li class=\"modal-inner__content__repair__item\">
<p class=\"modal-inner__content__repair__item__title\">保証期間外(保証書なし)</p>
<p class=\"modal-inner__content__repair__item__detail\">
保証期間が過ぎている(もしくはない)場合は有償修理します。
<br>ご連絡のうえ「保証書(任意)」「付属品」を同梱しお送りください。
<br>お送りいただく際の送料はお客様ご負担になります。
<br>修理金額は確定後ご連絡します。
<br>修理完了後の送料は無料です。
<br>代金引換でお送りします。
</p>
</li>
</ul>
<p class=\"modal-inner__content__address\">
【送付先】
<br>株式会社bravers[Breavers shop修理の依頼]
<br>〒599-8111
<br>大阪府堺市東区日置荘北町2丁目17-19
<br>072-363-3131
</p>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Product/detail.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1341 => 730, 1257 => 649, 1077 => 471, 1065 => 456, 1059 => 454, 1056 => 453, 1051 => 450, 1045 => 447, 1041 => 446, 1037 => 444, 1031 => 441, 1027 => 440, 1024 => 439, 1022 => 438, 1016 => 436, 1014 => 435, 1003 => 429, 999 => 428, 993 => 425, 989 => 424, 980 => 418, 977 => 417, 970 => 413, 962 => 408, 958 => 407, 953 => 406, 950 => 405, 944 => 402, 940 => 401, 937 => 400, 935 => 399, 930 => 397, 926 => 396, 923 => 395, 921 => 394, 918 => 393, 911 => 389, 907 => 387, 905 => 386, 900 => 384, 897 => 383, 895 => 378, 892 => 376, 886 => 373, 882 => 372, 879 => 371, 876 => 370, 870 => 367, 864 => 366, 861 => 365, 855 => 362, 851 => 361, 848 => 360, 846 => 359, 844 => 358, 841 => 357, 839 => 356, 836 => 355, 830 => 352, 824 => 351, 821 => 350, 818 => 349, 814 => 347, 809 => 345, 800 => 344, 798 => 343, 794 => 342, 787 => 341, 785 => 340, 782 => 339, 779 => 338, 776 => 336, 774 => 329, 770 => 327, 765 => 324, 762 => 323, 758 => 321, 755 => 320, 751 => 318, 748 => 317, 744 => 315, 742 => 314, 737 => 312, 732 => 309, 728 => 307, 722 => 305, 720 => 304, 715 => 302, 712 => 301, 709 => 300, 704 => 297, 690 => 296, 685 => 293, 683 => 292, 675 => 291, 672 => 290, 655 => 289, 650 => 286, 648 => 285, 645 => 284, 640 => 281, 626 => 280, 621 => 277, 619 => 276, 611 => 275, 608 => 274, 591 => 273, 586 => 270, 584 => 269, 581 => 268, 579 => 251, 574 => 248, 571 => 247, 565 => 242, 548 => 239, 543 => 238, 526 => 237, 519 => 232, 508 => 230, 486 => 228, 468 => 227, 456 => 218, 452 => 216, 449 => 215, 443 => 214, 433 => 207, 427 => 206, 424 => 205, 421 => 204, 416 => 203, 414 => 202, 412 => 201, 402 => 194, 397 => 191, 387 => 190, 372 => 184, 368 => 183, 364 => 182, 360 => 181, 356 => 179, 350 => 177, 348 => 176, 343 => 175, 340 => 174, 330 => 172, 316 => 170, 308 => 169, 290 => 168, 285 => 166, 262 => 146, 252 => 139, 222 => 112, 217 => 109, 208 => 103, 204 => 101, 202 => 100, 199 => 99, 190 => 93, 186 => 91, 184 => 90, 132 => 40, 124 => 38, 122 => 37, 117 => 35, 114 => 34, 112 => 33, 98 => 22, 95 => 21, 85 => 20, 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 stylesheet %}
<style>
</style>
{% endblock %}
{% block javascript %}
<script>
eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
// 規格2に選択肢を割り当てる。
function fnSetClassCategories(form, classcat_id2_selected) {
var \$form = \$(form);
var product_id = \$form.find('input[name=product_id]').val();
var \$sele1 = \$form.find('select[name=classcategory_id1]');
var \$sele2 = \$form.find('select[name=classcategory_id2]');
eccube.setClassCategories(\$form, product_id, \$sele1, \$sele2, classcat_id2_selected);
}
{% if form.classcategory_id2 is defined %}
fnSetClassCategories(
\$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
);
{% elseif form.classcategory_id1 is defined %}
eccube.checkStock(\$('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
{% endif %}
</script>
<script>
\$(function() {
// bfcache無効化
\$(window).bind('pageshow', function(event) {
if (event.originalEvent.persisted) {
location.reload(true);
}
});
});
const thumbnail = document.querySelectorAll('.thumbnailImage');
let isCheck = false;
if (thumbnail.length > 3) {
isCheck = true;
}
const sliderThumbnail = new Swiper(\".slider-thumbnail\", {
slidesPerView: 3, // サムネイルの枚数
loop: isCheck,
spaceBetween: 6,
});
// スライダー
const slider = new Swiper(\".slider\", {
loop: isCheck,
thumbs: {
swiper: sliderThumbnail,
},
});
// ウィンドウがリサイズされたときに実行する関数
function updatePaddingTop() {
// 全ての.thumbnailImage要素を取得
const thumbnailElements = document.querySelectorAll('.thumbnailImage');
// 各.thumbnailImage要素に対して処理を行う
thumbnailElements.forEach(function(thumbnailElement) {
let computedStyle = window.getComputedStyle(thumbnailElement);
let thumbnailWidth = parseFloat(computedStyle.width);
thumbnailElement.style.paddingTop = thumbnailWidth + 'px';
});
}
// 初回の実行
updatePaddingTop();
// ウィンドウのリサイズが終わったら実行
window.addEventListener('resize', function() {
updatePaddingTop();
});
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
{% if form.classcategory_id1 is defined %}
// 規格1フォームの必須チェック
if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
\$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
return true;
} else {
\$('#classcategory_id1')[0].setCustomValidity('');
}
{% endif %}
{% if form.classcategory_id2 is defined %}
// 規格2フォームの必須チェック
if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
\$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
return true;
} else {
\$('#classcategory_id2')[0].setCustomValidity('');
}
{% endif %}
// 個数フォームのチェック
if (\$('#quantity').val() < 1) {
\$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
return true;
} else {
\$('#quantity')[0].setCustomValidity('');
}
event.preventDefault();
\$form = \$('#form1');
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// レスポンス内のメッセージをalertで表示
\$.each(data.messages, function() {
\$('#ec-modal-header').text(this);
});
\$('.ec-modal').show()
// カートブロックを更新する
\$.ajax({
url: \"{{ url('block_cart') }}\",
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
}).fail(function(data) {
alert('{{ 'カートへの追加に失敗しました。'|trans }}');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
});
\$('.ec-modal-wrap').on('click', function(e) {
// モーダル内の処理は外側にバブリングさせない
e.stopPropagation();
});
\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org/\",
\"@type\": \"Product\",
\"name\": \"{{ Product.name }}\",
\"image\": [
{% for img in Product.ProductImage %}
\"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}\"{% if not loop.last %},{% endif %}
{% else %}
\"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}\"
{% endfor %}
],
\"description\": \"{{ Product.description_list | default(Product.description_detail) | replace({'\\n': '', '\\r': ''}) | slice(0,300) }}\",
{% if Product.code_min %}
\"sku\": \"{{ Product.code_min }}\",
{% endif %}
\"offers\": {
\"@type\": \"Offer\",
\"url\": \"{{ url('product_detail', {'id': Product.id}) }}\",
\"priceCurrency\": \"{{ eccube_config.currency }}\",
\"price\": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},
\"availability\": \"{{ Product.stock_find ? \"InStock\" : \"OutOfStock\" }}\"
}
}
</script>
{% endblock %}
{% block main %}
<div class=\"ec-productRole\">
<ul class=\"breadcrumb\">
<li class=\"breadcrumb__item\">
<a href=\"{{ url('product_list') }}\" class=\"breadcrumb__item__link\">
ホーム
</a>
</li>
<li class=\"breadcrumb__item\">
<p class=\"breadcrumb__item__arrow\">></p>
</li>
{% if BreadcrumbCategory is not empty %}
{# {% set ProductCategory = Product.ProductCategories|first %} #}
{% for Category in BreadcrumbCategory.path %}
{% if Category.id != constant('Customize\\\\Common\\\\Constant::MANUFACTURER_CATEGORY_ID') %}
<li class=\"breadcrumb__item\">
<a class=\"breadcrumb__item__link\" href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
{{ Category.name }}
</a>
</li>
<li class=\"breadcrumb__item\">
<p class=\"breadcrumb__item__arrow\">></p>
</li>
{% endif %}
{% endfor %}
{% endif %}
<li class=\"breadcrumb__item\">
<p class=\"breadcrumb__item__text\" href=\"javascript:void(0)\">
{{ Product.name }}
</p>
</li>
</ul>
<div class=\"ec-productDetail\">
<div class=\"ec-productDetail__image\">
<!-- スライダー -->
<div class=\"swiper slider\">
<div class=\"swiper-wrapper\">
{% for ProductImage in Product.ProductImage %}
<div class=\"swiper-slide\"><img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" width=\"550\" height=\"550\"{% if loop.index > 1 %} loading=\"lazy\"{% endif %}></div>
{% else %}
<div class=\"swiper-slide\"><img src=\"{{ asset(''|no_image_product, 'save_image') }}\" alt=\"{{ loop.first ? Product.name : '' }}\" width=\"550\" height=\"550\"></div>
{% endfor %}
</div>
</div>
<!-- サムネイル -->
<div class=\"swiper slider-thumbnail\">
<div class=\"swiper-wrapper\">
{% for ProductImage in Product.ProductImage %}
<div class=\"swiper-slide thumbnailImage\" data-index=\"{{ loop.index0 }}\">
<img src=\"{{ asset(ProductImage, 'save_image') }}\" alt=\"\" width=\"125\" height=\"125\">
</div>
{% endfor %}
</div>
</div>
</div>
<div class=\"ec-productDetail__content\">
{# 商品名 #}
<div class=\"ec-productDetail__content__title\">
<h2 class=\"ec-headingTitle\">{{ Product.name }}</h2>
</div>
{# 関連カテゴリ #}
{# {% if Product.ProductCategories is not empty %}
<div class=\"ec-productRole__category\">
<div>{{ '関連カテゴリ'|trans }}</div>
{% for ProductCategory in Product.ProductCategories %}
<ul>
<li>
{% for Category in ProductCategory.Category.path %}
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a>
{%- if loop.last == false %}
<span>></span>
{% endif -%}
{% endfor %}
</li>
</ul>
{% endfor %}
</div>
{% endif %} #}
{% if MakerCategory %}
<dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">メーカー</dt>
<dd class=\"ec-productDetail__content__category__dd\">
{% for Category in MakerCategory.path %}
{% if Category.id != constant('Customize\\\\Common\\\\Constant::MANUFACTURER_CATEGORY_ID') %}
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a>
{%- if loop.last == false %}
<span>></span>
{% endif -%}
{% endif %}
{% endfor %}
</dd>
</dl>
{% endif %}
{% if DefaultCategory %}
<dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">カテゴリー</dt>
<dd class=\"ec-productDetail__content__category__dd\">
{% for Category in DefaultCategory.path %}
{% if Category.id != constant('Customize\\\\Common\\\\Constant::DEFAULT_CATEGORY_ID') %}
<a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a>
{%- if loop.last == false %}
<span>></span>
{% endif -%}
{% endif %}
{% endfor %}
</dd>
</dl>
{% endif %}
{% if is_granted('ROLE_USER') %}
<dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">{{ '発送目安'|trans }}</dt>
<dd class=\"ec-productDetail__content__category__dd\">
{% if Product.getDeliveryDuration %}
{{Product.getDeliveryDuration.name}}
{% else %}
未定
{% endif %}
</dd>
</dl>
<dl class=\"ec-productDetail__content__category\">
<dt class=\"ec-productDetail__content__category__dt\">{{ '在庫'|trans }}</dt>
<dd class=\"ec-productDetail__content__category__dd\">
{% if Product.getStockUnlimitedMin or Product.getStockMin >= 10 %}
◎
{% else %}
{% if Product.getStockMin >= 1 and Product.getStockMin <= 9 %}
○
{% endif %}
{% if Product.getStockMin <= 0 %}
■
{% endif %}
{% endif %}
</dd>
</dl>
<p class=\"ec-productDetail__content__line\"></p>
<div class=\"ec-productDetail__content__description\">{{ Product.description_detail|raw|nl2br }}</div>
{# タグ #}
{# {% if Product.Tags is not empty %}
<ul class=\"ec-productRole__tags\">
{% for Tag in Product.Tags %}
<li class=\"ec-productRole__tag tag_{{ Tag.id }}\">{{ Tag }}</li>
{% endfor %}
</ul>
{% endif %} #}
<p class=\"ec-productDetail__content__line\"></p>
{# 通常価格 #}
{% if Product.hasProductClass -%}
<div class=\"ec-productDetail__content__priceRegular\">
{% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
<span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}</span></span>
<span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
{% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
<span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:<span class=\"price01-default\">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
<span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
{% endif %}
</div>
{% else %}
{% if Product.getPrice01Max is not null %}
<div class=\"ec-productDetail__content__priceRegular\">
<span class=\"ec-productRole__priceRegularPrice\">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
<span class=\"ec-productRole__priceRegularTax\">{{ '税込'|trans }}</span>
</div>
{% endif %}
{% endif %}
{# 販売価格 #}
<div class=\"ec-productDetail__content__price\">
{% if Product.hasProductClass -%}
{% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
<div class=\"ec-price\">
<span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }}</span>
<span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
</div>
{% else %}
<div class=\"ec-price\">
<span class=\"ec-price__price price02-default\">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
<span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
</div>
{% endif %}
{% else %}
<div class=\"ec-price\">
<span class=\"ec-price__price\">{{ Product.getPrice02IncTaxMin|price }}</span>
<span class=\"ec-price__tax\">{{ '税込'|trans }}</span>
</div>
{% endif %}
</div>
{# 商品コード #}
{# {% if Product.code_min is not empty %}
<div class=\"ec-productRole__code\">
{{ '商品コード'|trans }}: <span class=\"product-code-default\">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
</div>
{% endif %} #}
<form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
<div class=\"ec-productDetail__content__form\">
{% if not Product.getStockUnlimitedMin and Product.getStockMin <= 0 and Product.isStockDiscontinued %}
<div class=\"ec-productRole__btn soldOut\">
<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
{{ 'ただいま品切れ中です。'|trans }}
</button>
</div>
{% else %}
<div class=\"ec-productDetail__content__num\">
{% if form.classcategory_id1 is defined %}
<div class=\"ec-select\">
{{ form_row(form.classcategory_id1) }}
{{ form_errors(form.classcategory_id1) }}
</div>
{% if form.classcategory_id2 is defined %}
<div class=\"ec-select\">
{{ form_row(form.classcategory_id2) }}
{{ form_errors(form.classcategory_id2) }}
</div>
{% endif %}
{% endif %}
<div class=\"ec-numberInput\"><span>{{ '数量'|trans }}</span>
{{ form_widget(form.quantity) }}
{{ form_errors(form.quantity) }}
</div>
</div>
<div class=\"ec-productRole__btn\">
<button type=\"submit\" class=\"ec-regular__btn add-cart\">
{{ 'カートに入れる'|trans }}
</button>
</div>
{% endif %}
{{ form_rest(form) }}
</div>
</form>
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap product-detail\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
<div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
<div class=\"ec-modal-box\">
<div class=\"ec-role\">
<span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
<a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
</div>
</div>
</div>
</div>
</div>
{% if BaseInfo.option_favorite_product %}
<form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
<div class=\"ec-productRole__btn ec-productRoleFavorite__btn\">
{% if is_favorite == false %}
<button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel active\">
<img src=\"{{ asset('assets/img/favorite/after.svg') }}\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
<span>{{ 'お気に入りに追加'|trans }}</span>
</button>
{% else %}
<button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
disabled=\"disabled\">
<img src=\"{{ asset('assets/img/favorite/before.svg') }}\" alt=\"お気に入り\" width=\"24\" height=\"24\" loading=\"lazy\">
<span>{{ 'お気に入りに追加済です。'|trans }}</span>
</button>
{% endif %}
</div>
</form>
{% endif %}
{% else %}
<a href=\"{{ url('entry_contact') }}\" class=\"ec-blockProductBtn--action\">会員登録はこちら</a>
{% endif %}
<p class=\"ec-productDetail__content__line\"></p>
<ul class=\"ec-productDetail__content__faq\">
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailPostage\">送料について</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailDelivery\">お届け日について</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailPay\">お支払い方法/領収書について</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailProductReturn\">返品</button></li>
<li class=\"ec-productDetail__content__faq__item\"><button class=\"modal-toggle\" data-modal=\"detailRepair\">修理について</button></li>
</ul>
</div>
</div>
{# {% if Product.freearea %}
<div class=\"ec-productRole__description\">
{{ include(template_from_string(Product.freearea)) }}
</div>
{% endif %} #}
</div>
<!-- modal一覧 -->
<div id=\"detailPostage\" class=\"modal-outer\">
<div class=\"modal-inner productDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
送料について
</p>
<p class=\"modal-inner__content__detail\">10,000円(税抜)以上は送料無料<br>10,000円未満は地域別送料が発生します。</p>
<table class=\"modal-inner__content__postage\" border=\"1\">
<tr><th class=\"postage__title\" colspan=\"8\">北海道・東北</th></tr>
<tr>
<th>北海道</th>
<th>青森県</th>
<th>秋田県</th>
<th>岩手県</th>
<th>宮城県</th>
<th>山形県</th>
<th>福島県</th>
<th></th>
</tr>
<tr>
<td>1100円</td>
<td colspan=\"3\">800円</td>
<td colspan=\"3\">700円</td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">関東</th></tr>
<tr>
<th>茨城県</th>
<th>栃木県</th>
<th>群馬県</th>
<th>埼玉県</th>
<th>千葉県</th>
<th>神奈川県</th>
<th>東京都</th>
<th>山梨県</th>
</tr>
<tr>
<td colspan=\"8\">700円</td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">信越</th></tr>
<tr>
<th>新潟県</th>
<th>長野県</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"2\">700円</td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">中部・北陸</th></tr>
<tr>
<th>静岡県</th>
<th>愛知県</th>
<th>三重県</th>
<th>岐阜県</th>
<th>富山県</th>
<th>石川県</th>
<th>福井県</th>
<th></th>
</tr>
<tr>
<td colspan=\"7\">700円</td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">関西</th></tr>
<tr>
<th>大阪府</th>
<th>京都府</th>
<th>滋賀県</th>
<th>奈良県</th>
<th>和歌山県</th>
<th>兵庫県</th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"6\">800円</td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">中国</th></tr>
<tr>
<th>岡山県</th>
<th>広島県</th>
<th>山口県</th>
<th>鳥取県</th>
<th>島根県</th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"5\">900円</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">中国</th></tr>
<tr>
<th>岡山県</th>
<th>広島県</th>
<th>山口県</th>
<th>鳥取県</th>
<th>島根県</th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"5\">900円</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">四国</th></tr>
<tr>
<th>香川県</th>
<th>徳島県</th>
<th>愛媛県</th>
<th>高知県</th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
<tr>
<td colspan=\"4\">1000円</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr><th class=\"postage__title\" colspan=\"8\">九州・沖縄</th></tr>
<tr>
<th>福岡県</th>
<th>大分県</th>
<th>長崎県</th>
<th>佐賀県</th>
<th>宮崎県</th>
<th>熊本県</th>
<th>鹿児島県</th>
<th>沖縄</th>
</tr>
<tr>
<td colspan=\"7\">1100円</td>
<td>1200円</td>
</tr>
</table>
</div>
</div>
</div>
<div id=\"detailDelivery\" class=\"modal-outer\">
<div class=\"modal-inner productDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
お届け日について
</p>
<div class=\"modal-inner__content__map\">
<div class=\"modal-inner__content__map__block\">
<ul class=\"modal-inner__content__map__block__list\">
<li class=\"modal-inner__content__map__block__list__item\">翌日着</li>
<li class=\"modal-inner__content__map__block__list__item\">翌々日着</li>
<li class=\"modal-inner__content__map__block__list__item\">平日中3日着</li>
</ul>
<div class=\"modal-inner__content__map__block__image\">
<img src=\"{{ asset('assets/img/product/map.png') }}\" alt=\"日本地図\" width=\"2084\" height=\"1473\" loading=\"lazy\">
</div>
</div>
<div class=\"modal-inner__content__map__detail\">
<table class=\"modal-inner__content__map__detail__table\" border=\"1\">
<tr>
<th class=\"title\">12時まで注文の<br>最短お届け日</th>
<th>配送エリア</th>
<tr>
<tr>
<td class=\"tdMain\">翌日着</td>
<td>
<ul>
<li>【東北】 岩手・宮城・山形・福島</li>
<li>【甲信越】 新潟・長野・山梨</li>
<li>【関東】 東京・神奈川・埼玉・千葉・茨城・栃木・群馬</li>
<li>【北陸】 富山・石川・福井</li>
<li>【東海】 愛知・岐阜・静岡・三重</li>
<li>【関西】 大阪・兵庫・京都・滋賀・奈良</li>
</ul>
</td>
<tr>
<tr>
<td class=\"tdMain\">翌々日着</td>
<td>
<ul>
<li>【北海道】 北海道</li>
<li>【東北】 青森・秋田</li>
<li>【関西】 和歌山</li>
<li>【中国】 鳥取・島根・岡山・広島・山口</li>
<li>【四国】 徳島・香川・愛媛・高知</li>
<li>【九州】 福岡・佐賀・長崎・熊本・大分・宮崎・鹿児島</li>
</ul>
</td>
<tr>
<tr>
<td class=\"tdMain\">平日中3日着</td>
<td>
<ul>
<li>【沖縄】 沖縄</li>
<li>【その他】 離島</li>
</ul>
</td>
<tr>
</table>
</div>
</div>
</div>
</div>
</div>
<div id=\"detailPay\" class=\"modal-outer\">
<div class=\"modal-inner payDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
お支払い方法/領収書について
</p>
<dl class=\"modal-inner__content__pay\">
<dt class=\"modal-inner__content__pay__dt\">●クレジットカード決済</dt>
<dd class=\"modal-inner__content__pay__dd\">
VISA・Master・JCB・Diners・AMEX 分割払い可能 手数料無料
<br>荷物に納品書兼領収書を同梱します。
<br>カード会社が発行する利用明細も領収書の代わりとなります。
</dd>
<dt class=\"modal-inner__content__pay__dt\">●代金引換</dt>
<dd class=\"modal-inner__content__pay__dd\">
商品受取時に配送業者にお支払いください(現金のみ)
<br>1万円(税抜)以上手数料無料
<br>1万円(税抜)未満手数料300円(税抜)
<br>荷物受取りの際に配送業者さんがお渡しする
<br>送り状(伝票)の控えが領収書となります。
</dd>
<dt class=\"modal-inner__content__pay__dt\">●コンビニ後払い</dt>
<dd class=\"modal-inner__content__pay__dd\">
会員登録住所へ請求書ハガキを郵送しますのでコンビニにてお支払いください。
<br>5万円(税込)まで利用可能※審査があります
<br>手数料190円(税抜)
<br>コンビニでお支払いの際にレジでお渡しする
<br>お客様控え(払込受領書)が領収書となります
</dd>
</dl>
<p class=\"modal-inner__content__pay__text\">「<a href=\"{{ url('mypage') }}\">マイページ</a>」-「<a href=\"\">領収書一覧</a>」より領収書の発行もできます</p>
</div>
</div>
</div>
<div id=\"detailProductReturn\" class=\"modal-outer\">
<div class=\"modal-inner payDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
返品
</p>
<dl class=\"modal-inner__content__pay\">
<dt class=\"modal-inner__content__pay__dt\">●返品</dt>
<dd class=\"modal-inner__content__pay__dd\">
到着後14日以内の商品で未使用・未開封に限り返品を受け付けます。
<br> (キャンセル不可・受注発注品は除きます)
<br>返品いただく際の送料はお客様ご負担になります。
<br>銀行振込(手数料5%を差し引きます)で返金します。
<br>受取時破損や初期不良は別対応になりますので
<br>お問い合わせください。
</dd>
</dl>
</div>
</div>
</div>
<div id=\"detailRepair\" class=\"modal-outer\">
<div class=\"modal-inner productDetail\">
<div class=\"modal-inner__content\">
<button class=\"modalCloseTop\"></button>
<p class=\"modal-inner__content__title\">
修理について
</p>
<dl class=\"modal-inner__content__pay\">
<dt class=\"modal-inner__content__pay__dt\">●修理</dt>
<dd class=\"modal-inner__content__pay__dd\">
Breavers shopで購入した商品の修理を受け付けます。
</dd>
</dl>
<ul class=\"modal-inner__content__repair\">
<li class=\"modal-inner__content__repair__item\">
<p class=\"modal-inner__content__repair__item__title\">初期不良</p>
<p class=\"modal-inner__content__repair__item__detail\">
到着後30日以内で故障した場合、交換または返品対応します。
<br>ご連絡のうえ「保証書」「付属品」を同梱し着払いにてお送りください。
<br>交換品の送料も無料です。
</p>
</li>
<li class=\"modal-inner__content__repair__item\">
<p class=\"modal-inner__content__repair__item__title\">保証期間内</p>
<p class=\"modal-inner__content__repair__item__detail\">
到着後、保証期間内の場合は、無償修理します。
<br>ご連絡のうえ「保証書」「付属品」を同梱しお送りください。
<br>お送りいただく際の送料はお客様ご負担になります。
<br>修理完了後の送料は無料です。
</p>
<p class=\"modal-inner__content__repair__item__notice\">
※保証期間内でもメーカー判断により有償になる場合もございます。
<br>その際はご連絡しますのでご確認ください。
</p>
</li>
<li class=\"modal-inner__content__repair__item\">
<p class=\"modal-inner__content__repair__item__title\">保証期間外(保証書なし)</p>
<p class=\"modal-inner__content__repair__item__detail\">
保証期間が過ぎている(もしくはない)場合は有償修理します。
<br>ご連絡のうえ「保証書(任意)」「付属品」を同梱しお送りください。
<br>お送りいただく際の送料はお客様ご負担になります。
<br>修理金額は確定後ご連絡します。
<br>修理完了後の送料は無料です。
<br>代金引換でお送りします。
</p>
</li>
</ul>
<p class=\"modal-inner__content__address\">
【送付先】
<br>株式会社bravers[Breavers shop修理の依頼]
<br>〒599-8111
<br>大阪府堺市東区日置荘北町2丁目17-19
<br>072-363-3131
</p>
</div>
</div>
</div>
{% endblock %}", "Product/detail.twig", "/home/bravers/bravers.xbiz.jp/public_html/app/template/bravers/Product/detail.twig");
}
}