<?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_96c563db9ada41512149594432039e6f0c776089bff10d591b9a54f63d158ce5 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>
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: \" \";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
</style>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 95
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 96
echo " <script>
eccube.classCategories = ";
// line 97
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.', 97, $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 108
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 108)) {
// line 109
echo " fnSetClassCategories(
\$('#form1'), ";
// line 110
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.', 110, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 110), "vars", [], "any", false, false, false, 110), "value", [], "any", false, false, false, 110));
echo "
);
";
} elseif (twig_get_attribute($this->env, $this->source, // line 112
($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 112)) {
// line 113
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.', 113, $this->source); })()), "id", [], "any", false, false, false, 113), "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.', 113, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 113), "vars", [], "any", false, false, false, 113), "value", [], "any", false, false, false, 113));
echo ", null);
";
}
// line 115
echo " </script>
<script>
\$(function() {
// bfcache無効化
\$(window).bind('pageshow', function(event) {
if (event.originalEvent.persisted) {
location.reload(true);
}
});
// Core Web Vital の Cumulative Layout Shift(CLS)対策のため
// img タグに width, height が付与されている.
// 630px 未満の画面サイズでは縦横比が壊れるための対策
// see https://github.com/EC-CUBE/ec-cube/pull/5023
\$('.ec-grid2__cell').hide();
var removeSize = function () {
\$('.slide-item').height('');
\$('.slide-item img')
.removeAttr('width')
.removeAttr('height')
.removeAttr('style');
};
var slickInitial = function(slick) {
\$('.ec-grid2__cell').fadeIn(1500);
var baseHeight = \$(slick.target).height();
var baseWidth = \$(slick.target).width();
var rate = baseWidth / baseHeight;
\$('.slide-item').height(baseHeight * rate); // 余白を削除する
// transform を使用することでCLSの影響を受けないようにする
\$('.slide-item img')
.css(
{
'transform-origin': 'top left',
'transform': 'scaleY(' + rate + ')',
'transition': 'transform .1s'
}
);
// 正しいサイズに近くなったら属性を解除する
setTimeout(removeSize, 500);
};
\$('.item_visual').on('init', slickInitial);
// リサイズ時は CLS の影響を受けないため属性を解除する
\$(window).resize(removeSize);
\$('.item_visual').slick({
dots: false,
arrows: false,
responsive: [{
breakpoint: 768,
settings: {
dots: true
}
}]
});
\$('.slideThumb').on('click', function() {
var index = \$(this).attr('data-index');
\$('.item_visual').slick('slickGoTo', index, false);
})
if (window.matchMedia('(max-width: 699px)').matches) {
\$('.product-photo__main').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: true,
autoplay :false,
pauseOnHover : false,
fade: true,
asNavFor: '.product-photo__sub'
});
\$('.product-photo__sub').slick({
slidesToShow: 100,
slidesToScroll: 1,
arrows: false,
dots: false,
centerMode: false,
focusOnSelect: true ,
variableWidth:true,
asNavFor: '.product-photo__main'
});
\$('.product-relatioin-list').slick({
arrows: false,
slidesToShow: 2,
dots: true,
});
}else{
\$('.product-photo__main').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
autoplay :false,
pauseOnHover : false,
fade: true,
asNavFor: '.product-photo__sub'
});
\$('.product-photo__sub').slick({
slidesToShow: 100,
slidesToScroll: 1,
arrows: false,
dots: false,
centerMode: false,
focusOnSelect: true ,
variableWidth:true,
asNavFor: '.product-photo__main'
});
\$('.product-relatioin-list').slick({
infinite: false,
arrows: false,
dots: false,
speed: 300,
autoplaySpeed: 5000,
slidesToShow: 1,
autoplay:false,
variableWidth: true
});
}
});
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
";
// line 237
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 237)) {
// line 238
echo " // 規格1フォームの必須チェック
if (\$('#classcategory_id1').val() == '__unselected' || \$('#classcategory_id1').val() == '') {
\$('#classcategory_id1')[0].setCustomValidity('";
// line 240
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 246
echo "
";
// line 247
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 247)) {
// line 248
echo " // 規格2フォームの必須チェック
if (\$('#classcategory_id2').val() == '__unselected' || \$('#classcategory_id2').val() == '') {
\$('#classcategory_id2')[0].setCustomValidity('";
// line 250
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 256
echo "
// 個数フォームのチェック
if (\$('#quantity').val() < 1) {
\$('#quantity')[0].setCustomValidity('";
// line 259
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 286
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 293
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 313
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.', 313, $this->source); })()), "name", [], "any", false, false, false, 313), "html", null, true);
echo "\",
\"image\": [
";
// line 315
$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.', 315, $this->source); })()), "ProductImage", [], "any", false, false, false, 315));
$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 316
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.', 316, $this->source); })()), "request", [], "any", false, false, false, 316), "schemeAndHttpHost", [], "any", false, false, false, 316), "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, 316)) {
echo ",";
}
// line 317
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 319
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.', 319, $this->source); })()), "request", [], "any", false, false, false, 319), "schemeAndHttpHost", [], "any", false, false, false, 319), "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 321
echo " ],
\"description\": \"";
// line 322
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, 322)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "description_list", [], "any", false, false, false, 322), 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.', 322, $this->source); })()), "description_detail", [], "any", false, false, false, 322))) : (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.', 322, $this->source); })()), "description_detail", [], "any", false, false, false, 322))), ["
" => "", "
" => ""]), 0, 300), "html", null, true);
echo "\",
";
// line 323
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.', 323, $this->source); })()), "code_min", [], "any", false, false, false, 323)) {
// line 324
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.', 324, $this->source); })()), "code_min", [], "any", false, false, false, 324), "html", null, true);
echo "\",
";
}
// line 326
echo " \"offers\": {
\"@type\": \"Offer\",
\"url\": \"";
// line 328
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.', 328, $this->source); })()), "id", [], "any", false, false, false, 328)]), "html", null, true);
echo "\",
\"priceCurrency\": \"";
// line 329
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.', 329, $this->source); })()), "currency", [], "any", false, false, false, 329), "html", null, true);
echo "\",
\"price\": ";
// line 330
((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.', 330, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 330)) ? (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.', 330, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 330), "html", null, true))) : (print (0)));
echo ",
\"availability\": \"";
// line 331
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.', 331, $this->source); })()), "stock_find", [], "any", false, false, false, 331)) ? ("InStock") : ("OutOfStock"));
echo "\"
}
}
</script>
<script src=\"/html/user_data/assets/js/lightbox/js/lightbox.min.js\"></script>
<link rel=\"stylesheet\" href=\"/html/user_data/assets/js//lightbox/css/lightbox.css\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 340
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 341
echo "
<div class=\"product-detail-body\">
";
// line 346
$context["Categories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method", false, false, false, 346);
// line 347
echo "
<div class=\"product-container layout-container contents\">
<ol class=\"topic-path\">
";
// line 352
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.', 352, $this->source); })()), "ProductCategories", [], "any", false, false, false, 352))) {
// line 353
echo " ";
$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.', 353, $this->source); })()), "ProductCategories", [], "any", false, false, false, 353));
foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
// line 354
echo " ";
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 354), "Parent", [], "any", false, false, false, 354) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 354), "Parent", [], "any", false, false, false, 354), "id", [], "any", false, false, false, 354) == 8))) {
// line 355
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 355), "path", [], "any", false, false, false, 355));
foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
// line 356
echo " <li><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, 356), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Category"], "name", [], "any", false, false, false, 356), "html", null, true);
echo "</a></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 358
echo " ";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 360
echo " <li>";
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.', 360, $this->source); })()), "name", [], "any", false, false, false, 360), "html", null, true);
echo "</li>
";
}
// line 362
echo "</ol>
";
// line 365
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.', 365, $this->source); })()), "ProductCategories", [], "any", false, false, false, 365))) {
// line 366
echo " ";
$context["categoryIds"] = [];
// line 367
echo " ";
$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.', 367, $this->source); })()), "ProductCategories", [], "any", false, false, false, 367));
foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
// line 368
echo " ";
$context["categoryIds"] = twig_array_merge((isset($context["categoryIds"]) || array_key_exists("categoryIds", $context) ? $context["categoryIds"] : (function () { throw new RuntimeError('Variable "categoryIds" does not exist.', 368, $this->source); })()), [0 => twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "CategoryId", [], "any", false, false, false, 368)]);
// line 369
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 370
echo " <div id=\"data-product-detail\" class=\"product-cat-";
echo twig_escape_filter($this->env, twig_join_filter((isset($context["categoryIds"]) || array_key_exists("categoryIds", $context) ? $context["categoryIds"] : (function () { throw new RuntimeError('Variable "categoryIds" does not exist.', 370, $this->source); })()), " product-cat-"), "html", null, true);
echo " product product-detail\">
";
} else {
// line 372
echo "<div id=\"data-product-detail\" class=\"product product-detail\">
";
}
// line 374
echo "<div class=\"product-photo\">
<ul class=\"product-photo__main\">
";
// line 376
$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.', 376, $this->source); })()), "ProductImage", [], "any", false, false, false, 376));
$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 377
echo "<li><a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html", null, true);
echo "\" data-lightbox=\"gallery\"><img alt=\"";
((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 377)) ? (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.', 377, $this->source); })()), "name", [], "any", false, false, false, 377), "html", null, true))) : (print ("")));
echo "\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html", null, true);
echo "\" id=\"data-item-photo-";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 377), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 377) > 1)) {
echo " loading=\"lazy\"";
}
echo " ></a></li>
";
$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 379
echo "<li><img alt=\"";
((twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 379)) ? (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.', 379, $this->source); })()), "name", [], "any", false, false, false, 379), "html", null, true))) : (print ("")));
echo "\" 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 "\" id=\"data-item-photo-1\"></li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductImage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 381
echo "</ul>
<div class=\"product-photo__bg\">
<ul class=\"product-photo__sub\">
";
// line 384
$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.', 384, $this->source); })()), "ProductImage", [], "any", false, false, false, 384));
$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 385
echo "<li data-index=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index0", [], "any", false, false, false, 385), "html", null, true);
echo "\"><img alt=\"\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($context["ProductImage"], "save_image"), "html", null, true);
echo "\" loading=\"lazy\"></li>
";
++$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 387
echo "</ul>
</div>
<!-- /.product-recommend-photo --></div>
<div class=\"product-content\">
<h1 id=\"data-product-name\" class=\"product__title\">";
// line 392
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.', 392, $this->source); })()), "name", [], "any", false, false, false, 392), "html", null, true);
echo "</h1>
";
// line 393
if ( !twig_test_empty($this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 393, $this->source); })()), "id", [], "any", false, false, false, 393), "wine_en"))) {
// line 394
echo "<p class=\"product__en\">
";
// line 395
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 395, $this->source); })()), "id", [], "any", false, false, false, 395), "wine_en"), "html", null, true);
echo "
</p>
";
}
// line 398
if (( !twig_test_empty($this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 398, $this->source); })()), "id", [], "any", false, false, false, 398), "wine_youryou")) || !twig_test_empty($this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 398, $this->source); })()), "id", [], "any", false, false, false, 398), "wine_year")))) {
// line 399
echo "<p class=\"product__size\">
";
// line 400
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 400, $this->source); })()), "id", [], "any", false, false, false, 400), "wine_youryou"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 400, $this->source); })()), "id", [], "any", false, false, false, 400), "wine_year"), "html", null, true);
echo "
</p>
";
}
// line 403
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.', 403, $this->source); })()), "description_detail", [], "any", false, false, false, 403))) {
// line 404
echo "<p class=\"product__text\">
";
// line 405
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.', 405, $this->source); })()), "description_detail", [], "any", false, false, false, 405));
echo "
</p>
";
}
// line 408
echo "
";
// line 409
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.', 409, $this->source); })()), "getPrice01IncTaxMin", [], "any", false, false, false, 409)) && twig_get_attribute($this->env, $this->source, ($context["Product"] ?? null), "getPrice02IncTaxMin", [], "any", true, true, false, 409))) {
// line 410
echo " ";
// line 411
echo " ";
$context["regularPrice"] = 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.', 411, $this->source); })()), "getPrice01IncTaxMin", [], "any", false, false, false, 411);
// line 412
echo " ";
$context["salePrice"] = 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.', 412, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 412);
// line 413
echo "
";
// line 415
echo " ";
$context["discountPercentage"] = ((((isset($context["regularPrice"]) || array_key_exists("regularPrice", $context) ? $context["regularPrice"] : (function () { throw new RuntimeError('Variable "regularPrice" does not exist.', 415, $this->source); })()) != 0)) ? (((((isset($context["regularPrice"]) || array_key_exists("regularPrice", $context) ? $context["regularPrice"] : (function () { throw new RuntimeError('Variable "regularPrice" does not exist.', 415, $this->source); })()) - (isset($context["salePrice"]) || array_key_exists("salePrice", $context) ? $context["salePrice"] : (function () { throw new RuntimeError('Variable "salePrice" does not exist.', 415, $this->source); })())) / (isset($context["regularPrice"]) || array_key_exists("regularPrice", $context) ? $context["regularPrice"] : (function () { throw new RuntimeError('Variable "regularPrice" does not exist.', 415, $this->source); })())) * 100)) : (0));
// line 416
echo "
";
// line 418
echo " <!--
";
// line 419
if (((isset($context["discountPercentage"]) || array_key_exists("discountPercentage", $context) ? $context["discountPercentage"] : (function () { throw new RuntimeError('Variable "discountPercentage" does not exist.', 419, $this->source); })()) > 0)) {
// line 420
echo " <p>";
echo twig_escape_filter($this->env, twig_number_format_filter($this->env, (isset($context["discountPercentage"]) || array_key_exists("discountPercentage", $context) ? $context["discountPercentage"] : (function () { throw new RuntimeError('Variable "discountPercentage" does not exist.', 420, $this->source); })()), 0), "html", null, true);
echo "% OFF</p>
";
}
// line 422
echo " -->
";
}
// line 424
echo "
<p class=\"product__price product__price-detail\">
<span id=\"data-product-price\">
";
// line 427
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.', 427, $this->source); })()), "hasProductClass", [], "any", false, false, false, 427)) {
// line 428
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.', 428, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 428) == 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.', 428, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, false, 428))) {
// line 429
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.', 429, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 429)), "html", null, true);
echo "
";
} else {
// line 431
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.', 431, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 431)), "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.', 431, $this->source); })()), "getPrice02IncTaxMax", [], "any", false, false, false, 431)), "html", null, true);
echo "
";
}
} else {
// line 434
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.', 434, $this->source); })()), "getPrice02IncTaxMin", [], "any", false, false, false, 434)), "html", null, true);
echo "
";
}
// line 436
echo "</span>
<span class=\"product__price-tax\">
(
";
// line 440
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.', 440, $this->source); })()), "hasProductClass", [], "any", false, false, false, 440)) {
// line 441
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.', 441, $this->source); })()), "getPrice02Min", [], "any", false, false, false, 441) == 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.', 441, $this->source); })()), "getPrice02Max", [], "any", false, false, false, 441))) {
// line 442
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.', 442, $this->source); })()), "getPrice02Min", [], "any", false, false, false, 442)), "html", null, true);
echo "
";
} else {
// line 444
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.', 444, $this->source); })()), "getPrice02Min", [], "any", false, false, false, 444)), "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.', 444, $this->source); })()), "getPrice02Max", [], "any", false, false, false, 444)), "html", null, true);
echo "
";
}
} else {
// line 447
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.', 447, $this->source); })()), "getPrice02Min", [], "any", false, false, false, 447)), "html", null, true);
echo "
";
}
// line 449
echo " )
</span>
</p>
<input type=\"hidden\" id=\"data-product-url\" value=\"https://wineshop.salond.jp/products/detail/";
// line 453
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.', 453, $this->source); })()), "id", [], "any", false, false, false, 453), "html", null, true);
echo "\">
<form action=\"";
// line 454
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.', 454, $this->source); })()), "id", [], "any", false, false, false, 454)]), "html", null, true);
echo "\" method=\"post\" id=\"form1\" name=\"form1\">
";
// line 455
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.', 455, $this->source); })()), "stock_find", [], "any", false, false, false, 455)) {
// line 456
echo "<div class=\"ec-productRole__actions\">
";
// line 457
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 457)) {
// line 458
echo "<div class=\"ec-select\">
";
// line 459
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.', 459, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 459), 'row');
echo "
";
// line 460
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.', 460, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 460), 'errors');
echo "
</div>
";
// line 462
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 462)) {
// line 463
echo "<div class=\"ec-select\">
";
// line 464
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.', 464, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 464), 'row');
echo "
";
// line 465
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.', 465, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 465), 'errors');
echo "
</div>
";
}
}
// line 469
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 470
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.', 470, $this->source); })()), "quantity", [], "any", false, false, false, 470), 'widget');
echo "
";
// line 471
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.', 471, $this->source); })()), "quantity", [], "any", false, false, false, 471), 'errors');
echo "
</div>
</div>
<div class=\"ec-productRole__btn\">
<button type=\"submit\" class=\"ec-blockBtn--action add-cart\">
";
// line 476
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
echo "
</button>
</div>
";
} else {
// line 480
echo "<div class=\"ec-productRole__btn\">
<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
";
// line 482
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
echo "
</button>
</div>
";
}
// line 486
echo "
";
// line 487
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.', 487, $this->source); })()), 'rest');
echo "
</form>
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap\">
<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
// line 492
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 493
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 496
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html", null, true);
echo "</span>
<a href=\"";
// line 497
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>
<!-- /.ec-modal --></div>
<!--
";
// line 504
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.', 504, $this->source); })()), "option_favorite_product", [], "any", false, false, false, 504)) {
// line 505
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.', 505, $this->source); })()), "id", [], "any", false, false, false, 505)]), "html", null, true);
echo "\" method=\"post\">
<div class=\"ec-productRole__btn\">
";
// line 507
if (((isset($context["is_favorite"]) || array_key_exists("is_favorite", $context) ? $context["is_favorite"] : (function () { throw new RuntimeError('Variable "is_favorite" does not exist.', 507, $this->source); })()) == false)) {
// line 508
echo "<button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
";
// line 509
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加"), "html", null, true);
echo "
</button>
";
} else {
// line 512
echo "<button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
disabled=\"disabled\">";
// line 513
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お気に入りに追加済です。"), "html", null, true);
echo "
</button>
";
}
// line 516
echo "</div>
</form>
";
}
// line 519
echo "-->
<dl class=\"product__spec\">
<dt>タイプ</dt>
<dd>
";
// line 524
$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.', 524, $this->source); })()), "ProductCategories", [], "any", false, false, false, 524));
foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
// line 525
echo " ";
$context["Category"] = twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 525);
// line 526
echo " ";
if (( !(null === twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 526, $this->source); })()), "Parent", [], "any", false, false, false, 526)) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 526, $this->source); })()), "Parent", [], "any", false, false, false, 526), "id", [], "any", false, false, false, 526) == 8))) {
// line 527
echo " <p>";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 527, $this->source); })()), "name", [], "any", false, false, false, 527), "html", null, true);
echo "</p>
";
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 530
echo "</dd>
<dt>品種</dt>
<dd>";
// line 532
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 532, $this->source); })()), "id", [], "any", false, false, false, 532), "wine_hinshu"), "html", null, true);
echo "</dd>
<dt>産地</dt>
<dd>";
// line 534
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 534, $this->source); })()), "id", [], "any", false, false, false, 534), "wine_sanchi"), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 534, $this->source); })()), "id", [], "any", false, false, false, 534), "wine_sanchi"), "html", null, true);
echo " </dd>
<dt>栽培/醸造</dt>
<dd>";
// line 536
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 536, $this->source); })()), "id", [], "any", false, false, false, 536), "wine_cultivation"), "html", null, true);
echo "</dd>
<dt>生産者</dt>
<dd>";
// line 538
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 538, $this->source); })()), "id", [], "any", false, false, false, 538), "wine_seisan"), "html", null, true);
echo "</dd>
<dt>インポーター</dt>
<dd>";
// line 540
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 540, $this->source); })()), "id", [], "any", false, false, false, 540), "wine_importer"), "html", null, true);
echo " </dd>
<dt>アルコール度数</dt>
<dd>";
// line 542
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 542, $this->source); })()), "id", [], "any", false, false, false, 542), "wine_per"), "html", null, true);
echo "</dd>
</dl>
<!-- /.product-content --></div>
<!-- /.product --></div>
<section class=\"product-profile product-section\">
<h2 class=\"product-profile__title product-section__title\"><span>01.</span>商品の紹介</h2>
<div class=\"product-profile-content\">
";
// line 552
if ( !twig_test_empty($this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 552, $this->source); })()), "id", [], "any", false, false, false, 552), "wine_copy"))) {
// line 553
echo "<p class=\"product-profile-content__lede\">
";
// line 554
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 554, $this->source); })()), "id", [], "any", false, false, false, 554), "wine_copy"), "html", null, true);
echo "
</p>
";
}
// line 557
echo "<p class=\"product-profile-content__text\">
";
// line 558
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 558, $this->source); })()), "id", [], "any", false, false, false, 558), "wine_setsumei"), "html", null, true);
echo "
</p>
<!-- /.product-profile-content --></div>
";
// line 562
if ( !twig_test_empty($this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 562, $this->source); })()), "id", [], "any", false, false, false, 562), "wine_dish"))) {
// line 563
echo "<section class=\"product-meal\">
<h3 class=\"product-meal__title\">料理を合わせるなら</h3>
<p class=\"product-meal__list\">
";
// line 566
echo twig_escape_filter($this->env, $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 566, $this->source); })()), "id", [], "any", false, false, false, 566), "wine_dish"), "html", null, true);
echo "
<!-- /.product-meal__list --></p>
</section>
";
}
// line 570
echo "<!-- /.product-section --></section>
";
// line 573
$context["wineScene"] = $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 573, $this->source); })()), "id", [], "any", false, false, false, 573), "wine_scene");
// line 574
if (((isset($context["wineScene"]) || array_key_exists("wineScene", $context) ? $context["wineScene"] : (function () { throw new RuntimeError('Variable "wineScene" does not exist.', 574, $this->source); })()) == "しっかり冷やしてアウトドアシーンに")) {
// line 575
echo "<section class=\"product-scene product-section\">
<h2 class=\"product-scene__title product-section__title\"><span>02.</span>おすすめのシーン</h2>
<div class=\"product-scene-content product-scene-content__scene1\">
<div class=\"product-scene-content__heading\">SCENE</div>
<div class=\"product-scene-content__title\">_LUNCH WITH MY FRIENDS</div>
<p class=\"product-scene-content__text\">
気分のいいお昼に親友との<br>
ランチにほろ酔い気分
</p>
<!-- /.product-scene-content--></div>
<!-- /.product-section --></section>
";
}
// line 589
echo "
<section class=\"product-gift product-section\">
<h2 class=\"product-gift__title product-section__title\"><span>03.</span>ギフトに</h2>
<div class=\"product-gift-content\">
<p class=\"product-gift-content__lede\">
あの人にも贈りたい<br>
Salon de Natureのギフトラインナップ。
</p>
<p class=\"product-gift-content__text\">
センスのいいあの人へのプレゼントに。<br>
友人とのホームパーティの手土産に。<br>
大切な人への特別な日の贈り物に。<br>
<br>
ギフト箱、手提げ袋、メッセージカード、相手やシーンに合わせた様々なギフトの形をご用意しています。
</p>
<!-- /.product-gift-content--></div>
<ul class=\"product-gift__item\">
<li>
<img src=\"/html/user_data/assets/img/product/detail/gift/pic--01.jpg\" alt=\"ギフトボックス\">
<strong>ギフトボックス</strong>
<span>¥550 (税込)</span>
</li>
<li>
<img src=\"/html/user_data/assets/img/product/detail/gift/pic--02.jpg\" alt=\"ギフトボックス\">
<strong>手提げショッパー袋</strong>
<span>¥220 (税込)</span>
</li>
</ul>
<!-- /.product-section --></section>
";
// line 625
$context["wine_relation"] = $this->extensions['Plugin\ProductField\Twig\Extension\EccubeExtension']->getProduct_field(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.', 625, $this->source); })()), "id", [], "any", false, false, false, 625), "wine_relation");
// line 626
echo "
";
// line 627
if ( !twig_test_empty((isset($context["wine_relation"]) || array_key_exists("wine_relation", $context) ? $context["wine_relation"] : (function () { throw new RuntimeError('Variable "wine_relation" does not exist.', 627, $this->source); })()))) {
// line 628
echo "
<section class=\"product-relation\">
<h2 class=\"product-relation__title\">OTHERS LIST <a href=\"https://wineshop.salond.jp/products/list\"><img alt=\"詳細へ\" src=\"/html/user_data/assets/img/product/detail/relation/pic--arrow.svg\"></a></h2>
<p class=\"product-relation__area\">
Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir , Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir , Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir , Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir ,
</p>
<ul class=\"product-relatioin-list\">
";
// line 636
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["wine_relation"]) || array_key_exists("wine_relation", $context) ? $context["wine_relation"] : (function () { throw new RuntimeError('Variable "wine_relation" does not exist.', 636, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["add_loop"]) {
// line 637
echo " <li>
<a href=\"";
// line 638
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["add_loop"], "id", [], "any", false, false, false, 638)]), "html", null, true);
echo "\">
<img class=\"product-list__pic\" src=\"";
// line 639
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["add_loop"], "MainListImage", [], "any", false, false, false, 639)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["add_loop"], "name", [], "any", false, false, false, 639), "html", null, true);
echo "\">
<p class=\"product-list__title\">
";
// line 641
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["add_loop"], "name", [], "any", false, false, false, 641), "html", null, true);
echo "
</p>
<span class=\"product-list__price\">
";
// line 644
if (twig_get_attribute($this->env, $this->source, $context["add_loop"], "hasProductClass", [], "any", false, false, false, 644)) {
// line 645
if ((twig_get_attribute($this->env, $this->source, $context["add_loop"], "getPrice02IncTaxMin", [], "any", false, false, false, 645) == twig_get_attribute($this->env, $this->source, $context["add_loop"], "getPrice02IncTaxMax", [], "any", false, false, false, 645))) {
// line 646
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["add_loop"], "getPrice02IncTaxMin", [], "any", false, false, false, 646)), "html", null, true);
echo "
";
} else {
// line 648
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["add_loop"], "getPrice02IncTaxMin", [], "any", false, false, false, 648)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["add_loop"], "getPrice02IncTaxMax", [], "any", false, false, false, 648)), "html", null, true);
echo "
";
}
// line 650
echo " ";
} else {
// line 651
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["add_loop"], "getPrice02IncTaxMin", [], "any", false, false, false, 651)), "html", null, true);
echo "
";
}
// line 653
echo " <span>(税込み)</span>
</span>
</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['add_loop'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 658
echo "
<!-- /.product-list-wrap --></ul>
</section>
";
}
// line 663
echo "
";
// line 665
echo twig_include($this->env, $context, "Block/subsc.twig");
echo "
";
// line 667
echo twig_include($this->env, $context, "Block/knowwine.twig");
echo "
<!-- /.product-container --></div>
<!-- /.product-red --></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 ( 1297 => 667, 1292 => 665, 1288 => 663, 1281 => 658, 1271 => 653, 1265 => 651, 1262 => 650, 1254 => 648, 1248 => 646, 1246 => 645, 1244 => 644, 1238 => 641, 1231 => 639, 1227 => 638, 1224 => 637, 1220 => 636, 1210 => 628, 1208 => 627, 1205 => 626, 1203 => 625, 1165 => 589, 1149 => 575, 1147 => 574, 1145 => 573, 1140 => 570, 1133 => 566, 1128 => 563, 1126 => 562, 1119 => 558, 1116 => 557, 1110 => 554, 1107 => 553, 1105 => 552, 1092 => 542, 1087 => 540, 1082 => 538, 1077 => 536, 1070 => 534, 1065 => 532, 1061 => 530, 1051 => 527, 1048 => 526, 1045 => 525, 1041 => 524, 1034 => 519, 1029 => 516, 1023 => 513, 1020 => 512, 1014 => 509, 1011 => 508, 1009 => 507, 1003 => 505, 1001 => 504, 989 => 497, 985 => 496, 979 => 493, 975 => 492, 967 => 487, 964 => 486, 957 => 482, 953 => 480, 946 => 476, 938 => 471, 934 => 470, 929 => 469, 922 => 465, 918 => 464, 915 => 463, 913 => 462, 908 => 460, 904 => 459, 901 => 458, 899 => 457, 896 => 456, 894 => 455, 890 => 454, 886 => 453, 880 => 449, 874 => 447, 865 => 444, 859 => 442, 857 => 441, 855 => 440, 849 => 436, 843 => 434, 834 => 431, 828 => 429, 826 => 428, 824 => 427, 819 => 424, 815 => 422, 809 => 420, 807 => 419, 804 => 418, 801 => 416, 798 => 415, 795 => 413, 792 => 412, 789 => 411, 787 => 410, 785 => 409, 782 => 408, 776 => 405, 773 => 404, 771 => 403, 763 => 400, 760 => 399, 758 => 398, 752 => 395, 749 => 394, 747 => 393, 743 => 392, 736 => 387, 717 => 385, 700 => 384, 695 => 381, 684 => 379, 658 => 377, 640 => 376, 636 => 374, 632 => 372, 626 => 370, 620 => 369, 617 => 368, 612 => 367, 609 => 366, 607 => 365, 603 => 362, 597 => 360, 590 => 358, 577 => 356, 572 => 355, 569 => 354, 564 => 353, 562 => 352, 556 => 347, 554 => 346, 547 => 341, 537 => 340, 519 => 331, 515 => 330, 511 => 329, 507 => 328, 503 => 326, 497 => 324, 495 => 323, 490 => 322, 487 => 321, 477 => 319, 463 => 317, 455 => 316, 437 => 315, 432 => 313, 409 => 293, 399 => 286, 369 => 259, 364 => 256, 355 => 250, 351 => 248, 349 => 247, 346 => 246, 337 => 240, 333 => 238, 331 => 237, 207 => 115, 199 => 113, 197 => 112, 192 => 110, 189 => 109, 187 => 108, 173 => 97, 170 => 96, 160 => 95, 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>
.slick-slider {
margin-bottom: 30px;
}
.slick-dots {
position: absolute;
bottom: -45px;
display: block;
width: 100%;
padding: 0;
list-style: none;
text-align: center;
}
.slick-dots li {
position: relative;
display: inline-block;
width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
}
.slick-dots li button {
font-size: 0;
line-height: 0;
display: block;
width: 20px;
height: 20px;
padding: 5px;
cursor: pointer;
color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
opacity: 1;
}
.slick-dots li button:before {
content: \" \";
line-height: 20px;
position: absolute;
top: 0;
left: 0;
width: 12px;
height: 12px;
text-align: center;
opacity: .25;
background-color: black;
border-radius: 50%;
}
.slick-dots li.slick-active button:before {
opacity: .75;
background-color: black;
}
.slick-dots li button.thumbnail img {
width: 0;
height: 0;
}
</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);
}
});
// Core Web Vital の Cumulative Layout Shift(CLS)対策のため
// img タグに width, height が付与されている.
// 630px 未満の画面サイズでは縦横比が壊れるための対策
// see https://github.com/EC-CUBE/ec-cube/pull/5023
\$('.ec-grid2__cell').hide();
var removeSize = function () {
\$('.slide-item').height('');
\$('.slide-item img')
.removeAttr('width')
.removeAttr('height')
.removeAttr('style');
};
var slickInitial = function(slick) {
\$('.ec-grid2__cell').fadeIn(1500);
var baseHeight = \$(slick.target).height();
var baseWidth = \$(slick.target).width();
var rate = baseWidth / baseHeight;
\$('.slide-item').height(baseHeight * rate); // 余白を削除する
// transform を使用することでCLSの影響を受けないようにする
\$('.slide-item img')
.css(
{
'transform-origin': 'top left',
'transform': 'scaleY(' + rate + ')',
'transition': 'transform .1s'
}
);
// 正しいサイズに近くなったら属性を解除する
setTimeout(removeSize, 500);
};
\$('.item_visual').on('init', slickInitial);
// リサイズ時は CLS の影響を受けないため属性を解除する
\$(window).resize(removeSize);
\$('.item_visual').slick({
dots: false,
arrows: false,
responsive: [{
breakpoint: 768,
settings: {
dots: true
}
}]
});
\$('.slideThumb').on('click', function() {
var index = \$(this).attr('data-index');
\$('.item_visual').slick('slickGoTo', index, false);
})
if (window.matchMedia('(max-width: 699px)').matches) {
\$('.product-photo__main').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: true,
autoplay :false,
pauseOnHover : false,
fade: true,
asNavFor: '.product-photo__sub'
});
\$('.product-photo__sub').slick({
slidesToShow: 100,
slidesToScroll: 1,
arrows: false,
dots: false,
centerMode: false,
focusOnSelect: true ,
variableWidth:true,
asNavFor: '.product-photo__main'
});
\$('.product-relatioin-list').slick({
arrows: false,
slidesToShow: 2,
dots: true,
});
}else{
\$('.product-photo__main').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
autoplay :false,
pauseOnHover : false,
fade: true,
asNavFor: '.product-photo__sub'
});
\$('.product-photo__sub').slick({
slidesToShow: 100,
slidesToScroll: 1,
arrows: false,
dots: false,
centerMode: false,
focusOnSelect: true ,
variableWidth:true,
asNavFor: '.product-photo__main'
});
\$('.product-relatioin-list').slick({
infinite: false,
arrows: false,
dots: false,
speed: 300,
autoplaySpeed: 5000,
slidesToShow: 1,
autoplay:false,
variableWidth: true
});
}
});
</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>
<script src=\"/html/user_data/assets/js/lightbox/js/lightbox.min.js\"></script>
<link rel=\"stylesheet\" href=\"/html/user_data/assets/js//lightbox/css/lightbox.css\">
{% endblock %}
{% block main %}
<div class=\"product-detail-body\">
{% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
<div class=\"product-container layout-container contents\">
<ol class=\"topic-path\">
{# 関連カテゴリ #}
{% if Product.ProductCategories is not empty %}
{% for ProductCategory in Product.ProductCategories %}
{% if ProductCategory.Category.Parent and ProductCategory.Category.Parent.id == 8 %}
{% for Category in ProductCategory.Category.path %}
<li><a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">{{ Category.name }}</a></li>
{% endfor %}
{% endif -%}
{% endfor %}
<li>{{ Product.name }}</li>
{% endif %}
</ol>
{# 関連カテゴリ #}
{% if Product.ProductCategories is not empty %}
{% set categoryIds = [] %}
{% for ProductCategory in Product.ProductCategories %}
{% set categoryIds = categoryIds|merge([ProductCategory.CategoryId]) %}
{% endfor %}
<div id=\"data-product-detail\" class=\"product-cat-{{ categoryIds|join(' product-cat-') }} product product-detail\">
{% else %}
<div id=\"data-product-detail\" class=\"product product-detail\">
{% endif %}
<div class=\"product-photo\">
<ul class=\"product-photo__main\">
{% for ProductImage in Product.ProductImage %}
<li><a href=\"{{ asset(ProductImage, 'save_image') }}\" data-lightbox=\"gallery\"><img alt=\"{{ loop.first ? Product.name : '' }}\" src=\"{{ asset(ProductImage, 'save_image') }}\" id=\"data-item-photo-{{ loop.index }}\" {% if loop.index > 1 %} loading=\"lazy\"{% endif %} ></a></li>
{% else %}
<li><img alt=\"{{ loop.first ? Product.name : '' }}\" src=\"{{ asset(''|no_image_product, 'save_image') }}\" id=\"data-item-photo-1\"></li>
{% endfor %}
</ul>
<div class=\"product-photo__bg\">
<ul class=\"product-photo__sub\">
{% for ProductImage in Product.ProductImage %}
<li data-index=\"{{ loop.index0 }}\"><img alt=\"\" src=\"{{ asset(ProductImage, 'save_image') }}\" loading=\"lazy\"></li>
{% endfor %}
</ul>
</div>
<!-- /.product-recommend-photo --></div>
<div class=\"product-content\">
<h1 id=\"data-product-name\" class=\"product__title\">{{ Product.name }}</h1>
{% if getProduct_field(Product.id , \"wine_en\") is not empty %}
<p class=\"product__en\">
{{ getProduct_field(Product.id , \"wine_en\") }}
</p>
{% endif %}
{% if getProduct_field(Product.id , \"wine_youryou\") is not empty or getProduct_field(Product.id , \"wine_year\") is not empty %}
<p class=\"product__size\">
{{ getProduct_field(Product.id , \"wine_youryou\") }} {{ getProduct_field(Product.id , \"wine_year\") }}
</p>
{% endif %}
{% if Product.description_detail is not empty %}
<p class=\"product__text\">
{{ Product.description_detail|raw|nl2br }}
</p>
{% endif %}
{% if Product.getPrice01IncTaxMin is not empty and Product.getPrice02IncTaxMin is defined %}
{# 通常価格と販売価格の取得 #}
{% set regularPrice = Product.getPrice01IncTaxMin %}
{% set salePrice = Product.getPrice02IncTaxMin %}
{# オフ率の計算 #}
{% set discountPercentage = (regularPrice != 0) ? ((regularPrice - salePrice) / regularPrice) * 100 : 0 %}
{# オフ率が0%でない場合のみ表示 #}
<!--
{% if discountPercentage > 0 %}
<p>{{ discountPercentage|number_format(0) }}% OFF</p>
{% endif %}
-->
{% endif %}
<p class=\"product__price product__price-detail\">
<span id=\"data-product-price\">
{% if Product.hasProductClass -%}
{% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
{{ Product.getPrice02IncTaxMin|price }}
{% else %}
{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ Product.getPrice02IncTaxMin|price }}
{% endif %}
</span>
<span class=\"product__price-tax\">
(
{% if Product.hasProductClass -%}
{% if Product.getPrice02Min == Product.getPrice02Max %}
{{ Product.getPrice02Min|price }}
{% else %}
{{ Product.getPrice02Min|price }} ~ {{ Product.getPrice02Max|price }}
{% endif %}
{% else %}
{{ Product.getPrice02Min|price }}
{% endif %}
)
</span>
</p>
<input type=\"hidden\" id=\"data-product-url\" value=\"https://wineshop.salond.jp/products/detail/{{Product.id}}\">
<form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form1\" name=\"form1\">
{% if Product.stock_find %}
<div class=\"ec-productRole__actions\">
{% 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-blockBtn--action add-cart\">
{{ 'カートに入れる'|trans }}
</button>
</div>
{% else %}
<div class=\"ec-productRole__btn\">
<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
{{ 'ただいま品切れ中です。'|trans }}
</button>
</div>
{% endif %}
{{ form_rest(form) }}
</form>
<div class=\"ec-modal\">
<div class=\"ec-modal-overlay\">
<div class=\"ec-modal-wrap\">
<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>
<!-- /.ec-modal --></div>
<!--
{% if BaseInfo.option_favorite_product %}
<form action=\"{{ url('product_add_favorite', {id:Product.id}) }}\" method=\"post\">
<div class=\"ec-productRole__btn\">
{% if is_favorite == false %}
<button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\">
{{ 'お気に入りに追加'|trans }}
</button>
{% else %}
<button type=\"submit\" id=\"favorite\" class=\"ec-blockBtn--cancel\"
disabled=\"disabled\">{{ 'お気に入りに追加済です。'|trans }}
</button>
{% endif %}
</div>
</form>
{% endif %}
-->
<dl class=\"product__spec\">
<dt>タイプ</dt>
<dd>
{% for ProductCategory in Product.ProductCategories %}
{% set Category = ProductCategory.Category %}
{% if Category.Parent is not null and Category.Parent.id == 8 %}
<p>{{ Category.name }}</p>
{% endif %}
{% endfor %}
</dd>
<dt>品種</dt>
<dd>{{ getProduct_field(Product.id , \"wine_hinshu\") }}</dd>
<dt>産地</dt>
<dd>{{ getProduct_field(Product.id , \"wine_sanchi\") }} | {{ getProduct_field(Product.id , \"wine_sanchi\") }} </dd>
<dt>栽培/醸造</dt>
<dd>{{ getProduct_field(Product.id , \"wine_cultivation\") }}</dd>
<dt>生産者</dt>
<dd>{{ getProduct_field(Product.id , \"wine_seisan\") }}</dd>
<dt>インポーター</dt>
<dd>{{ getProduct_field(Product.id , \"wine_importer\") }} </dd>
<dt>アルコール度数</dt>
<dd>{{ getProduct_field(Product.id , \"wine_per\") }}</dd>
</dl>
<!-- /.product-content --></div>
<!-- /.product --></div>
<section class=\"product-profile product-section\">
<h2 class=\"product-profile__title product-section__title\"><span>01.</span>商品の紹介</h2>
<div class=\"product-profile-content\">
{% if getProduct_field(Product.id , \"wine_copy\") is not empty %}
<p class=\"product-profile-content__lede\">
{{ getProduct_field(Product.id , \"wine_copy\") }}
</p>
{% endif %}
<p class=\"product-profile-content__text\">
{{ getProduct_field(Product.id , \"wine_setsumei\") }}
</p>
<!-- /.product-profile-content --></div>
{% if getProduct_field(Product.id , \"wine_dish\") is not empty %}
<section class=\"product-meal\">
<h3 class=\"product-meal__title\">料理を合わせるなら</h3>
<p class=\"product-meal__list\">
{{ getProduct_field(Product.id , \"wine_dish\") }}
<!-- /.product-meal__list --></p>
</section>
{% endif %}
<!-- /.product-section --></section>
{% set wineScene = getProduct_field(Product.id,\"wine_scene\") %}
{% if wineScene == 'しっかり冷やしてアウトドアシーンに' %}
<section class=\"product-scene product-section\">
<h2 class=\"product-scene__title product-section__title\"><span>02.</span>おすすめのシーン</h2>
<div class=\"product-scene-content product-scene-content__scene1\">
<div class=\"product-scene-content__heading\">SCENE</div>
<div class=\"product-scene-content__title\">_LUNCH WITH MY FRIENDS</div>
<p class=\"product-scene-content__text\">
気分のいいお昼に親友との<br>
ランチにほろ酔い気分
</p>
<!-- /.product-scene-content--></div>
<!-- /.product-section --></section>
{% endif %}
<section class=\"product-gift product-section\">
<h2 class=\"product-gift__title product-section__title\"><span>03.</span>ギフトに</h2>
<div class=\"product-gift-content\">
<p class=\"product-gift-content__lede\">
あの人にも贈りたい<br>
Salon de Natureのギフトラインナップ。
</p>
<p class=\"product-gift-content__text\">
センスのいいあの人へのプレゼントに。<br>
友人とのホームパーティの手土産に。<br>
大切な人への特別な日の贈り物に。<br>
<br>
ギフト箱、手提げ袋、メッセージカード、相手やシーンに合わせた様々なギフトの形をご用意しています。
</p>
<!-- /.product-gift-content--></div>
<ul class=\"product-gift__item\">
<li>
<img src=\"/html/user_data/assets/img/product/detail/gift/pic--01.jpg\" alt=\"ギフトボックス\">
<strong>ギフトボックス</strong>
<span>¥550 (税込)</span>
</li>
<li>
<img src=\"/html/user_data/assets/img/product/detail/gift/pic--02.jpg\" alt=\"ギフトボックス\">
<strong>手提げショッパー袋</strong>
<span>¥220 (税込)</span>
</li>
</ul>
<!-- /.product-section --></section>
{% set wine_relation = getProduct_field(Product.id,\"wine_relation\") %}
{% if wine_relation is not empty %}
<section class=\"product-relation\">
<h2 class=\"product-relation__title\">OTHERS LIST <a href=\"https://wineshop.salond.jp/products/list\"><img alt=\"詳細へ\" src=\"/html/user_data/assets/img/product/detail/relation/pic--arrow.svg\"></a></h2>
<p class=\"product-relation__area\">
Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir , Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir , Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir , Gamay , Cinsault , Lambrusco , Nebbiolo , Primitivo , Pinot Noir ,
</p>
<ul class=\"product-relatioin-list\">
{% for add_loop in wine_relation %}
<li>
<a href=\"{{ url('product_detail', {'id': add_loop.id}) }}\">
<img class=\"product-list__pic\" src=\"{{ asset(add_loop.MainListImage|no_image_product, 'save_image') }}\" alt=\"{{ add_loop.name }}\">
<p class=\"product-list__title\">
{{ add_loop.name }}
</p>
<span class=\"product-list__price\">
{% if add_loop.hasProductClass -%}
{% if add_loop.getPrice02IncTaxMin == add_loop.getPrice02IncTaxMax %}
{{ add_loop.getPrice02IncTaxMin|price }}
{% else %}
{{ add_loop.getPrice02IncTaxMin|price }} ~ {{ add_loop.getPrice02IncTaxMax|price }}
{% endif %}
{% else %}
{{ add_loop.getPrice02IncTaxMin|price }}
{% endif %}
<span>(税込み)</span>
</span>
</a>
</li>
{% endfor %}
<!-- /.product-list-wrap --></ul>
</section>
{% endif %}
{{ include('Block/subsc.twig') }}
{{ include('Block/knowwine.twig') }}
<!-- /.product-container --></div>
<!-- /.product-red --></div>
{% endblock %}", "Product/detail.twig", "/home/xs962133/salond.jp/public_html/wineshop.salond.jp/app/template/default/Product/detail.twig");
}
}