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