{% extends '@user_data/layout/default_frame.twig' %}
{% block title %}
{{category_name}}製作 - {{ Product.name }} | こだわり品質【小ロット1個から】ZEAMI Goods
{% endblock %}
{% block description %}
<meta name="description" content="cscascsa"></meta>
{% endblock %}
{% block js %}
<!-- // ++ Guide jQuery ++ /////////////////////////////////////////////////////////// -->
<script>
const PRODUCT_ID = "{{ Product.id }}";
</script>
<link href="{{ asset('assets/custom_css/home_product.css') }}" rel="stylesheet" type="text/css">
<link href="{{ asset('assets/js/fancybox02/jquery.fancybox.css') }}" rel="stylesheet" type="text/css" media="screen, projection">
<script src="{{ asset('assets/js/fancybox02/jquery.fancybox.pack.js') }}" type="text/javascript"></script>
<script src="{{ asset('assets/js/fancybox02/jquery.mousewheel-3.0.6.pack.js') }}" type="text/javascript"></script>
<script src="{{ asset('assets/js/fancybox02/jquery.easing-1.3.pack.js') }}" type="text/javascript"></script>
<script src="{{ asset('assets/js/holiday_calender.js') }}" type="text/javascript"></script>
<script>
const STEPS = {{ Steps | json_encode | raw }};
const WORKING_TIME = {{WorkingTime | json_encode | raw}}
</script>
<script src="{{ asset('assets/js/product.js') }}" type="text/javascript"></script>
<script src="{{ asset('assets/js/tooltip.js') }}" type="text/javascript" media="screen and (min-width:769px)"></script>
<script src="{{ asset('assets/js/sp_tooltip.js') }}" type="text/javascript" media="screen and (max-width:768px)"></script>
<script>
$(document).ready(function(){
$('.add_wishlist').click(function(e) {
e.preventDefault();
const is_favorite = {{ is_favorite ? 1: 0 }} ? 1 : 0;
if(!is_favorite) {
$('#form-favorite').submit();
}
})
})
</script>
{% endblock %}
{% block css %}
<style>
@media (max-width: 700px) {
.responsive-table-area table,
.responsive-table-area thead,
.responsive-table-area tbody,
.responsive-table-area th,
.responsive-table-area td,
.responsive-table-area tr {
display: block !important;
width: 100% !important;
height: auto !important;
}
.responsive-table-area thead {
display: none !important;
}
.responsive-table-area tr {
margin-bottom: 15px !important;
height: auto !important;
}
.responsive-table-area td {
padding: 6px !important;
height: auto !important;
width: 100% !important;
}
.responsive-table-area td img {
width: 100% !important;
height: auto !important;
}
.product-info table,
.product-info thead,
.product-info tbody,
.product-info th,
.product-info td,
.product-info tr {
border: none !important;
}
.product-info td {
border: 1px solid !important
}
.product-info tr {
margin-bottom: 0px !important;
height: auto !important;
}
#specList img {
width: 100%;
height: auto;
}
table#cart_indexTable.product .order_num {
width: 115px !important;
}
table#cart_indexTable.product th, table#cart_indexTable.product td {
width: auto !important;
}
}
</style>
{% endblock %}
{% block content %}
<!-- // ++ パンクズ ++ //////////////////////////////////////////////////////////// // -->
<div id="bread_crumbBloc" class="fades">
<ul id="breadCrumb" class="fades">
<li class="up">
<a href="/"><img src="{{ asset('assets/img/icon_home.png') }}" alt="ホーム"></a>
</li>
<li class="up">
<a href="{{'/category/' ~ category_id}}">{{category_name}}</a>
</li>
<li class="up">{{ Product.name }}</li>
</ul>
<!-- ///// #breadCrumb +++++ ///// -->
<!-- ///// +++++ #bread_crumbBloc +++++ ///// -->
</div>
<!-- ▼▼ MAIN CONTENTS __________________________________________________________________________________________________ ▼▼ -->
<main
id="mainContents">
<!-- // == MAIN ================================================================================ // -->
<section
id="Product" class="section_basic">
<!-- // ++ 詳細:商品名&画像 ++ /////////////////////////////////////////////////////////////// -->
<div class="one_box fades responsive-table-area product-info">
<dl
id="product_topBloc" class="fades">
<!-- ■■ ++ メイン画像 ++ ■■ -->
<dt id="product_mainPhoto" class="up"><img src="{{ asset(Product.mainFileName|no_image_product, 'save_image') }}">
{% if Product.icon is not empty %}
<p class="catlist_thumb_chara fades"><img src="{{ asset(Product.icon|no_image_product, 'save_image') }}" alt="ミラーコート"></p>
{% else %}
<p class="catlist_thumb_chara fades"><img src="{{ asset('assets/img/mirror_coat.png') }}" alt="ミラーコート"></p>
{% endif %}
</dt>
<!-- ■■ ++ 商品名など ++ ■■ -->
<dd id="product_nameArea" class="fades">
<h3 id="productName">
<p class="up">{{category_name}}
{{ Product.name }}</p>
{% if BaseInfo.option_favorite_product %}
<form id="form-favorite" action="{{ url('add_product_favorite', {id:Product.id}) }}" method="post">
<div class="ec-productRole__btn">
{% if is_favorite == false %}
<div id="btn_wishList" class="up add_wishlist">
<a href="/">
<span class="mk_off">お気に入り追加</span>
<!-- /// #btn_wishList +++ /// -->
</a>
</div>
{% else %}
<div id="btn_wishList" class="up add_wishlist">
<a href="/">
<span class="mk_off">お気に入り済</span>
<!-- /// #btn_wishList +++ /// -->
</a>
</div>
{% endif %}
</div>
</form>
{% endif %}
</h3>
<!-- /// +++ #productName +++ /// -->
{{ Product.description_detail | raw }}
<!-- //// #product_nameArea ++++ //// -->
</dd>
</dl>
<!-- //// ++++ #product_topBloc ++++ //// -->
<!-- ///// .one_box ***** ///// -->
</div>
<!-- // ++ SPEC ++ /////////////////////////////////////////////////////////////// -->
<div class="one_box fades responsive-table-area">
<h4 class="section_title up">SPEC<span>商品の仕様</span>
</h4>
<ul id="specList" class="fades">
{{ Product.description_list | raw }}
</ul>
<!-- ///// #specList +++++ ///// -->
<!-- ///// .one_box ***** ///// -->
</div>
<!-- // ++ IMAGE ++ /////////////////////////////////////////////////////////////// -->
<div class="one_box">
<h4 class="section_title up">IMAGE<span>イメージサンプル</span>
</h4>
<ul id="image_sampleList" class="up">
{% for ProductImage in Product.ProductImage %}
<li class="up">
<a href={{asset(ProductImage, 'save_image')}} class="samplepic" rel="photo">
<img src={{asset(ProductImage, 'save_image')}}>
</a>
</li>
{% endfor %}
</ul>
<!-- ///// #image_sampleList +++++ ///// -->
<!-- ///// .one_box ***** ///// -->
</div>
<!-- // ++ PRICE ++ /////////////////////////////////////////////////////////////// -->
<div class="one_box">
<form action="#" class="product_form" method="post">
<h4 class="section_title up">PRICE<span>価格表</span>
</h4>
<h5 class="sub_title up">STEP-1<span>数量を選択してください</span>
</h5>
<ul id="detail_checkList" class="input_content fades">
{% for option in option_quantity %}
<li class="type_check up">
<label><input type="radio" name="step_quantity" value="{{option |json_encode }}" class="form_check"/>
<span>
{% if option.from %}
{{ option.from|number_format(0, '.', ',') }}
{% endif %}
〜
{% if option.to %}
{{ option.to|number_format(0, '.', ',') }}
{% endif %}
枚</span>
</label>
</li>
{% endfor %}
</ul>
<div style="display: flex; flex-direction: column; align-items: center" id='inquiry_box'>
<aside class="caution_box fades fadeIn" style="">
<div class="caution_inner" id="text-warning">
<h5 class="caution_title up moveup">大ロットオーダーに関して</h5>
<p class="indent up moveup">◯ 具体的な発注内容をお知らせください。1営業日以内にサポートよりご連絡差し上げます。</p>
</div>
</aside>
<a href='/inquiry' style='text-decoration: none;
width: 300px; color: white;
background: #01B4BE; height: 80px;
display: flex; align-items: center;
justify-content: center; font-size: 20px;
font-weight: bold; border-radius: 6px;
margin-top: 40px'>
お問い合わせフォームへ
</a>
</div>
{% for step in Steps %}
<div id="{{'step_' ~ step.step_number}}">
<h5 class="sub_title up">STEP-{{step.step_number + 1}}<span>{{step.step_name}}</span>
</h5>
<ul id="detail_checkList" class="input_content fades">
{% for option in step.options %}
<li class="type_check up step_option_container" id="{{'option_' ~ option.id}}">
<label><input type="radio" name="{{step.step_name}}" id="{{'check_option_' ~ option.id}}" value="{{option |json_encode }}" class="form_check step_options_product"/>
<span>{{option.name}}</span>
{% if option.option_tag is not null %}
<font class="reco_mark famous">{{option.option_tag}}</font>
{% endif %}
{% if option.name_detail is not null %}
<div style="margin-top: 6px; max-width: 175px; text-wrap: wrap; font-size: 11px">{{option.name_detail}}</div>
{% endif %}
</label>
{% if option.detail is not null and option.detail is not empty %}
<span class="onepoint">
<img src="{{ asset('assets/img/icon_question.png') }}" class="for_pc">
<a href="" class="tt_open for_sp" data-modal-btn="Tooltip01"><img src="{{ asset('assets/img/icon_question.png') }}"></a>
</span>
{% endif %}
<aside class="baloon for_pc">
<div class="baloon_body">
{{option.detail | raw}}
</div>
</aside>
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
<div id="loading-price">
<div class="loader"></div>
<div>価格表を読み込み中</div>
</div>
<!-- // △△ STEP-6 ++ △△△△△△△△△△△△△△△△△△△△△△△△△△△△△△△△△△ -->
<div id='latest-step'>
<h5 class="sub_title up" style="margin-bottom: 8px">STEP-{{Steps | length + 2}}<span>ご希望の納期と数量に応じた価格を押してください</span>
</h5>
<div style="margin-bottom: 6px" id="text-infor-delivery"></div>
<p class="table_caption" style="margin-bottom:.3em">※価格は全て1枚あたりの税込価格です。</p>
<div id="tableBox">
<table
cellpadding="0" cellspacing="0" id="cart_indexTable" class="product">
</table>
<!-- //// ++++ #cart_indexTable ++++ //// -->
</div>
</div>
<!-- //// ++++ #tableBox ++++ //// -->
<!-- ///// .one_box ***** ///// -->
</form>
</div>
<div class='show_calc_price'>
{# <div style="color: #01b4be; margin-bottom: 10px">見積金額</div>
<div>
<div style="margin-bottom: 10px">
<div style="margin-bottom: 5px">購入数量</div>
<input type="number" min="0" id="calc_price" style="height: 50px; border-radius: 6px" class="form-control" value="0" />
</div>
<div>
<div>合計金額</div>
<div id="tableBox">
<table cellpadding="0" cellspacing="0" id="calc_indexTable" class="product"></table>
<div>
</div>
</div> #}
</div>
<div style="display: flex; flex-direction: column; align-items: center">
{% if Product.simulator is not null %}
<a href="{{Product.simulator}}" target="_blank" style='text-decoration: none;
width: 250px; color: white;
background: #01B4BE; height: 60px;
display: flex; align-items: center;
justify-content: center; font-size: 18px;
font-weight: bold; border-radius: 6px;
margin-top: 40px'>
<i class='fa fa-check' style="font-weight: bold; margin-right: 6px; font-size: 20px"></i> シミュレーターで作る
</a>
{% endif %}
</div>
</section>
<!-- ///// +++++ #Product +++++ ///// -->
<!-- ///// +++++ #mainContents +++++ ///// -->
</main>
<!-- // ++ パンクズ ++ //////////////////////////////////////////////////////////// // -->
<div id="bread_crumbBloc" class="fades">
<ul id="breadCrumb" class="fades">
<li class="up">
<a href="/"><img src="{{ asset('assets/img/icon_home.png') }}" alt="ホーム"></a>
</li>
<li class="up">
<a href="{{'/category/' ~ category_id}}">{{category_name}}</a>
</li>
<li class="up">{{ Product.name }}</li>
</ul>
<!-- ///// #breadCrumb +++++ ///// -->
<!-- ///// +++++ #bread_crumbBloc +++++ ///// -->
</div>
<?php /* ... SMARATPHONE TOOLTIP ................................................................ */ ?>
<!-- ■■ ++ ToolTip(SMARTPHONE):1000個 ++ ■■ -->
<aside id="Tooltip01" class="baloon for_sp">
<div class="baloon_body">
<?php // include('/EC-CUBE/ec-cube/tree/4.3/src/Eccube/Resource/template/default/block/tooltip/over1000.html');?>
</div>
</aside>
<!-- /// *** .baloon *** /// -->
<!-- ■■ ++ ToolTip(SMARTPHONE):表面+白印刷 ++ ■■ -->
<aside id="Tooltip02" class="baloon for_sp">
<div class="baloon_body">
<?php // include('/EC-CUBE/ec-cube/tree/4.3/src/Eccube/Resource/template/default/block/tooltip/print_front.html');?>
</div>
</aside>
<!-- /// *** .baloon *** /// -->
<!-- ■■ ++ ToolTip(SMARTPHONE):表面+白印刷+裏面印刷 ++ ■■ -->
<aside id="Tooltip03" class="baloon for_sp">
<div class="baloon_body">
<?php // include('/EC-CUBE/ec-cube/tree/4.3/src/Eccube/Resource/template/default/block/tooltip/print_front_back.html');?>
</div>
</aside>
<!-- /// *** .baloon *** /// -->
<?php /* ................................................................ SMARATPHONE TOOLTIP ... */ ?>
<!-- ////// +++++++ #Wrapper +++++++ /////// -->
{% endblock %}