1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved. |
---|
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 | *}--> |
---|
22 | <script type="text/javascript" src="<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/facebox.js"></script> |
---|
23 | <link rel="stylesheet" type="text/css" href="<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/facebox.css" media="screen" /> |
---|
24 | <script type="text/javascript">//<![CDATA[ |
---|
25 | // 規格2に選択肢を割り当てる。 |
---|
26 | function fnSetClassCategories(form, classcat_id2_selected) { |
---|
27 | sele1 = form.classcategory_id1; |
---|
28 | sele2 = form.classcategory_id2; |
---|
29 | |
---|
30 | if (sele1) { |
---|
31 | if (sele2) { |
---|
32 | // 規格2の選択肢をクリア |
---|
33 | count = sele2.options.length; |
---|
34 | for(i = count; i >= 0; i--) { |
---|
35 | sele2.options[i] = null; |
---|
36 | } |
---|
37 | |
---|
38 | // 規格2に選択肢を割り当てる |
---|
39 | classcats = classCategories[sele1.value]; |
---|
40 | i = 0; |
---|
41 | for (var classcat_id2_key in classcats) { |
---|
42 | sele2.options[i] = new Option(classcats[classcat_id2_key].name, classcat_id2_key); |
---|
43 | if (classcat_id2_key == classcat_id2_selected) { |
---|
44 | sele2.options[i].selected = true; |
---|
45 | } |
---|
46 | i++; |
---|
47 | } |
---|
48 | } |
---|
49 | fnCheckStock(form); |
---|
50 | } |
---|
51 | } |
---|
52 | function fnCheckStock(form) { |
---|
53 | classcat_id1 = form.classcategory_id1.value; |
---|
54 | classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : 0; |
---|
55 | classcat2 = classCategories[classcat_id1][classcat_id2]; |
---|
56 | |
---|
57 | // 商品コード |
---|
58 | eleDefault = document.getElementById('product_code_default'); |
---|
59 | eleDynamic = document.getElementById('product_code_dynamic'); |
---|
60 | if ( |
---|
61 | classcat2 |
---|
62 | && typeof classcat2.product_code != 'undefined' |
---|
63 | ) { |
---|
64 | eleDefault.style.display = 'none'; |
---|
65 | eleDynamic.innerHTML = classcat2.product_code; |
---|
66 | } else { |
---|
67 | eleDefault.style.display = ''; |
---|
68 | eleDynamic.innerHTML = ''; |
---|
69 | } |
---|
70 | |
---|
71 | // 在庫(品切れ) |
---|
72 | eleDefault = document.getElementById('cartbtn_default'); |
---|
73 | eleDynamic = document.getElementById('cartbtn_dynamic'); |
---|
74 | if ( |
---|
75 | classcat2 |
---|
76 | && classcat2.stock_find === false |
---|
77 | ) { |
---|
78 | eleDefault.style.display = 'none'; |
---|
79 | eleDynamic.innerHTML = '申し訳ございませんが、只今品切れ中です。'; |
---|
80 | } else { |
---|
81 | eleDefault.style.display = ''; |
---|
82 | eleDynamic.innerHTML = ''; |
---|
83 | } |
---|
84 | |
---|
85 | // 通常価格 |
---|
86 | eleDefault = document.getElementById('price01_default'); |
---|
87 | eleDynamic = document.getElementById('price01_dynamic'); |
---|
88 | if (eleDefault && eleDynamic) { |
---|
89 | if ( |
---|
90 | classcat2 |
---|
91 | && typeof classcat2.price01 != 'undefined' |
---|
92 | && String(classcat2.price01).length >= 1 |
---|
93 | ) { |
---|
94 | eleDefault.style.display = 'none'; |
---|
95 | eleDynamic.innerHTML = classcat2.price01; |
---|
96 | } else { |
---|
97 | eleDefault.style.display = ''; |
---|
98 | eleDynamic.innerHTML = ''; |
---|
99 | } |
---|
100 | } |
---|
101 | |
---|
102 | // 販売価格 |
---|
103 | eleDefault = document.getElementById('price02_default'); |
---|
104 | eleDynamic = document.getElementById('price02_dynamic'); |
---|
105 | if ( |
---|
106 | classcat2 |
---|
107 | && typeof classcat2.price02 != 'undefined' |
---|
108 | && String(classcat2.price02).length >= 1 |
---|
109 | ) { |
---|
110 | eleDefault.style.display = 'none'; |
---|
111 | eleDynamic.innerHTML = classcat2.price02; |
---|
112 | } else { |
---|
113 | eleDefault.style.display = ''; |
---|
114 | eleDynamic.innerHTML = ''; |
---|
115 | } |
---|
116 | |
---|
117 | // ポイント |
---|
118 | eleDefault = document.getElementById('point_default'); |
---|
119 | eleDynamic = document.getElementById('point_dynamic'); |
---|
120 | if ( |
---|
121 | classcat2 |
---|
122 | && typeof classcat2.point != 'undefined' |
---|
123 | && String(classcat2.point).length >= 1 |
---|
124 | ) { |
---|
125 | eleDefault.style.display = 'none'; |
---|
126 | eleDynamic.innerHTML = classcat2.point; |
---|
127 | } else { |
---|
128 | eleDefault.style.display = ''; |
---|
129 | eleDynamic.innerHTML = ''; |
---|
130 | } |
---|
131 | // 商品規格 |
---|
132 | eleDynamic = document.getElementById('product_class_id'); |
---|
133 | if ( |
---|
134 | classcat2 |
---|
135 | && typeof classcat2.product_class_id != 'undefined' |
---|
136 | && String(classcat2.product_class_id).length >= 1 |
---|
137 | ) { |
---|
138 | eleDynamic.value = classcat2.product_class_id; |
---|
139 | } else { |
---|
140 | eleDynamic.value = '' |
---|
141 | } |
---|
142 | // 商品種別 |
---|
143 | eleDynamic = document.getElementById('product_type'); |
---|
144 | if ( |
---|
145 | classcat2 |
---|
146 | && typeof classcat2.product_type != 'undefined' |
---|
147 | && String(classcat2.product_type).length >= 1 |
---|
148 | ) { |
---|
149 | eleDynamic.value = classcat2.product_type; |
---|
150 | } else { |
---|
151 | eleDynamic.value = '' |
---|
152 | } |
---|
153 | } |
---|
154 | $(document).ready(function() { |
---|
155 | $('a.expansion').facebox({ |
---|
156 | loadingImage : '<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/loading.gif', |
---|
157 | closeImage : '<!--{$smarty.const.URL_PATH}-->js/jquery.facebox/closelabel.png' |
---|
158 | }); |
---|
159 | }); |
---|
160 | //]]> |
---|
161 | </script> |
---|
162 | |
---|
163 | <!--▼CONTENTS--> |
---|
164 | <div id="undercolumn" class="product product_detail"> |
---|
165 | |
---|
166 | <!--★タイトル★--> |
---|
167 | <h2 class="title"><!--{$tpl_subtitle|h}--></h2> |
---|
168 | |
---|
169 | <div id="detailarea"> |
---|
170 | <div id="detailphotoblock"> |
---|
171 | |
---|
172 | <!--{assign var=key value="main_image"}--> |
---|
173 | |
---|
174 | <!--★画像★--> |
---|
175 | <a |
---|
176 | <!--{if $arrProduct.main_large_image|strlen >= 1}--> |
---|
177 | href="<!--{$smarty.const.IMAGE_SAVE_URL_PATH}--><!--{$arrProduct.main_large_image|h}-->" |
---|
178 | class="expansion" |
---|
179 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion_on.gif','expansion01');" |
---|
180 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion.gif','expansion01');" |
---|
181 | target="_blank" |
---|
182 | <!--{/if}--> |
---|
183 | > |
---|
184 | <img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /><br /> |
---|
185 | <!--★拡大する★--> |
---|
186 | <!--{if $arrProduct.main_large_image|strlen >= 1}--> |
---|
187 | <img src="<!--{$TPL_DIR}-->img/button/btn_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" /> |
---|
188 | <!--{/if}--> |
---|
189 | </a> |
---|
190 | </div> |
---|
191 | |
---|
192 | <div id="detailrightblock"> |
---|
193 | <!--▼商品ステータス--> |
---|
194 | <!--{assign var=ps value=$productStatus[$smarty.get.product_id]}--> |
---|
195 | <!--{if count($ps) > 0}--> |
---|
196 | <ul class="status_icon"> |
---|
197 | <!--{foreach from=$ps item=status}--> |
---|
198 | <li> |
---|
199 | <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" /> |
---|
200 | </li> |
---|
201 | <!--{/foreach}--> |
---|
202 | </ul> |
---|
203 | <!--{/if}--> |
---|
204 | <!--▲商品ステータス--> |
---|
205 | |
---|
206 | <!--★ダウンロード販売★--> |
---|
207 | <!--{if $arrProduct.down == 2}--> |
---|
208 | <div><font color="red">本商品はダウンロード販売となります。<br /> 購入後はMYページの購入履歴からダウンロード可能です。</font></div><br /> |
---|
209 | <!--{/if}--> |
---|
210 | |
---|
211 | <table> |
---|
212 | <tr> |
---|
213 | <th colspan="2"> |
---|
214 | <!--★商品名★--> |
---|
215 | <h2><!--{$arrProduct.name|h}--></h2> |
---|
216 | </th> |
---|
217 | </tr> |
---|
218 | <tr> |
---|
219 | <th> |
---|
220 | <div class="product_code">商品コード:</div> |
---|
221 | </th> |
---|
222 | <td> |
---|
223 | <span id="product_code_default"> |
---|
224 | <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> |
---|
225 | <!--{$arrProduct.product_code_min|h}--> |
---|
226 | <!--{else}--> |
---|
227 | <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> |
---|
228 | <!--{/if}--> |
---|
229 | </span><span id="product_code_dynamic"></span> |
---|
230 | </td> |
---|
231 | </tr> |
---|
232 | <tr> |
---|
233 | <th> |
---|
234 | <!--★販売価格★--> |
---|
235 | <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span></div> |
---|
236 | </th> |
---|
237 | <td> |
---|
238 | <span class="price"> |
---|
239 | <span id="price02_default"> |
---|
240 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
241 | <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
242 | <!--{else}--> |
---|
243 | <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
244 | <!--{/if}--> |
---|
245 | </span><span id="price02_dynamic"></span> |
---|
246 | 円 |
---|
247 | </span> |
---|
248 | </td> |
---|
249 | </tr> |
---|
250 | <!--★通常価格★--> |
---|
251 | <!--{if $arrProduct.price01_max > 0}--> |
---|
252 | <tr> |
---|
253 | <th> |
---|
254 | <div class="normal_price"> |
---|
255 | <!--{$smarty.const.NORMAL_PRICE_TITLE}-->: |
---|
256 | </div> |
---|
257 | </th> |
---|
258 | <td> |
---|
259 | <span class="price"> |
---|
260 | <span id="price01_default"> |
---|
261 | <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> |
---|
262 | <!--{$arrProduct.price01_min|number_format}--> |
---|
263 | <!--{else}--> |
---|
264 | <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}--> |
---|
265 | <!--{/if}--> |
---|
266 | </span><span id="price01_dynamic"></span> |
---|
267 | 円 |
---|
268 | </span> |
---|
269 | </td> |
---|
270 | </tr> |
---|
271 | <!--{/if}--> |
---|
272 | |
---|
273 | |
---|
274 | <!--★ポイント★--> |
---|
275 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
276 | <tr> |
---|
277 | <th> |
---|
278 | <span class="price">ポイント:</span> |
---|
279 | </th> |
---|
280 | <td> |
---|
281 | <span id="point_default"> |
---|
282 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
283 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
284 | <!--{else}--> |
---|
285 | <!--{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}--> |
---|
286 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
287 | <!--{else}--> |
---|
288 | <!--{$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}--> |
---|
289 | <!--{/if}--> |
---|
290 | <!--{/if}--> |
---|
291 | </span><span id="point_dynamic"> |
---|
292 | Pt |
---|
293 | </span> |
---|
294 | </td> |
---|
295 | </tr> |
---|
296 | <!--{/if}--> |
---|
297 | |
---|
298 | <!--▼メーカーURL--> |
---|
299 | <!--{if $arrProduct.comment1|strlen >= 1}--> |
---|
300 | <tr> |
---|
301 | <th> |
---|
302 | <span class="comment1">メーカーURL: |
---|
303 | </th> |
---|
304 | <td> |
---|
305 | <a href="<!--{$arrProduct.comment1|h}-->"> |
---|
306 | <!--{$arrProduct.comment1|h}--></a> |
---|
307 | </td> |
---|
308 | </tr> |
---|
309 | <!--{/if}--> |
---|
310 | <!--▲メーカーURL--> |
---|
311 | |
---|
312 | <!--★関連カテゴリ★--> |
---|
313 | <tr> |
---|
314 | <th> |
---|
315 | <div class="relative_cat">関連カテゴリ:</div> |
---|
316 | </th> |
---|
317 | <td> |
---|
318 | <!--{section name=r loop=$arrRelativeCat}--> |
---|
319 | <p> |
---|
320 | <!--{section name=s loop=$arrRelativeCat[r]}--> |
---|
321 | <a href="<!--{$smarty.const.SMARTPHONE_URL_PATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> |
---|
322 | <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> |
---|
323 | <!--{/section}--> |
---|
324 | </p> |
---|
325 | <!--{/section}--> |
---|
326 | </td> |
---|
327 | </tr> |
---|
328 | <tr> |
---|
329 | <td colspan="2"> |
---|
330 | <!--★詳細メインコメント★--> |
---|
331 | <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div> |
---|
332 | </td> |
---|
333 | </tr> |
---|
334 | </table> |
---|
335 | |
---|
336 | <!--▼買い物かご--> |
---|
337 | <form name="form1" id="form1" method="post" action="?"> |
---|
338 | <input type="hidden" name="mode" value="cart" /> |
---|
339 | <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> |
---|
340 | <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" /> |
---|
341 | <input type="hidden" name="product_type" value="<!--{$tpl_product_type}-->" id="product_type" /> |
---|
342 | <input type="hidden" name="favorite_product_id" value="" /> |
---|
343 | |
---|
344 | |
---|
345 | <!--{if $tpl_stock_find}--> |
---|
346 | <dl> |
---|
347 | <!--{if $tpl_classcat_find1}--> |
---|
348 | <!--▼規格1--> |
---|
349 | <dt><!--{$tpl_class_name1|h}--></dt> |
---|
350 | <dd> |
---|
351 | <select name="classcategory_id1" |
---|
352 | style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" |
---|
353 | onchange="fnSetClassCategories(this.form);" |
---|
354 | > |
---|
355 | <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> |
---|
356 | </select> |
---|
357 | <!--{if $arrErr.classcategory_id1 != ""}--> |
---|
358 | <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> |
---|
359 | <!--{/if}--> |
---|
360 | </dd> |
---|
361 | <!--▲規格1--> |
---|
362 | <!--{/if}--> |
---|
363 | |
---|
364 | <!--{if $tpl_classcat_find2}--> |
---|
365 | <!--▼規格2--> |
---|
366 | <dt><!--{$tpl_class_name2|h}--></dt> |
---|
367 | <dd> |
---|
368 | <select name="classcategory_id2" |
---|
369 | style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->" |
---|
370 | onchange="fnCheckStock(this.form);" |
---|
371 | > |
---|
372 | </select> |
---|
373 | <!--{if $arrErr.classcategory_id2 != ""}--> |
---|
374 | <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> |
---|
375 | <!--{/if}--> |
---|
376 | </dd> |
---|
377 | <!--▲規格2--> |
---|
378 | <!--{/if}--> |
---|
379 | |
---|
380 | <dt>数量</dt> |
---|
381 | <dd> |
---|
382 | <input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> |
---|
383 | <!--{if $arrErr.quantity != ""}--> |
---|
384 | <br /><span class="attention"><!--{$arrErr.quantity}--></span> |
---|
385 | <!--{/if}--> |
---|
386 | </dd> |
---|
387 | </dl> |
---|
388 | <!--{/if}--> |
---|
389 | |
---|
390 | <div class="btn"> |
---|
391 | <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}--> |
---|
392 | |
---|
393 | <!--{/if}--> |
---|
394 | |
---|
395 | <!--{if $tpl_stock_find}--> |
---|
396 | <div id="cartbtn_default"> |
---|
397 | <!--★カゴに入れる★--> |
---|
398 | <div> |
---|
399 | <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');" class="spbtn spbtn-agree"> |
---|
400 | カゴに入れる |
---|
401 | </a> |
---|
402 | </div> |
---|
403 | <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}--> |
---|
404 | <!--{'sfGMODetailDisplay'|call_user_func}--> |
---|
405 | <!--{/if}--> |
---|
406 | </div> |
---|
407 | <div class="attention" id="cartbtn_dynamic"></div> |
---|
408 | <!--{else}--> |
---|
409 | <div class="attention">申し訳ございませんが、只今品切れ中です。</div> |
---|
410 | <!--{/if}--> |
---|
411 | </div> |
---|
412 | <div class="btn" id="btn-recommend"> |
---|
413 | <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> |
---|
414 | <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> |
---|
415 | <!--{if !$arrProduct.favorite_count}--> |
---|
416 | <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');" class="spbtn spbtn-small"> |
---|
417 | お気に入りに追加</a> |
---|
418 | <!--{else}--> |
---|
419 | <div>お気に入り登録済</div> |
---|
420 | <!--{/if}--> |
---|
421 | </div> |
---|
422 | </form> |
---|
423 | <!--▲買い物かご--> |
---|
424 | |
---|
425 | </div> |
---|
426 | </div> |
---|
427 | <!--{* オペビルダー用 *}--> |
---|
428 | <!--{if "sfViewDetailOpe"|function_exists === TRUE}--> |
---|
429 | <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/detail_ope_view.tpl}--> |
---|
430 | <!--{/if}--> |
---|
431 | <!--詳細ここまで--> |
---|
432 | |
---|
433 | <!--▼サブコメント--> |
---|
434 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
435 | <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}--> |
---|
436 | <!--{if $arrProduct[$key] != ""}--> |
---|
437 | <div class="subarea"> |
---|
438 | <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|h}--></h3> |
---|
439 | <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}--> |
---|
440 | |
---|
441 | <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></div> |
---|
442 | |
---|
443 | <!--▼サブ画像--> |
---|
444 | <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}--> |
---|
445 | <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> |
---|
446 | <!--{if $arrProduct[$key]|strlen >= 1}--> |
---|
447 | <div class="subphotoimg"> |
---|
448 | <a |
---|
449 | <!--{if $arrProduct[$lkey]|strlen >= 1}--> |
---|
450 | href="<!--{$smarty.const.IMAGE_SAVE_URL_PATH}--><!--{$arrProduct[$lkey]|h}-->" |
---|
451 | class="expansion" |
---|
452 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif', 'expansion_<!--{$lkey|h}-->');" |
---|
453 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif', 'expansion_<!--{$lkey|h}-->');" |
---|
454 | target="_blank" |
---|
455 | <!--{/if}--> |
---|
456 | > |
---|
457 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" /><br /> |
---|
458 | <!--{if $arrProduct[$lkey]|strlen >= 1}--> |
---|
459 | <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" id="expansion_<!--{$lkey|h}-->" /> |
---|
460 | <!--{/if}--> |
---|
461 | </a> |
---|
462 | </div> |
---|
463 | <!--{/if}--> |
---|
464 | <!--▲サブ画像--> |
---|
465 | </div> |
---|
466 | <!--{/if}--> |
---|
467 | <!--{/section}--> |
---|
468 | <!--▲サブコメント--> |
---|
469 | |
---|
470 | <!--▼関連商品--> |
---|
471 | <!--{if $arrRecommend}--> |
---|
472 | <div id="whoboughtarea"> |
---|
473 | <h2>その他のオススメ商品(関連商品)</h2> |
---|
474 | <div class="whoboughtblock"> |
---|
475 | |
---|
476 | <!--{section name=cnt loop=$arrRecommend}--> |
---|
477 | <!--{if ($smarty.section.cnt.index % 2) == 0}--> |
---|
478 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
479 | <!-- 左列 --> |
---|
480 | <div class="whoboughtleft"> |
---|
481 | |
---|
482 | <a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->"> |
---|
483 | <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /></a> |
---|
484 | |
---|
485 | <div class="whoboughtrightblock"> |
---|
486 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
487 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
488 | <h3><a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3> |
---|
489 | |
---|
490 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
491 | <!--{if $price02_min == $price02_max}--> |
---|
492 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
493 | <!--{else}--> |
---|
494 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
495 | <!--{/if}-->円</span></p> |
---|
496 | <p class="mini"><!--{$arrRecommend[cnt].comment|h|nl2br}--></p> |
---|
497 | </div> |
---|
498 | </div> |
---|
499 | <!-- 左列 --> |
---|
500 | <!--{/if}--> |
---|
501 | <!--{/if}--> |
---|
502 | |
---|
503 | <!--{if ($smarty.section.cnt.index % 2) != 0}--> |
---|
504 | <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}--> |
---|
505 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
506 | <!-- 右列 --> |
---|
507 | <div class="whoboughtright"> |
---|
508 | |
---|
509 | <a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->"> |
---|
510 | <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /></a> |
---|
511 | |
---|
512 | <div class="whoboughtrightblock"> |
---|
513 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
514 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
515 | <h3><a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3> |
---|
516 | |
---|
517 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
518 | |
---|
519 | <!--{if $price02_min == $price02_max}--> |
---|
520 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
521 | <!--{else}--> |
---|
522 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
523 | <!--{/if}-->円</span></p> |
---|
524 | <p class="mini"><!--{$arrRecommend[cnt].comment|h|nl2br}--></p> |
---|
525 | </div> |
---|
526 | </div> |
---|
527 | <!-- 右列 --> |
---|
528 | <!--{/if}--> |
---|
529 | <!--{/if}--> |
---|
530 | |
---|
531 | <!--{if $smarty.section.cnt.last}--> |
---|
532 | </div> |
---|
533 | <!--{/if}--> |
---|
534 | <!--{/section}--> |
---|
535 | </div> |
---|
536 | <!--{/if}--> |
---|
537 | <!--▲関連商品--> |
---|
538 | |
---|
539 | </div> |
---|
540 | <!--▲CONTENTS--> |
---|