[19661] | 1 | <!--{* |
---|
| 2 | * This file is part of EC-CUBE |
---|
| 3 | * |
---|
[20764] | 4 | * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved. |
---|
[19661] | 5 | * |
---|
| 6 | * http://www.lockon.co.jp/ |
---|
| 7 | * |
---|
| 8 | * This program is free software; you can redistribute it and/or |
---|
| 9 | * modify it under the terms of the GNU General Public License |
---|
| 10 | * as published by the Free Software Foundation; either version 2 |
---|
| 11 | * of the License, or (at your option) any later version. |
---|
| 12 | * |
---|
| 13 | * This program is distributed in the hope that it will be useful, |
---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 16 | * GNU General Public License for more details. |
---|
| 17 | * |
---|
| 18 | * You should have received a copy of the GNU General Public License |
---|
| 19 | * along with this program; if not, write to the Free Software |
---|
| 20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 21 | *}--> |
---|
[21533] | 22 | |
---|
[21132] | 23 | <script src="<!--{$smarty.const.ROOT_URLPATH}-->js/products.js"></script> |
---|
| 24 | <script src="<!--{$TPL_URLPATH}-->js/jquery.facebox/facebox.js"></script> |
---|
| 25 | <script>//<![CDATA[ |
---|
[21533] | 26 | // 規格2に選択肢を割り当てる。 |
---|
| 27 | function fnSetClassCategories(form, classcat_id2_selected) { |
---|
| 28 | var $form = $(form); |
---|
| 29 | var product_id = $form.find('input[name=product_id]').val(); |
---|
| 30 | var $sele1 = $form.find('select[name=classcategory_id1]'); |
---|
| 31 | var $sele2 = $form.find('select[name=classcategory_id2]'); |
---|
| 32 | setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected); |
---|
| 33 | } |
---|
| 34 | $(function(){ |
---|
| 35 | $('#detailphotoblock ul li').flickSlide({target:'#detailphotoblock>ul', duration:5000, parentArea:'#detailphotoblock', height: 200}); |
---|
| 36 | $('#whobought_area ul li').flickSlide({target:'#whobought_area>ul', duration:5000, parentArea:'#whobought_area', height: 80}); |
---|
[21146] | 37 | |
---|
[21533] | 38 | //お勧め商品のリンクを張り直し(フリックスライドによるエレメント生成後) |
---|
| 39 | $('#whobought_area li').biggerlink(); |
---|
| 40 | //商品画像の拡大 |
---|
| 41 | $('a.expansion').facebox({ |
---|
| 42 | loadingImage : '<!--{$TPL_URLPATH}-->js/jquery.facebox/loading.gif', |
---|
| 43 | closeImage : '<!--{$TPL_URLPATH}-->js/jquery.facebox/closelabel.png' |
---|
| 44 | }); |
---|
[21085] | 45 | }); |
---|
[21533] | 46 | //サブエリアの表示/非表示 |
---|
| 47 | var speed = 500; |
---|
| 48 | var stateSub = 0; |
---|
| 49 | function fnSubToggle(areaEl, imgEl) { |
---|
| 50 | areaEl.slideToggle(speed); |
---|
| 51 | if (stateSub == 0) { |
---|
| 52 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png"); |
---|
| 53 | stateSub = 1; |
---|
| 54 | } else { |
---|
| 55 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png"); |
---|
| 56 | stateSub = 0 |
---|
| 57 | } |
---|
[21050] | 58 | } |
---|
[21682] | 59 | //この商品に対するお客様の声エリアの表示/非表示 |
---|
| 60 | var stateReview = 0; |
---|
| 61 | function fnReviewToggle(areaEl, imgEl) { |
---|
| 62 | areaEl.slideToggle(speed); |
---|
| 63 | if (stateReview == 0) { |
---|
| 64 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png"); |
---|
| 65 | stateReview = 1; |
---|
| 66 | } else { |
---|
| 67 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png"); |
---|
| 68 | stateReview = 0 |
---|
| 69 | } |
---|
| 70 | } |
---|
[21533] | 71 | //お勧めエリアの表示/非表示 |
---|
| 72 | var statewhobought = 0; |
---|
| 73 | function fnWhoboughtToggle(areaEl, imgEl) { |
---|
| 74 | areaEl.slideToggle(speed); |
---|
| 75 | if (statewhobought == 0) { |
---|
| 76 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_plus.png"); |
---|
| 77 | statewhobought = 1; |
---|
| 78 | } else { |
---|
| 79 | $(imgEl).attr("src", "<!--{$TPL_URLPATH}-->img/button/btn_minus.png"); |
---|
| 80 | statewhobought = 0 |
---|
| 81 | } |
---|
[21050] | 82 | } |
---|
[21537] | 83 | //]]></script> |
---|
[19661] | 84 | |
---|
[21050] | 85 | <section id="product_detail"> |
---|
[19661] | 86 | |
---|
[21533] | 87 | <!--★タイトル★--> |
---|
| 88 | <h2 class="title"><!--{$tpl_subtitle|h}--></h2> |
---|
| 89 | <!--★画像★--> |
---|
[21171] | 90 | |
---|
[21533] | 91 | <div id="detailphotoblock" class="mainImageInit"> |
---|
| 92 | <ul> |
---|
| 93 | <!--{assign var=key value="main_image"}--> |
---|
| 94 | <li id="mainImage0"> |
---|
[21171] | 95 | |
---|
[21533] | 96 | <!--{* 画像の縦横倍率を算出 *}--> |
---|
| 97 | <!--{assign var=detail_image_size value=200}--> |
---|
| 98 | <!--{assign var=main_image_factor value=`$arrFile[$key].width/$detail_image_size`}--> |
---|
| 99 | <!--{if $arrProduct.main_large_image|strlen >= 1}--> |
---|
| 100 | <a rel="external" class="expansion" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->" target="_blank"> |
---|
| 101 | <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_image|h}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile.main_image.width/$main_image_factor}-->" height="<!--{$arrFile.main_image.height/$main_image_factor}-->" /></a> |
---|
[21171] | 102 | <!--{else}--> |
---|
[21533] | 103 | <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_image|h}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile.main_image.width/$main_image_factor}-->" height="<!--{$arrFile.main_image.height/$main_image_factor}-->" /> |
---|
[21171] | 104 | <!--{/if}--> |
---|
| 105 | </li> |
---|
[21533] | 106 | <!--★サブ画像★--> |
---|
| 107 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
| 108 | <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}--> |
---|
| 109 | <!--{assign var=sub_image_factor value=`$arrFile[$key].width/$detail_image_size`}--> |
---|
| 110 | <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> |
---|
| 111 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
| 112 | <li id="mainImage<!--{$smarty.section.cnt.index+1}-->"> |
---|
| 113 | <!--{if $arrProduct[$lkey] != ""}--> |
---|
| 114 | <a rel="external" class="expansion" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" target="_blank"> |
---|
| 115 | <img src="<!--{$arrFile[$key].filepath|h}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width/$sub_image_factor}-->" height="<!--{$arrFile[$key].height/$sub_image_factor}-->" /></a> |
---|
| 116 | <!--{else}--> |
---|
| 117 | <img src="<!--{$arrFile[$key].filepath|h}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width/$sub_image_factor}-->" height="<!--{$arrFile[$key].height/$sub_image_factor}-->" /> |
---|
| 118 | <!--{/if}--> |
---|
| 119 | </li> |
---|
| 120 | <!--{/if}--> |
---|
| 121 | <!--{/section}--> |
---|
| 122 | </ul> |
---|
| 123 | </div> |
---|
[19661] | 124 | |
---|
[21533] | 125 | <section id="detailarea"> |
---|
[19661] | 126 | |
---|
[21533] | 127 | <!--★詳細メインコメント★--> |
---|
| 128 | <p class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></p> |
---|
[19661] | 129 | |
---|
[21533] | 130 | <form name="form1" id="form1" method="post" action="<!--{$smarty.const.ROOT_URLPATH}-->products/detail.php"> |
---|
| 131 | <div id="detailrightblock"> |
---|
| 132 | <!--▼商品ステータス--> |
---|
| 133 | <!--{assign var=ps value=$productStatus[$tpl_product_id]}--> |
---|
| 134 | <!--{if count($ps) > 0}--> |
---|
| 135 | <ul class="status_icon"> |
---|
| 136 | <!--{foreach from=$ps item=status}--> |
---|
| 137 | <li><!--{$arrSTATUS[$status]}--></li> |
---|
| 138 | <!--{/foreach}--> |
---|
| 139 | </ul> |
---|
| 140 | <!--{/if}--> |
---|
| 141 | <!--▲商品ステータス--> |
---|
[19661] | 142 | |
---|
[21533] | 143 | <div class="product_detail"> |
---|
[19661] | 144 | |
---|
[21533] | 145 | <!--★商品名★--> |
---|
| 146 | <h3 class="product_name"><!--{$arrProduct.name|h}--></h3> |
---|
[19661] | 147 | |
---|
[21533] | 148 | <p class="product_code"> |
---|
| 149 | <span class="mini">商品コード:</span> |
---|
[19661] | 150 | |
---|
[21533] | 151 | <span id="product_code_default"> |
---|
| 152 | <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> |
---|
| 153 | <!--{$arrProduct.product_code_min|h}--> |
---|
| 154 | <!--{else}--> |
---|
| 155 | <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> |
---|
| 156 | <!--{/if}--> |
---|
| 157 | </span><span id="product_code_dynamic"></span> |
---|
| 158 | </p> |
---|
[20540] | 159 | |
---|
[21533] | 160 | <!--★関連カテゴリ★--> |
---|
| 161 | <p class="relative_cat"><span class="mini">関連カテゴリ:</span> |
---|
| 162 | <!--{section name=r loop=$arrRelativeCat}--> |
---|
| 163 | <!--{section name=s loop=$arrRelativeCat[r]}--> |
---|
| 164 | <a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> |
---|
| 165 | <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> |
---|
| 166 | <!--{/section}--><br /> |
---|
| 167 | <!--{/section}--> |
---|
| 168 | </p> |
---|
[19661] | 169 | |
---|
[21533] | 170 | <!--★通常価格★--> |
---|
| 171 | <!--{if $arrProduct.price01_max > 0}--> |
---|
| 172 | <p class="normal_price"> |
---|
| 173 | <span class="mini"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):</span> |
---|
| 174 | <span id="price01_default"> |
---|
| 175 | <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> |
---|
[21545] | 176 | <!--{$arrProduct.price01_min|sfCalcIncTax|number_format}--> |
---|
[21533] | 177 | <!--{else}--> |
---|
[21545] | 178 | <!--{$arrProduct.price01_min|sfCalcIncTax|number_format}-->~<!--{$arrProduct.price01_max|sfCalcIncTax|number_format}--> |
---|
[21533] | 179 | <!--{/if}--></span> |
---|
| 180 | <span id="price01_dynamic"></span>円 |
---|
| 181 | </p> |
---|
| 182 | <!--{/if}--> |
---|
[19661] | 183 | |
---|
[21533] | 184 | <!--★販売価格★--> |
---|
| 185 | <p class="sale_price"> |
---|
| 186 | <span class="mini"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):</span> |
---|
| 187 | <span class="price"><span id="price02_default"> |
---|
| 188 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
[21545] | 189 | <!--{$arrProduct.price02_min|sfCalcIncTax|number_format}--> |
---|
[21533] | 190 | <!--{else}--> |
---|
[21545] | 191 | <!--{$arrProduct.price02_min|sfCalcIncTax|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax|number_format}--> |
---|
[21533] | 192 | <!--{/if}--> |
---|
| 193 | </span><span id="price02_dynamic"></span>円</span> |
---|
| 194 | </p> |
---|
[19661] | 195 | |
---|
[21533] | 196 | <!--★ポイント★--> |
---|
| 197 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
| 198 | <p class="sale_price"><span class="mini">ポイント:</span><span id="point_default"> |
---|
| 199 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
| 200 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id|number_format}--> |
---|
[21050] | 201 | <!--{else}--> |
---|
[21533] | 202 | <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
| 203 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id|number_format}--> |
---|
| 204 | <!--{else}--> |
---|
| 205 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id|number_format}-->~<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id|number_format}--> |
---|
[19661] | 206 | <!--{/if}--> |
---|
[21533] | 207 | <!--{/if}--> |
---|
| 208 | </span><span id="point_dynamic"></span>Pt |
---|
| 209 | </p> |
---|
| 210 | <!--{/if}--> |
---|
[19661] | 211 | |
---|
[21533] | 212 | <!--▼メーカーURL--> |
---|
| 213 | <!--{if $arrProduct.comment1|strlen >= 1}--> |
---|
| 214 | <p class="sale_price"> |
---|
| 215 | <span class="mini">メーカーURL:</span><span> |
---|
| 216 | <a rel="external" href="<!--{$arrProduct.comment1|h}-->" target="_blank"> |
---|
| 217 | <!--{$arrProduct.comment1|h}--></a> |
---|
| 218 | </span> |
---|
| 219 | </p> |
---|
| 220 | <!--{/if}--> |
---|
| 221 | <!--▲メーカーURL--> |
---|
| 222 | </div><!-- /.product_detail --> |
---|
[21050] | 223 | |
---|
[21533] | 224 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 225 | <input type="hidden" name="mode" value="cart" /> |
---|
| 226 | <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> |
---|
| 227 | <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" /> |
---|
| 228 | <input type="hidden" name="favorite_product_id" value="" /> |
---|
[19661] | 229 | |
---|
[21533] | 230 | <!--▼買い物かご--> |
---|
| 231 | <!--{if $tpl_stock_find}--> |
---|
[19661] | 232 | |
---|
[21533] | 233 | <!--{if $tpl_classcat_find1}--> |
---|
| 234 | <div class="cart_area"> |
---|
| 235 | <dl> |
---|
| 236 | <!--▼規格1--> |
---|
| 237 | <dt><!--{$tpl_class_name1|h}--></dt> |
---|
| 238 | <dd> |
---|
| 239 | <select name="classcategory_id1" |
---|
| 240 | style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" |
---|
| 241 | class="data-role-none"> |
---|
| 242 | <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> |
---|
| 243 | </select> |
---|
| 244 | <!--{if $arrErr.classcategory_id1 != ""}--> |
---|
| 245 | <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> |
---|
| 246 | <!--{/if}--> |
---|
| 247 | </dd> |
---|
| 248 | <!--▲規格1--> |
---|
[20540] | 249 | |
---|
[21533] | 250 | <!--{if $tpl_classcat_find2}--> |
---|
| 251 | <!--▼規格2--> |
---|
| 252 | <dt><!--{$tpl_class_name2|h}--></dt> |
---|
| 253 | <dd> |
---|
| 254 | <select name="classcategory_id2" |
---|
| 255 | style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->" |
---|
| 256 | class="data-role-none"> |
---|
| 257 | </select> |
---|
| 258 | <!--{if $arrErr.classcategory_id2 != ""}--> |
---|
| 259 | <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> |
---|
| 260 | <!--{/if}--> |
---|
| 261 | </dd> |
---|
| 262 | <!--▲規格2--> |
---|
| 263 | <!--{/if}--> |
---|
| 264 | </dl> |
---|
| 265 | </div> |
---|
| 266 | <!--{/if}--> |
---|
[20540] | 267 | |
---|
[21533] | 268 | <div class="cartin_btn"> |
---|
| 269 | <dl> |
---|
| 270 | <dt>数量</dt> |
---|
| 271 | <dd> |
---|
| 272 | <input type="number" name="quantity" class="quantitybox" value="<!--{$arrForm.quantity.value|default:1|h}-->" max="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> |
---|
| 273 | <!--{if $arrErr.quantity != ""}--> |
---|
| 274 | <br /><span class="attention"><!--{$arrErr.quantity}--></span> |
---|
| 275 | <!--{/if}--> |
---|
| 276 | </dd> |
---|
| 277 | </dl> |
---|
[19661] | 278 | |
---|
[21533] | 279 | <!--★カートに入れる★--> |
---|
| 280 | <div id="cartbtn_default"> |
---|
| 281 | <a rel="external" href="javascript:void(document.form1.submit());" class="btn cartbtn_default">カートに入れる</a> |
---|
| 282 | </div> |
---|
| 283 | <div class="attention" id="cartbtn_dynamic"></div> |
---|
| 284 | </div> |
---|
[21050] | 285 | <!--{else}--> |
---|
[21533] | 286 | <div class="cartin_btn"> |
---|
| 287 | <div class="attention">申し訳ございませんが、只今品切れ中です。</div> |
---|
| 288 | </div> |
---|
[19661] | 289 | <!--{/if}--> |
---|
[21533] | 290 | <!--▲買い物かご--> |
---|
| 291 | |
---|
| 292 | <!--{if $tpl_login}--> |
---|
| 293 | <!--{if !$is_favorite}--> |
---|
| 294 | <div class="btn_favorite"> |
---|
| 295 | <p><a rel="external" href="javascript:void(0);" onclick="fnAddFavoriteSphone(<!--{$arrProduct.product_id|h}-->); return false;" class="btn_sub">お気に入りに追加</a></p> |
---|
| 296 | </div> |
---|
| 297 | <!--{else}--> |
---|
| 298 | <div class="btn_favorite"> |
---|
| 299 | <p>お気に入り登録済み</p> |
---|
| 300 | </div> |
---|
| 301 | <!--{/if}--> |
---|
| 302 | <!--{/if}--> |
---|
[19661] | 303 | </div> |
---|
[21533] | 304 | </form> |
---|
| 305 | </section> |
---|
| 306 | <!--詳細ここまで--> |
---|
[19661] | 307 | |
---|
[21533] | 308 | <!--▼サブエリアここから--> |
---|
| 309 | <!--{if $arrProduct.sub_title1 != ""}--> |
---|
| 310 | <div class="title_box_sub clearfix"> |
---|
| 311 | <h2>商品情報</h2> |
---|
| 312 | <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}--> |
---|
| 313 | <span class="b_expand"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" onclick="fnSubToggle($('#sub_area'), this);" alt=""></span> |
---|
| 314 | </div> |
---|
| 315 | <div id="sub_area"> |
---|
| 316 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
| 317 | <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}--> |
---|
| 318 | <!--{if $arrProduct[$key] != ""}--> |
---|
| 319 | <!--▼サブ情報--> |
---|
| 320 | <div class="subarea clearfix"> |
---|
| 321 | <!--★サブタイトル★--> |
---|
| 322 | <h3><!--{$arrProduct[$key]|h}--></h3> |
---|
[19661] | 323 | |
---|
[21533] | 324 | <!--★サブ画像★--> |
---|
| 325 | <!--{assign var=sub_image_size value=80}--> |
---|
| 326 | <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}--> |
---|
| 327 | <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> |
---|
| 328 | <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}--> |
---|
| 329 | <!--{assign var=sub_image_factor value=`$arrFile[$key].width/$sub_image_size`}--> |
---|
| 330 | <!--{if $arrProduct[$key]|strlen >= 1}--> |
---|
| 331 | <p class="subphotoimg"> |
---|
| 332 | <!--{if $arrProduct[$lkey]|strlen >= 1}--> |
---|
| 333 | <a rel="external" class="expansion" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$lkey]|h}-->" target="_blank"> |
---|
| 334 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width/$sub_image_factor}-->" height="<!--{$arrFile[$key].height/$sub_image_factor}-->" /> |
---|
| 335 | </a> |
---|
| 336 | <!--{else}--> |
---|
| 337 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width/$sub_image_factor}-->" height="<!--{$arrFile[$key].height/$sub_image_factor}-->" /> |
---|
| 338 | <!--{/if}--> |
---|
| 339 | </p> |
---|
| 340 | <!--{/if}--> |
---|
| 341 | <!--★サブテキスト★--> |
---|
| 342 | <p class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></p> |
---|
| 343 | </div> |
---|
| 344 | <!--{/if}--> |
---|
| 345 | <!--{/section}--> |
---|
| 346 | </div> |
---|
| 347 | <!--{/if}--> |
---|
| 348 | <!--サブエリアここまで--> |
---|
[19661] | 349 | |
---|
[21682] | 350 | <!--この商品に対するお客様の声--> |
---|
| 351 | <div class="title_box_sub clearfix"> |
---|
| 352 | <h2>この商品に対するお客様の声</h2> |
---|
| 353 | <span class="b_expand"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" onclick="fnReviewToggle($('#review_bloc_area'), this);" alt=""></span> |
---|
| 354 | </div> |
---|
[19661] | 355 | |
---|
[21682] | 356 | <div id="review_bloc_area"> |
---|
| 357 | <div class="review_bloc clearfix"> |
---|
| 358 | <p>この商品に対するご感想をぜひお寄せください。</p> |
---|
| 359 | <div class="review_btn"> |
---|
| 360 | <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> |
---|
| 361 | <!--★新規コメントを書き込む★--> |
---|
| 362 | <a href="./review.php?product_id=<!--{$arrProduct.product_id}-->" target="_blank" class="btn_sub" />新規コメントを書き込む</a> |
---|
| 363 | <!--{/if}--> |
---|
| 364 | </div> |
---|
| 365 | </div> |
---|
| 366 | |
---|
| 367 | <!--{if count($arrReview) > 0}--> |
---|
| 368 | <ul> |
---|
| 369 | <!--{section name=cnt loop=$arrReview}--> |
---|
| 370 | <li> |
---|
| 371 | <p class="voicetitle"><!--{$arrReview[cnt].title|h}--></p> |
---|
| 372 | <p class="voicedate"><!--{$arrReview[cnt].create_date|sfDispDBDate:false}--> 投稿者:<!--{if $arrReview[cnt].reviewer_url}--><a href="<!--{$arrReview[cnt].reviewer_url}-->" target="_blank"><!--{$arrReview[cnt].reviewer_name|h}--></a><!--{else}--><!--{$arrReview[cnt].reviewer_name|h}--><!--{/if}--><br />おすすめレベル:<span class="recommend_level"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|h}--></span></p> |
---|
| 373 | <p class="voicecomment"><!--{$arrReview[cnt].comment|h|nl2br}--></p> |
---|
| 374 | </li> |
---|
| 375 | <!--{/section}--> |
---|
| 376 | </ul> |
---|
| 377 | <!--{/if}--> |
---|
| 378 | </div> |
---|
| 379 | </div> |
---|
| 380 | <!--お客様の声ここまで--> |
---|
| 381 | |
---|
| 382 | |
---|
[21533] | 383 | <!--▼その他おすすめ商品--> |
---|
| 384 | <!--{if $arrRecommend}--> |
---|
| 385 | <div class="title_box_sub clearfix"> |
---|
| 386 | <h2>その他のオススメ商品</h2> |
---|
| 387 | <span class="b_expand"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" onclick="fnWhoboughtToggle($('#whobought_area'), this);" alt=""></span> |
---|
| 388 | </div> |
---|
| 389 | |
---|
| 390 | <div id="whobought_area" class="mainImageInit"> |
---|
| 391 | <ul> |
---|
| 392 | <!--{section name=cnt loop=$arrRecommend}--> |
---|
| 393 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
| 394 | <li id="mainImage1<!--{$smarty.section.cnt.index}-->"> |
---|
| 395 | <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /> |
---|
| 396 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
| 397 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
| 398 | <h3><a rel="external" href="<!--{$smarty.const.P_DETAIL_URLPATH}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3> |
---|
| 399 | <p class="sale_price"><span class="price"> |
---|
| 400 | <!--{if $price02_min == $price02_max}--> |
---|
[21545] | 401 | <!--{$price02_min|sfCalcIncTax|number_format}--> |
---|
[21533] | 402 | <!--{else}--> |
---|
[21545] | 403 | <!--{$price02_min|sfCalcIncTax|number_format}-->~<!--{$price02_max|sfCalcIncTax|number_format}--> |
---|
[21535] | 404 | <!--{/if}--> |
---|
[21533] | 405 | 円</span> |
---|
| 406 | </p> |
---|
| 407 | </li> |
---|
| 408 | <!--{/if}--> |
---|
| 409 | <!--{/section}--> |
---|
| 410 | </ul> |
---|
| 411 | </div> |
---|
| 412 | <!--{/if}--> |
---|
| 413 | <!--▲その他おすすめ商品--> |
---|
| 414 | |
---|
| 415 | <div class="btn_area"> |
---|
| 416 | <p><a href="javascript:void(0);" class="btn_more" data-rel="back">商品一覧に戻る</a></p> |
---|
| 417 | </div> |
---|
[21050] | 418 | </section> |
---|
[21533] | 419 | |
---|
[21107] | 420 | <!--▼検索バー --> |
---|
| 421 | <section id="search_area"> |
---|
[21533] | 422 | <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php"> |
---|
| 423 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
| 424 | <input type="hidden" name="mode" value="search" /> |
---|
| 425 | <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" > |
---|
| 426 | </form> |
---|
[21107] | 427 | </section> |
---|
| 428 | <!--▲検索バー --> |
---|