exception |
Twig\Error\RuntimeError {#6502
-lineno: 723
-name: "Product/detail.twig"
-rawMessage: "Impossible to access an attribute ("id") on a null variable."
-sourcePath: "/home/xs538259/exterior-plus.jp/public_html/app/template/default/Product/detail.twig"
-sourceCode: """
{#\n
This file is part of EC-CUBE\n
\n
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.\n
\n
http://www.ec-cube.co.jp/\n
\n
For the full copyright and license information, please view the LICENSE\n
file that was distributed with this source code.\n
#}\n
{% extends 'default_frame.twig' %}\n
\n
{% set body_class = 'product_page' %}\n
\n
{% block stylesheet %}\n
<style>\n
\n
.slick-slider {\n
margin-bottom: 10px;\n
\t\t\tmargin-top: -20px;\n
}\n
\n
.slick-dots {\n
position: absolute;\n
bottom: -45px;\n
display: block;\n
width: 100%;\n
padding: 0;\n
list-style: none;\n
text-align: center;\n
}\n
\n
.slick-dots li {\n
position: relative;\n
display: inline-block;\n
width: 20px;\n
height: 20px;\n
margin: 0 5px;\n
padding: 0;\n
\n
cursor: pointer;\n
}\n
\n
.slick-dots li button {\n
font-size: 0;\n
line-height: 0;\n
display: block;\n
width: 20px;\n
height: 20px;\n
padding: 5px;\n
cursor: pointer;\n
color: transparent;\n
border: 0;\n
outline: none;\n
background: transparent;\n
}\n
\n
.slick-dots li button:hover,\n
.slick-dots li button:focus {\n
outline: none;\n
}\n
\n
.slick-dots li button:hover:before,\n
.slick-dots li button:focus:before {\n
opacity: 1;\n
}\n
\n
.slick-dots li button:before {\n
content: " ";\n
line-height: 20px;\n
position: absolute;\n
top: 0;\n
left: 0;\n
width: 12px;\n
height: 12px;\n
text-align: center;\n
opacity: .25;\n
background-color: black;\n
border-radius: 50%;\n
\n
}\n
\n
.slick-dots li.slick-active button:before {\n
opacity: .75;\n
background-color: black;\n
}\n
\n
.slick-dots li button.thumbnail img {\n
width: 0;\n
height: 0;\n
}\n
\n
</style>\n
<link rel="stylesheet" href="/html/user_data/js/style.css">\n
<link rel="stylesheet" href="/html/plugins/icheck-bootstrap/icheck-bootstrap.min.css">\n
{% endblock %}\n
\n
{% block javascript %}\n
\n
<script>\n
eccube.classCategories = {{ class_categories_as_json(Product)|raw }};\n
\n
// 規格2に選択肢を割り当てる。\n
function fnSetClassCategories(form, classcat_id2_selected) {\n
var $form = $(form);\n
var product_id = $form.find('input[name=product_id]').val();\n
var $sele1 = $form.find('select[name=classcategory_id1]');\n
var $sele2 = $form.find('select[name=classcategory_id2]');\n
eccube.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);\n
}\n
\n
{% if form.classcategory_id2 is defined %}\n
fnSetClassCategories(\n
$('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}\n
);\n
{% elseif form.classcategory_id1 is defined %}\n
eccube.checkStock($('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);\n
{% endif %}\n
</script>\n
<script>\n
$(function() {\n
// bfcache無効化\n
$(window).bind('pageshow', function(event) {\n
if (event.originalEvent.persisted) {\n
location.reload(true);\n
}\n
});\n
\n
// Core Web Vital の Cumulative Layout Shift(CLS)対策のため\n
// img タグに width, height が付与されている.\n
// 630px 未満の画面サイズでは縦横比が壊れるための対策\n
// see https://github.com/EC-CUBE/ec-cube/pull/5023\n
$('.ec-grid2__cell').hide();\n
var removeSize = function () {\n
$('.slide-item').height('');\n
$('.slide-item img')\n
.removeAttr('width')\n
.removeAttr('height')\n
.removeAttr('style');\n
\n
};\n
var slickInitial = function(slick) {\n
$('.ec-grid2__cell').fadeIn(1500);\n
var baseHeight = $(slick.target).height();\n
var baseWidth = $(slick.target).width();\n
var rate = baseWidth / baseHeight;\n
\t\t\t\tif(baseHeight * rate < 400){\n
\t $('.slide-item').height(baseHeight * rate); // 余白を削除する\n
\t\t\t\t}else{\n
\t $('.slide-item').height(400); // 余白を削除する\n
\t\t\t\t}\n
// transform を使用することでCLSの影響を受けないようにする\n
$('.slide-item img')\n
.css(\n
{\n
'transform-origin': 'top left',\n
'transform': 'scaleY(' + rate + ')',\n
'transition': 'transform .1s'\n
}\n
);\n
// 正しいサイズに近くなったら属性を解除する\n
setTimeout(removeSize, 500);\n
};\n
$('.item_visual').on('init', slickInitial);\n
// リサイズ時は CLS の影響を受けないため属性を解除する\n
$(window).resize(removeSize);\n
$('.item_visual').slick({\n
dots: false,\n
arrows: true,\n
responsive: [{\n
breakpoint: 768,\n
settings: {\n
dots: true,\n
\t\tarrows: false\n
}\n
}]\n
});\n
\n
$('.slideThumb').on('click', function() {\n
var index = $(this).attr('data-index');\n
$('.item_visual').slick('slickGoTo', index, false);\n
})\n
});\n
\n
</script>\n
<script>\n
$(function() {\n
$('.add-cart').on('click', function(event) {\n
{% if form.classcategory_id1 is defined %}\n
// 規格1フォームの必須チェック\n
if ($('#classcategory_id1').val() == '__unselected' || $('#classcategory_id1').val() == '') {\n
$('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');\n
return true;\n
} else {\n
$('#classcategory_id1')[0].setCustomValidity('');\n
}\n
{% endif %}\n
\n
{% if form.classcategory_id2 is defined %}\n
// 規格2フォームの必須チェック\n
if ($('#classcategory_id2').val() == '__unselected' || $('#classcategory_id2').val() == '') {\n
$('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');\n
return true;\n
} else {\n
$('#classcategory_id2')[0].setCustomValidity('');\n
}\n
{% endif %}\n
\n
// 個数フォームのチェック\n
if ($('#quantity').val() < 1) {\n
$('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');\n
return true;\n
} else {\n
$('#quantity')[0].setCustomValidity('');\n
}\n
\n
event.preventDefault();\n
$form = $('#form1');\n
$.ajax({\n
url: $form.attr('action'),\n
type: $form.attr('method'),\n
data: $form.serialize(),\n
dataType: 'json',\n
beforeSend: function(xhr, settings) {\n
// Buttonを無効にする\n
$('.add-cart').prop('disabled', true);\n
}\n
}).done(function(data) {\n
// レスポンス内のメッセージをalertで表示\n
$.each(data.messages, function() {\n
$('#ec-modal-header').text(this);\n
});\n
\n
$('.ec-modal').show()\n
\n
// カートブロックを更新する\n
$.ajax({\n
url: "{{ url('block_cart') }}",\n
type: 'GET',\n
dataType: 'html'\n
}).done(function(html) {\n
$('.ec-headerRole__cart').html(html);\n
});\n
}).fail(function(data) {\n
alert('{{ 'カートへの追加に失敗しました。'|trans }}');\n
}).always(function(data) {\n
// Buttonを有効にする\n
$('.add-cart').prop('disabled', false);\n
});\n
});\n
});\n
\n
$('.ec-modal-wrap').on('click', function(e) {\n
// モーダル内の処理は外側にバブリングさせない\n
e.stopPropagation();\n
});\n
$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {\n
$('.ec-modal').hide()\n
});\n
\n
\n
\t\tvar pw = "";\n
\t\tvar pd = "";\n
\t\tvar ph = "";\n
\t\tvar pm = "";\n
\t\tvar pc = "";\n
\t\tvar op0 = "";\n
\t\tvar op1 = "";\n
\t\tvar op2 = "";\n
\t\tvar op3 = "";\n
\t\tvar op4 = "";\n
\t\tvar op5 = "";\n
\t\tvar op6 = "";\n
\t\tvar op7 = "";\n
\t\tvar op8 = "";\n
\t\tvar op9 = "";\n
\t\tvar op10 = "";\n
\n
\t\tconst formatter = new Intl.NumberFormat('ja-JP');\n
\n
\t\tfunction mitsumori_simulation(type , value_id){\n
\t\t\tvar pp = {{ pp|raw }};\n
\t\t\tif(type == "pw"){\n
\t\t\t\tpw = $('#'+value_id).val();\n
\t\t\t}\n
\t\t\tif(type == "pd"){\n
\t\t\t\tpd = $('#'+value_id).val();\n
\t\t\t}\n
\t\t\tif(type == "ph"){\n
\t\t\t\tph = $('#'+value_id).val();\n
\t\t\t}\n
\t\t\tif(type == "pm"){\n
\t\t\t\tpm = $('#'+value_id).val();\n
\t\t\t}\n
\t\t\tif(type == "pc"){\n
\t\t\t\tpc = $('#'+value_id).val();\n
\t\t\t}\n
\t\t\tif(type == "op0"){ op0 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op1"){ op1 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op2"){ op2 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op3"){ op3 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op4"){ op4 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op5"){ op5 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op6"){ op6 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op7"){ op7 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op8"){ op8 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op9"){ op9 = $('#'+value_id).val(); }\n
\t\t\tif(type == "op10"){ op10 = $('#'+value_id).val(); }\n
\n
\t\t\tif(pm == ""){\n
\t\t\t\t$('#mitsumori_message').text("素材を選択してください");\n
\t\t\t}\n
\t\t\tif(ph == ""){\n
\t\t\t\t$('#mitsumori_message').text("高さを選択してください");\n
\t\t\t}\n
\t\t\tif(pd == ""){\n
\t\t\t\t$('#mitsumori_message').text("奥行きを選択してください");\n
\t\t\t}\n
\t\t\tif(pw == ""){\n
\t\t\t\t$('#mitsumori_message').text("幅を選択してください");\n
\t\t\t}\n
\t\t\tif(pc == ""){\n
\t\t\t\t$('#mitsumori_message').text("カラーを選択してください");\n
\t\t\t\t$('#mitsumori_btn').hide();\n
\t\t\t\t$('#mitsumori_goukei').text("---円");\n
\t\t\t\t$('#mitsumori_off').text("---円");\n
\t\t\t\t$('#mitsumori_price').text("---円");\n
\t\t\t\t$('#maker_price').text("---円");\n
\t\t\t\t$('#mitsumori_ct').text("---円");\n
\t\t\t\t$('#mitsumori_option').text("---円");\n
\t\t\t}\n
\t\t\tif(pw != "" && pd != "" && ph != "" && pm != "" && pc != ""){\n
\t\t\t\t$('#mitsumori_btn').show();\n
\t\t\t\t\n
\t\t\t\tpp.forEach((el) => {\n
\t\t\t\t if(pw == el.w && pd == el.d && ph == el.h && pm == el.m && pc == el.c){\n
\n
\t\t\t\t\tif(op0 == "商品購入のみ" || op1 == "商品購入のみ" || op2 == "商品購入のみ" || op3 == "商品購入のみ" || op4 == "商品購入のみ" \n
\t\t\t\t\t\t|| op5 == "商品購入のみ" || op6 == "商品購入のみ" || op7 == "商品購入のみ" || op8 == "商品購入のみ" || op9 == "商品購入のみ"){\n
\t\t\t\t\t \t$('#mitsumori_message').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_goukei').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_off').text(formatter.format(parseInt(el.price) - parseInt(el.maker_price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_price').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#maker_price').text(formatter.format(parseInt(el.maker_price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_ct').text("0円");\n
\t\t\t\t\t \t$('#mitsumori_option').text("0円");\n
\n
\t\t\t\t\t \t$('#mitsumori_kei').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_price_01').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_price_02').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_ct_01').text("0円");\n
\t\t\t\t\t \t$('#mitsumori_ct_02').text("0円");\n
\t\t\t\t\t \t$('#mitsumori_goukei_02').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t\t\n
\t\t\t\t\t\tmitsumori_goukei = (parseInt(el.price));\n
\t\t\t\t\t\tshoukei = mitsumori_goukei / 1.1;\n
\t\t\t\t\t\ttax = parseInt(mitsumori_goukei - shoukei);\n
\t\t\t\t\t \t$('#mitsumori_shoukei').text(formatter.format(parseInt(shoukei)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_tax').text(formatter.format(parseInt(tax)) + "円");\n
\t\t\t\t\t}else{\n
\t\t\t\t\t \t$('#mitsumori_message').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_goukei').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_off').text(formatter.format(parseInt(el.price) - parseInt(el.maker_price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_price').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#maker_price').text(formatter.format(parseInt(el.maker_price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_ct').text(formatter.format(parseInt(el.ct)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_option').text("0円");\n
\n
\t\t\t\t\t \t$('#mitsumori_kei').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + "円");\n
\n
\n
\t\t\t\t\t \t$('#mitsumori_price_01').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_price_02').text(formatter.format(parseInt(el.price)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_ct_01').text(formatter.format(parseInt(el.ct)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_ct_02').text(formatter.format(parseInt(el.ct)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_goukei_02').text(formatter.format(parseInt(el.price) + parseInt(el.ct)) + "円");\n
\n
\t\t\t\t\t\tmitsumori_goukei = (parseInt(el.price) + parseInt(el.ct));\n
\t\t\t\t\t\tshoukei = mitsumori_goukei / 1.1;\n
\t\t\t\t\t\ttax = parseInt(mitsumori_goukei - shoukei);\n
\n
\t\t\t\t\t \t$('#mitsumori_shoukei').text(formatter.format(parseInt(shoukei)) + "円");\n
\t\t\t\t\t \t$('#mitsumori_tax').text(formatter.format(parseInt(tax)) + "円");\n
\n
\n
\t\t\t\t\t}\n
\t\t\t\t }\n
\t\t\t\t});\n
\t\t\t}\n
\n
\n
\t\t}\n
\t\tmitsumori_simulation("","");\n
\n
</script>\n
<script type="application/ld+json">\n
{\n
"@context": "https://schema.org/",\n
"@type": "Product",\n
"name": "{{ Product.name }}",\n
"image": [\n
{% for img in Product.ProductImage %}\n
"{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}"{% if not loop.last %},{% endif %}\n
\n
{% else %}\n
"{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}"\n
{% endfor %}\n
],\n
"description": "{{ Product.description_list | default(Product.description_detail) | replace({'\n': '', '\r': ''}) | slice(0,300) }}",\n
{% if Product.code_min %}\n
"sku": "{{ Product.code_min }}",\n
{% endif %}\n
"offers": {\n
"@type": "Offer",\n
"url": "{{ url('product_detail', {'id': Product.id}) }}",\n
"priceCurrency": "{{ eccube_config.currency }}",\n
"price": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},\n
"availability": "{{ Product.stock_find ? "InStock" : "OutOfStock" }}"\n
}\n
}\n
</script>\n
\n
{% endblock %}\n
\n
{% block main %}\n
<div class="ec-productRole" style="margin-top:20px;">\n
<div class="ec-grid2">\n
<div class="ec-grid2__cell">\n
<div class="ec-sliderItemRole">\n
\t {# 商品名 #}\n
\t <div class="ec-productRole__title">\n
\t <h2 class="ec-headingTitle">{{ Product.name }}</h2>\n
\t </div>\n
{% if BaseInfo.option_favorite_product %}\n
<div style="position:relative;top: 20px;left: 10px;z-index:100;">\n
\t\t\t\t\t\t{% if is_favorite == false %}\n
<form action="{{ url('product_add_favorite', {id:Product.id}) }}" method="post">\n
<button type="submit" id="favorite" class="favorite">♡</button>\n
</form>\n
{% else %}\n
<form action="{{ url('product_add_favorite', {id:Product.id}) }}" method="post">\n
<button type="submit" id="favorite" class="favorite" style="color:red;">♥</button>\n
</form>\n
{% endif %}\n
</div>\n
{% endif %}\n
<div class="item_visual">\n
{% for ProductImage in Product.ProductImage %}\n
<div class="slide-item"><img src="{{ asset(ProductImage, 'save_image') }}" alt="{{ loop.first ? Product.name : '' }}" width="550" height="550" style="max-height: 400px;"{% if loop.index > 1 %} loading="lazy"{% endif %}></div>\n
{% else %}\n
<div class="slide-item"><img src="{{ asset(''|no_image_product, 'save_image') }}" alt="{{ loop.first ? Product.name : '' }}" width="550" height="550" style="max-height: 400px;"></div>\n
{% endfor %}\n
</div>\n
<div class="item_nav">\n
{% for ProductImage in Product.ProductImage %}\n
<div class="slideThumb" data-index="{{ loop.index0 }}"><img src="{{ asset(ProductImage, 'save_image') }}" alt="" width="80" height="80" loading="lazy"></div>\n
{% endfor %}\n
</div>\n
\n
</div>\n
\n
</div>\n
\n
<div class="ec-grid2__cell2">\n
<div class="ec-productRole__profile" >\n
{# 関連カテゴリ #}\n
{% if Product.ProductCategories is not empty %}\n
<div class="ec-productRole__category" style="padding:10px 0;">\n
{% for ProductCategory in Product.ProductCategories %}\n
<ul>\n
<li>\n
{% for Category in ProductCategory.Category.path %}\n
<a href="{{ url('product_list') }}?category_id={{ Category.id }}">{{ Category.name }}</a> {%- if loop.last == false %}\n
<span>></span>{% endif -%}\n
{% endfor %}\n
</li>\n
</ul>\n
{% endfor %}\n
</div>\n
{% endif %}\n
{# 販売価格 #}\n
<div class="ec-productRole__price">\n
\t\t\t\t\t\t<span style="color:black;font-size:15px;">工事費込み価格</span>\n
{% if Product.hasProductClass -%}\n
{% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}\n
<div class="ec-price">\n
<span class="ec-price__price price02-default">{{ Product.getPrice02IncTaxMin|price }}</span>\n
<span class="ec-price__tax">({{ '税込'|trans }})~</span>\n
</div>\n
{% else %}\n
<div class="ec-price">\n
<span class="ec-price__price price02-default">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>\n
<span class="ec-price__tax">({{ '税込'|trans }})</span>\n
</div>\n
{% endif %}\n
{% else %}\n
<div class="ec-price">\n
<span class="ec-price__price">{{ Product.getPrice02IncTaxMin|price }}</span>\n
<span class="ec-price__tax">({{ '税込'|trans }})~</span>\n
</div>\n
{% endif %}\n
</div>\n
{# タグ #}\n
<ul class="ec-productRole__tags">\n
{% for Tag in Product.Tags %}\n
<li class="ec-productRole__tag tag_{{ Tag.id }}">{{ Tag }}</li>\n
{% endfor %}\n
</ul>\n
{# 商品コード #}\n
{% if Product.code_min is not empty %}\n
<div class="ec-productRole__code">\n
{{ '商品コード'|trans }}: <span class="product-code-default">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>\n
</div>\n
{% endif %}\n
\n
<div class="ec-productRole__description">\n
\t\t\t\t <div class="ec-rectHeading">\n
\t\t\t\t <h4>製品情報</h4>\n
\t\t\t\t </div>\n
\t\t\t\t\t\t{{ Product.sales_infomation|raw|nl2br }}\n
</div>\n
\n
\n
\t\t\t\t\t<div class="card card-danger" style="clear:both;margin:1px;">\n
\t\t\t\t\t <div class="card-header">\n
\t\t\t\t\t <h3 class="card-title">見積シミュレーション</h3>\n
\t\t\t\t\t </div>\n
\t\t\t\t\t <div class="card-body p-2">\n
\t\t\t\t\t <div class="row" style="border-bottom:1px solid rgba(0,0,0,.125)"><label class="col-12 col-form-label">この商品のタイプを選択してください。</label></div>\n
\n
\n
\t\t\t\t\t\t{% set type1 = getProduct_field(Product.id,"related_name1") %}\n
{% if type1 and related_product1 and related_product1|length %}\n
\t\t\t\t\t <div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label mt-2">{{ type1 }}</label>\n
\t\t\t\t\t\t <div class="col-8 mt-2">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% for rp_id, rp_name in related_product1 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="rp1" id="rp1_{{ rp_id }}" value="{{ rp_name }}" {% if base_select1 == rp_name %}checked{% endif %} onclick="location.href='/products/detail/{{ rp_id }}';"><label for="rp1_{{ rp_id }}">{{ rp_name }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t {% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t </div>\n
{% endif %}\n
\n
\t\t\t\t\t\t{% set type2 = getProduct_field(Product.id,"related_name2") %}\n
{% if type2 and related_product2 and related_product2|length %}\n
\t\t\t\t\t <div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label mt-2">{{ type2 }}</label>\n
\t\t\t\t\t\t <div class="col-8 mt-2">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% for rp_id, rp_name in related_product2 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="rp2" id="rp2_{{ rp_id }}" value="{{ rp_name }}" {% if base_select2 == rp_name %}checked{% endif %} onclick="location.href='/products/detail/{{ rp_id }}';"><label for="rp2_{{ rp_id }}">{{ rp_name }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t {% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t </div>\n
{% endif %}\n
\n
\t\t\t\t\t\t{% set type3 = getProduct_field(Product.id,"related_name3") %}\n
{% if type3 and related_product3 and related_product3|length %}\n
\t\t\t\t\t <div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label mt-2">{{ type3 }}</label>\n
\t\t\t\t\t\t <div class="col-8 mt-2">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="rp3" id="rp3_{{ Product.id }}" value="{{ Product.name }}" checked ><label for="rp3_{{ Product.id }}">{{ base_select3 }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t {% for rp_id, rp_name in related_product3 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="rp3" id="rp3_{{ rp_id }}" value="{{ rp_name }}" {% if base_select3 == rp_name %}checked{% endif %} onclick="location.href='/products/detail/{{ rp_id }}';"><label for="rp3_{{ rp_id }}">{{ rp_name }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t {% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t </div>\n
{% endif %}\n
\n
\t\t\t\t\t <div class="row" style="border-bottom:1px solid rgba(0,0,0,.125)"><label class="col-12 col-form-label">この商品のカラー、サイズ、素材を選択してください。</label></div>\n
{% if color and color|length %}\n
\t\t\t\t\t <div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label mt-2">カラー</label>\n
\t\t\t\t\t\t <div class="col-8 mt-2">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% set idx = 0 %}\n
\t\t\t\t\t\t {% for cc in color %}\n
\t\t\t\t\t\t {% if cc and cc['name'] %}\n
\t\t\t\t\t\t {% set idx = idx + 1 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="color" id="cc_{{ idx }}" value="{{ cc['name'] }}" onclick="mitsumori_simulation('pc','cc_{{ idx }}');"><label for="cc_{{ idx }}">{{ cc['name'] }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t {% endif %}\n
\t\t\t\t\t\t\t{% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t </div>\n
{% endif %}\n
{% if p_w and p_w|length %}\n
\t\t\t\t\t\t<div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label">幅</label>\n
\t\t\t\t\t\t <div class="col-8">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% set idx = 0 %}\n
\t\t\t\t\t\t {% for pw in p_w %}\n
\t\t\t\t\t\t {% if pw %}\n
\t\t\t\t\t\t {% set idx = idx + 1 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="pw" id="pw_{{ idx }}" value="{{ pw }}" onclick="mitsumori_simulation('pw','pw_{{ idx }}');"><label for="pw_{{ idx }}">{{ pw }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t {% endif %}\n
\t\t\t\t\t\t\t{% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t</div>\n
{% endif %}\n
{% if p_d and p_d|length %}\n
\t\t\t\t\t\t<div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label">奥行き</label>\n
\t\t\t\t\t\t <div class="col-8">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% set idx = 0 %}\n
\t\t\t\t\t\t {% for pd in p_d %}\n
\t\t\t\t\t\t {% if pd %}\n
\t\t\t\t\t\t {% set idx = idx + 1 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="pd" id="pd_{{ idx }}" value="{{ pd }}" onclick="mitsumori_simulation('pd','pd_{{ idx }}');"><label for="pd_{{ idx }}">{{ pd }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t {% endif %}\n
\t\t\t\t\t\t\t{% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t</div>\n
{% endif %}\n
{% if p_h and p_h|length %}\n
\t\t\t\t\t\t<div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label">高さ</label>\n
\t\t\t\t\t\t <div class="col-8">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% set idx = 0 %}\n
\t\t\t\t\t\t {% for ph in p_h %}\n
\t\t\t\t\t\t {% if ph %}\n
\t\t\t\t\t\t {% set idx = idx + 1 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="ph" id="ph_{{ idx }}" value="{{ ph }}" onclick="mitsumori_simulation('ph','ph_{{ idx }}');"><label for="ph_{{ idx }}">{{ ph }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t {% endif %}\n
\t\t\t\t\t\t\t{% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t</div>\n
{% endif %}\n
{% if p_w and p_w|length %}\n
\t\t\t\t\t\t<div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t <label class="col-4 col-form-label">素材</label>\n
\t\t\t\t\t\t <div class="col-8">\n
\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t {% set idx = 0 %}\n
\t\t\t\t\t\t {% for pm in p_m %}\n
\t\t\t\t\t\t {% if pm %}\n
\t\t\t\t\t\t {% set idx = idx + 1 %}\n
\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t <input type="radio" name="pm" id="pm_{{ idx }}" value="{{ pm }}" onclick="mitsumori_simulation('pm','pm_{{ idx }}');"><label for="pm_{{ idx }}">{{ pm }}</label>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t {% endif %}\n
\t\t\t\t\t\t\t{% endfor %}\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t</div>\n
{% endif %}\n
\t\t\t\t\t <div class="row" style="border-bottom:1px solid rgba(0,0,0,.125)"><label class="col-12 col-form-label">取り付け工事のご希望に関してお答えください。</label></div>\n
\t\t\t\t\t\t{% for i in 0..10 %}\n
\t\t\t\t\t\t\t{% if op and op|length >= i+1 %}\n
\t\t\t\t\t\t\t{% if op[i]['name'] %}\n
\t\t\t\t\t\t\t<div class="form-group row mt-2" style="border-bottom:1px solid rgba(0,0,0,.125)">\n
\t\t\t\t\t\t\t <label class="col-4 col-form-label">{{ op[i]['name'] }}</label>\n
\t\t\t\t\t\t\t <div class="col-8">\n
\t\t\t\t\t {{ op[i]['comment'] }}\n
\t\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t\t <input type="radio" name="op{{ i }}" id="op{{ i }}_1" value="{{ op[i]['on'] }}" onclick="mitsumori_simulation('op{{ i }}','op{{ i }}_1');"><label for="op{{ i }}_1">{{ op[i]['on'] }}</label>\n
\t\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t <div class="form-group clearfix">\n
\t\t\t\t\t\t\t <div class="icheck-danger d-inline">\n
\t\t\t\t\t\t\t <input type="radio" name="op{{ i }}" id="op{{ i }}_2" value="{{ op[i]['off'] }}" onclick="mitsumori_simulation('op{{ i }}','op{{ i }}_2');"><label for="op{{ i }}_2">{{ op[i]['off'] }}</label>\n
\t\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t </div>\n
\t\t\t\t\t\t\t</div>\n
\t\t\t\t\t\t\t{% endif %}\n
\t\t\t\t\t\t\t{% endif %}\n
\t\t\t\t\t\t{% endfor %}\n
\t\t\t\t\t </div>\n
\t\t\t\t\t <!-- /.card-body -->\n
\t\t\t\t\t</div>\n
\n
\n
<form action="{{ url('product_add_cart', {id:Product.id}) }}" method="post" id="form1" name="form1">\n
{% if Product.stock_find %}\n
<div class="ec-productRole__actions">\n
{% if form.classcategory_id1 is defined %}\n
<div class="ec-select">\n
{{ form_row(form.classcategory_id1) }}\n
{{ form_errors(form.classcategory_id1) }}\n
</div>\n
{% if form.classcategory_id2 is defined %}\n
<div class="ec-select">\n
{{ form_row(form.classcategory_id2) }}\n
{{ form_errors(form.classcategory_id2) }}\n
</div>\n
{% endif %}\n
{% endif %}\n
<div class="ec-numberInput">\n
{{ form_widget(form.quantity, { type: 'hidden' }) }}\n
{{ form_errors(form.quantity) }}\n
</div>\n
</div>\n
\n
\t\t\t\t\t\t\t{% if ProductClass.SaleType.id != 9 %}\n
<div class="ec-productRole__btn">\n
</div>\n
\t\t\t\t\t\t\t{% else %}\n
<div class="ec-productRole__btn">\n
<button type="submit" class="ec-blockBtn--action add-cart">\n
{{ 'カートに入れる'|trans }}\n
</button>\n
</div>\n
\t\t\t\t\t\t\t{% endif %}\n
{% else %}\n
<div class="ec-productRole__btn">\n
<button type="button" class="ec-blockBtn--action" disabled="disabled">\n
{{ 'ただいま品切れ中です。'|trans }}\n
</button>\n
</div>\n
{% endif %}\n
{{ form_rest(form) }}\n
</form>\n
<div class="ec-modal">\n
<div class="ec-modal-overlay">\n
<div class="ec-modal-wrap">\n
<span class="ec-modal-close"><span class="ec-icon"><img src="{{ asset('assets/icon/cross-dark.svg') }}" alt=""/></span></span>\n
<div id="ec-modal-header" class="text-center">{{ 'カートに追加しました。'|trans }}</div>\n
<div class="ec-modal-box">\n
<div class="ec-role">\n
<span class="ec-inlineBtn--cancel">{{ 'お買い物を続ける'|trans }}</span>\n
<a href="{{ url('cart') }}" class="ec-inlineBtn--action">{{ 'カートへ進む'|trans }}</a>\n
</div>\n
</div>\n
</div>\n
</div>\n
</div>\n
<div class="ec-productRole__description">{{ Product.description_detail|raw|nl2br }}\n
</div>\n
</div>\n
\t\t\t\t<div class="card col-12 collapsed-card sticky-top float-right">\n
\t\t\t\t\t<div class="card-header">\n
\t\t\t\t\t <h3 class="card-title">現在のお見積り額</h3>\n
\t\t\t\t\t <div class="card-tools">\n
\t\t\t\t\t <span class="float-left" id="mitsumori_message">395000円</span>\n
\t\t\t\t\t <button type="button" class="btn btn-tool" data-card-widget="collapse">\n
\t\t\t\t\t <i class="fas fa-plus"></i>\n
\t\t\t\t\t </button>\n
\t\t\t\t\t </div>\n
\t\t\t\t\t</div>\n
\t\t\t\t\t<div class="card-body p-0">\n
\t\t\t\t\t <ul class="nav nav-pills flex-column">\n
\t\t\t\t\t <li class="nav-item active">\n
\t\t\t\t\t <a class="nav-link">\n
\t\t\t\t\t <i class="far fa-file-alt"></i> 合計(工事費・税込)\n
\t\t\t\t\t <span class="float-right" id="mitsumori_goukei">395,000円</span>\n
\t\t\t\t\t </a>\n
\t\t\t\t\t </li>\n
\t\t\t\t\t <li class="nav-item active">\n
\t\t\t\t\t <a class="nav-link">\n
\t\t\t\t\t <i class="far fa-file-alt"></i> 商品価格\n
\t\t\t\t\t <span class="float-right" id="mitsumori_price">307,008円</span>\n
\t\t\t\t\t </a>\n
\t\t\t\t\t </li>\n
\t\t\t\t\t <li class="nav-item">\n
\t\t\t\t\t <a class="nav-link">\n
\t\t\t\t\t <i class="far fa-file-alt"></i> カタログ価格\n
\t\t\t\t\t <span class="float-right" id="maker_price">479,700円</span>\n
\t\t\t\t\t </a>\n
\t\t\t\t\t </li>\n
\t\t\t\t\t <li class="nav-item">\n
\t\t\t\t\t <a class="nav-link">\n
\t\t\t\t\t <i class="far fa-file-alt"></i> お値引き\n
\t\t\t\t\t <span class="float-right" id="mitsumori_off">-172,692円</span>\n
\t\t\t\t\t </a>\n
\t\t\t\t\t </li>\n
\t\t\t\t\t <li class="nav-item">\n
\t\t\t\t\t <a class="nav-link">\n
\t\t\t\t\t <i class="far fa-file-alt"></i> 基本工事費\n
\t\t\t\t\t <span class="float-right" id="mitsumori_ct">53,250円</span>\n
\t\t\t\t\t </a>\n
\t\t\t\t\t </li>\n
\t\t\t\t\t <li class="nav-item">\n
\t\t\t\t\t <a class="nav-link">\n
\t\t\t\t\t <i class="far fa-file-alt"></i> 施工オプション\n
\t\t\t\t\t <span class="float-right"id="mitsumori_option">6,297円</span>\n
\t\t\t\t\t </a>\n
\t\t\t\t\t </li>\n
\t\t\t\t\t </ul>\n
\t\t\t\t\t</div>\n
\t\t\t\t\t<div class="card-footer">\n
\n
\t\t <button type="button" id="mitsumori_btn" class="btn btn-info" data-toggle="modal" data-target="#modal-mitsumori">\n
\t\t 見積書表示\n
\t\t </button>\n
\t\t\t\t\t\t<button id="contact" class="btn btn-info" onclick="location.href='/contact?product={{ Product.id }}';">無料現地調査へ進む</button>\n
\n
\t\t\t\t\t</div>\n
\t\t\t\t</div>\n
</div>\n
\n
</div>\n
\n
</div>\n
\n
<div class="modal" id="modal-mitsumori">\n
<div class="modal-dialog modal-mitsumori" style="max-width:1000px">\n
<div class="modal-content">\n
<div class="modal-header">\n
<h4 class="modal-title">お見積書</h4>\n
<button type="button" class="close" data-dismiss="modal" aria-label="Close">\n
<span aria-hidden="true">×</span>\n
</button>\n
</div>\n
<div class="modal-body">\n
\t\t\t<div class="invoice p-3 mb-5" style="max-width:1000px; margin:auto;">\n
\t\t\t <!-- title row -->\n
\t\t\t <div class="row">\n
\t\t\t <div class="col-12">\n
\t\t\t <h2>概算お見積書 \n
\t\t\t <small class="float-right" style="font-size:14px;">発行日: 2025/03/14</small>\n
\t\t\t </h2>\n
\t\t\t </div>\n
\t\t\t <!-- /.col -->\n
\t\t\t </div>\n
\t\t\t <!-- info row -->\n
\t\t\t <div class="row invoice-info">\n
\t\t\t <div class="col-sm-8 invoice-col">\n
\t\t\t <h3>お客様</h3>\n
\t\t\t <span>下記の通り、お見積もり申し上げます。</span>\n
\t\t\t <br />\n
\t\t\t <br / >\n
\t\t\t <br />\n
\t\t\t <h2>お見積金額: <span id="mitsumori_kei">399,080円</span></h2>\n
\t\t\t <span>\n
\t\t\t <br/>\n
\t\t\t <br/>\n
\t\t\t <br/>\n
\t\t\t <br/>\n
\t\t\t </span>\n
\t\t\t </div>\n
\t\t\t <div class="col-sm-4 invoice-col">\n
\t\t\t <p>\n
\t\t\t <img alt="" src="/html/user_data/js/images/logo.png" style="width: 260px; max-width: 100%; max-height: 10mm;">\n
\t\t\t </p>\n
\t\t\t <p>有限会社プラス</p>\n
\t\t\t <p>〒400-0334</p>\n
\t\t\t <p>山梨県南アルプス市藤田1450番地2</p>\n
\t\t\t <p>TEL: 055-284-6480</p>\n
\t\t\t <img alt="" src="/html/user_data/js/images/seal.svg" style="z-index: 2; position: absolute; width: 21mm; left: 58mm; top: 36mm;">\n
\t\t\t </div>\n
\t\t\t <!-- /.col -->\n
\t\t\t <!-- /.col -->\n
\t\t\t </div>\n
\t\t\t <!-- /.row -->\n
\t\t\t <!-- Table row -->\n
\t\t\t <div class="row">\n
\t\t\t <div class="col-12 table-responsive">\n
\t\t\t <table class="table table-striped">\n
\t\t\t <thead>\n
\t\t\t <tr>\n
\t\t\t <th>項目</th>\n
\t\t\t <th>数量</th>\n
\t\t\t <th>単位</th>\n
\t\t\t <th>単価</th>\n
\t\t\t <th>小計</th>\n
\t\t\t </tr>\n
\t\t\t </thead>\n
\t\t\t <tbody>\n
\t\t\t <tr>\n
\t\t\t <td>プレーンルーフ 600タイプ 1台用 単体セット</td>\n
\t\t\t <td>1</td>\n
\t\t\t <td>式</td>\n
\t\t\t <td id="mitsumori_price_01">352,800</td>\n
\t\t\t <td id="mitsumori_price_02">352,800</td>\n
\t\t\t </tr>\n
\t\t\t <tr>\n
\t\t\t <td>基本工事費</td>\n
\t\t\t <td>1</td>\n
\t\t\t <td>式</td>\n
\t\t\t <td id="mitsumori_ct_01">10,000</td>\n
\t\t\t <td id="mitsumori_ct_02">10,000</td>\n
\t\t\t </tr>\n
\t\t\t <tr>\n
\t\t\t <td>残土・ガラ処理</td>\n
\t\t\t <td>1</td>\n
\t\t\t <td>式</td>\n
\t\t\t <td>0円</td>\n
\t\t\t <td></td>\n
\t\t\t </tr>\n
\t\t\t <tr>\n
\t\t\t <td> </td>\n
\t\t\t <td></td>\n
\t\t\t <td></td>\n
\t\t\t <td></td>\n
\t\t\t <td></td>\n
\t\t\t </tr>\n
\t\t\t </tbody>\n
\t\t\t </table>\n
\t\t\t </div>\n
\t\t\t <!-- /.col -->\n
\t\t\t </div>\n
\t\t\t <!-- /.row -->\n
\t\t\t <div class="row">\n
\t\t\t <!-- accepted payments column -->\n
\t\t\t <div class="col-6">\n
\t\t\t <p class="lead">お支払い方法</p>\n
\t\t\t <p class="text-muted well well-sm shadow-none" style="margin-top: 10px;">銀行振込、クレジットカード決済、PAYPAY決済\n
\t\t\t <br>銀行振込:山梨中央銀行 白根支店 普通口座 391402\n
\t\t\t <br>※商品代金と工事代金の総額が金100万円(税込)を超える場合、着手金として代金の半額をご契約後お支払いいただきます。 \n
\t\t\t </p>\n
\t\t\t </div>\n
\t\t\t <!-- /.col -->\n
\t\t\t <div class="col-6">\n
\t\t\t <div class="table-responsive">\n
\t\t\t <table class="table">\n
\t\t\t <tbody>\n
\t\t\t <tr>\n
\t\t\t <th style="width:50%">小計:</th>\n
\t\t\t <td id="mitsumori_shoukei">362,800</td>\n
\t\t\t </tr>\n
\t\t\t <tr>\n
\t\t\t <th>消費税 (10%)</th>\n
\t\t\t <td id="mitsumori_tax">36,280</td>\n
\t\t\t </tr>\n
\t\t\t <tr>\n
\t\t\t <th>合計:</th>\n
\t\t\t <td id="mitsumori_goukei_02">399,080</td>\n
\t\t\t </tr>\n
\t\t\t </tbody>\n
\t\t\t </table>\n
\t\t\t </div>\n
\t\t\t </div>\n
\t\t\t <!-- /.col -->\n
\t\t\t </div>\n
\t\t\t <!-- /.row -->\n
\t\t\t</div>\n
</div>\n
<div class="modal-footer justify-content-between">\n
\t\t\t <button type="button" class="btn btn-primary float-right" style="margin-right: 5px;">\n
\t\t\t <i class="fas fa-download"></i>PDF出力\n
\t\t\t </button>\n
<button type="button" class="btn btn-info" onclick="location.href='/contact?product={{ Product.id }}';">無料現地調査へ進む</button>\n
</div>\n
</div>\n
<!-- /.modal-content -->\n
</div>\n
<!-- /.modal-dialog -->\n
</div>\n
<!-- /.modal -->\n
\n
\n
\n
{% endblock %}\n
"""
#message: "Impossible to access an attribute ("id") on a null variable."
#code: 0
#file: "/home/xs538259/exterior-plus.jp/public_html/app/template/default/Product/detail.twig"
#line: 723
trace: {
/home/xs538259/exterior-plus.jp/public_html/app/template/default/Product/detail.twig:723 {
twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
›
› \t\t\t\t\t\t\t{% if ProductClass.SaleType.id != 9 %}
› <div class="ec-productRole__btn">
}
/home/xs538259/exterior-plus.jp/public_html/var/cache/dev/twig/d1/d1ecd89c40dfff040460dae1e7c08be95dba313696943e8a502edec2ceebfb31.php:1525 {
__TwigTemplate_96c563db9ada41512149594432039e6f0c776089bff10d591b9a54f63d158ce5->block_main($context, array $blocks = []) …
› if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass", $context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.', 723, $this->source); })()), "SaleType", [], "any", false, false, false, 723), "id", [], "any", false, false, false, 723) != 9)) {
› // line 724
› echo " <div class=\"ec-productRole__btn\">
arguments: {
$env: Twig\Environment {#688 …}
$source: Twig\Source {#5393 …}
$object: null
$item: "id"
$arguments: []
$type: "any"
$isDefinedTest: false
$ignoreStrictCheck: false
$sandboxed: false
$lineno: 723
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Template.php:182 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …43]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/var/cache/dev/twig/2f/2fd55247261700baacb108aafe659d9c1ee75fb19f2202fedeb9ccd4ce8655b5.php:299 {
__TwigTemplate_ff66919d0c5b4ddc7eca63a70b3cb8b71a8e0e555c4ccfb67c04db2e0a803569->doDisplay(array $context, array $blocks = []) …
› echo " ";
› $this->displayBlock('main', $context, $blocks);
› // line 115
arguments: {
$name: "main"
$context: [ …40]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Template.php:405 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …36]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Template.php:378 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: [ …35]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/src/Eccube/Twig/Template.php:41 {
Eccube\Twig\Template->display(array $context, array $blocks = []) …
› } else {
› parent::display($event->getParameters(), $blocks);
› }
arguments: {
$context: [ …28]
$blocks: []
}
}
/home/xs538259/exterior-plus.jp/public_html/var/cache/dev/twig/d1/d1ecd89c40dfff040460dae1e7c08be95dba313696943e8a502edec2ceebfb31.php:53 {
__TwigTemplate_96c563db9ada41512149594432039e6f0c776089bff10d591b9a54f63d158ce5->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("default_frame.twig", "Product/detail.twig", 11);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
arguments: {
$context: [ …36]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Template.php:405 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …36]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Template.php:378 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: [ …35]
$blocks: [ …3]
}
}
/home/xs538259/exterior-plus.jp/public_html/src/Eccube/Twig/Template.php:41 {
Eccube\Twig\Template->display(array $context, array $blocks = []) …
› } else {
› parent::display($event->getParameters(), $blocks);
› }
arguments: {
$context: [ …28]
$blocks: []
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Template.php:390 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
arguments: {
$context: [ …21]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/TemplateWrapper.php:45 {
Twig\TemplateWrapper->render(array $context = []): string …
› // as it should only be used by internal code
› return $this->template->render($context, \func_get_args()[1] ?? []);
› }
arguments: {
$context: [ …21]
...: {
[]
}
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/twig/twig/src/Environment.php:318 {
Twig\Environment->render($name, array $context = []) …
› {
› return $this->load($name)->render($context);
› }
arguments: {
$context: [ …21]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/sensio/framework-extra-bundle/src/EventListener/TemplateListener.php:115 {
Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener->onKernelView(KernelEvent $event) …
› } else {
› $event->setResponse(new Response($this->twig->render($template->getTemplate(), $parameters)));
› }
arguments: {
$name: "Product/detail.twig"
$context: [ …21]
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117 {
Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object $event, string $eventName, EventDispatcherInterface $dispatcher): void …
›
› ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
›
arguments: {
$event: Symfony\Component\HttpKernel\Event\ViewEvent {#5184 …}
...: {
"kernel.view"
Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#861 …}
}
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:230 {
Symfony\Component\EventDispatcher\EventDispatcher->callListeners(iterable $listeners, string $eventName, object $event) …
› }
› $listener($event, $eventName, $this);
› }
arguments: {
$event: Symfony\Component\HttpKernel\Event\ViewEvent {#5184 …}
$eventName: "kernel.view"
$dispatcher: Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher {#861 …}
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:59 {
Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object $event, string $eventName = null): object …
› if ($listeners) {
› $this->callListeners($listeners, $eventName, $event);
› }
arguments: {
$listeners: [ …1]
$eventName: "kernel.view"
$event: Symfony\Component\HttpKernel\Event\ViewEvent {#5184 …}
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154 {
Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object $event, string $eventName = null): object …
› try {
› $this->dispatcher->dispatch($event, $eventName);
› } finally {
arguments: {
$event: Symfony\Component\HttpKernel\Event\ViewEvent {#5184 …}
$eventName: "kernel.view"
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/http-kernel/HttpKernel.php:168 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› $event = new ViewEvent($this, $request, $type, $response);
› $this->dispatcher->dispatch($event, KernelEvents::VIEW);
›
arguments: {
$event: Symfony\Component\HttpKernel\Event\ViewEvent {#5184 …}
$eventName: "kernel.view"
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/http-kernel/HttpKernel.php:75 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#14 …}
$type: 1
}
}
/home/xs538259/exterior-plus.jp/public_html/vendor/symfony/http-kernel/Kernel.php:202 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#14 …}
$type: 1
$catch: true
}
}
/home/xs538259/exterior-plus.jp/public_html/index.php:83 {
› $kernel = new Kernel($env, $debug);
› $response = $kernel->handle($request);
› $response->send();
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#14 …}
}
}
}
} |