source: branches/version-2_5-dev/data/Smarty/templates/default/detail.tpl @ 19712

Revision 19712, 27.5 KB checked in by nanasess, 13 years ago (diff)
  • #628(未使用処理・定義などの削除)
    • html/misc 以下のファイル
    • キャンペーン関連の tpl ファイル
    • アンケート関連の tpl ファイル
    • shopping 以下の不要と思われるファイルを削除
  • #642(共通ロジックの機能向上)
    • フロント, 管理画面共通で使用する JavaScript? ファイルを html/js 以下へ移動
  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
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_DIR}-->js/jquery.fancybox/jquery.mousewheel-3.0.2.pack.js"></script>
23<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/jquery.fancybox/jquery.fancybox-1.3.1.pack.js"></script>
24<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->js/jquery.fancybox/jquery.fancybox-1.3.1.css" type="text/css" media="screen" />
25<script type="text/javascript">//<![CDATA[
26// 規格2に選択肢を割り当てる。
27function 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}
53function 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    <!--★詳細メインコメント★-->
169    <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div>
170
171    <div id="detailarea">
172        <div id="detailphotoblock">
173
174            <!--{assign var=key value="main_image"}-->
175
176            <!--★画像★-->
177            <a
178                <!--{if $arrProduct.main_large_image|strlen >= 1}-->
179                    href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProduct.main_large_image|escape}-->"
180                    class="expansion"
181                    onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion_on.gif','expansion01');"
182                    onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion.gif','expansion01');"
183                    target="_blank"
184                <!--{/if}-->
185            >
186                <img src="<!--{$arrFile[$key].filepath|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /><br />
187                <!--★拡大する★-->
188                <!--{if $arrProduct.main_large_image|strlen >= 1}-->
189                    <img src="<!--{$TPL_DIR}-->img/button/btn_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" />
190                <!--{/if}-->
191            </a>
192        </div>
193
194        <div id="detailrightblock">
195            <!--▼商品ステータス-->
196            <!--{assign var=ps value=$productStatus[$smarty.get.product_id]}-->
197            <!--{if count($ps) > 0}-->
198                <ul class="status_icon">
199                    <!--{foreach from=$ps item=status}-->
200                    <li>
201                        <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" />
202                    </li>
203                    <!--{/foreach}-->
204                </ul>
205            <!--{/if}-->
206            <!--▲商品ステータス-->
207
208            <!--★ダウンロード販売★-->
209            <!--{if $arrProduct.down == 2}-->
210                <div><font color="red">本商品はダウンロード販売となります。<br /> 購入後はMYページの購入履歴からダウンロード可能です。</font></div><br />
211            <!--{/if}-->
212
213            <!--★商品コード★-->
214            <div>商品コード:
215                <span id="product_code_default">
216                    <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}-->
217                        <!--{$arrProduct.product_code_min|escape}-->
218                    <!--{else}-->
219                        <!--{$arrProduct.product_code_min|escape}-->~<!--{$arrProduct.product_code_max|escape}-->
220                    <!--{/if}-->
221                </span><span id="product_code_dynamic"></span>
222            </div>
223
224            <!--★商品名★-->
225            <h2><!--{$arrProduct.name|escape}--></h2>
226
227            <!--★販売価格★-->
228            <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:
229                <span class="price">
230                    <span id="price02_default">
231                        <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
232                            <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
233                        <!--{else}-->
234                            <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
235                        <!--{/if}-->
236                    </span><span id="price02_dynamic"></span>
237                    円
238                </span>
239            </div>
240
241            <!--★通常価格★-->
242            <!--{if $arrProduct.price01_max > 0}-->
243                <div class="normal_price">
244                    <!--{$smarty.const.NORMAL_PRICE_TITLE}-->:
245                    <span class="price">
246                        <span id="price01_default">
247                            <!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
248                                <!--{$arrProduct.price01_min|number_format}-->
249                            <!--{else}-->
250                                <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}-->
251                            <!--{/if}-->
252                        </span><span id="price01_dynamic"></span>
253                        円
254                    </span>
255                </div>
256            <!--{/if}-->
257
258            <!--★ポイント★-->
259            <!--{if $smarty.const.USE_POINT !== false}-->
260                <div><span class="price">ポイント:
261                    <span id="point_default">
262                        <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
263                            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
264                        <!--{else}-->
265                            <!--{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}-->
266                                <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
267                            <!--{else}-->
268                                <!--{$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}-->
269                            <!--{/if}-->
270                        <!--{/if}-->
271                        </span><span id="point_dynamic"></span>
272                        Pt
273                    </span>
274                </div>
275            <!--{/if}-->
276
277            <!--▼メーカーURL-->
278            <!--{if $arrProduct.comment1|strlen >= 1}-->
279                <div><span class="comment1">メーカーURL:
280                    <a href="<!--{$arrProduct.comment1|escape}-->">
281                        <!--{$arrProduct.comment1|escape}--></a>
282                </div>
283            <!--{/if}-->
284            <!--▲メーカーURL-->
285
286            <!--★関連カテゴリ★-->
287            <div class="relative_cat">関連カテゴリ:
288                <!--{section name=r loop=$arrRelativeCat}-->
289                <p>
290                    <!--{section name=s loop=$arrRelativeCat[r]}-->
291                    <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a>
292                    <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}-->
293                    <!--{/section}-->
294                </p>
295                <!--{/section}-->
296            </div>
297
298            <!--▼買い物かご-->
299            <form name="form1" id="form1" method="post" action="?">
300                <input type="hidden" name="mode" value="cart" />
301                <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" />
302                <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" />
303                <input type="hidden" name="product_type" value="<!--{$tpl_product_type}-->" id="product_type" />
304                <input type="hidden" name="favorite_product_id" value="" />
305
306                <!--{if $tpl_stock_find}-->
307                    <dl>
308                        <!--{if $tpl_classcat_find1}-->
309                            <!--▼規格1-->
310                            <dt><!--{$tpl_class_name1|escape}--></dt>
311                            <dd>
312                                <select name="classcategory_id1"
313                                    style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"
314                                    onchange="fnSetClassCategories(this.form);"
315                                >
316                                    <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}-->
317                                </select>
318                                <!--{if $arrErr.classcategory_id1 != ""}-->
319                                    <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span>
320                                <!--{/if}-->
321                            </dd>
322                            <!--▲規格1-->
323                        <!--{/if}-->
324
325                        <!--{if $tpl_classcat_find2}-->
326                            <!--▼規格2-->
327                            <dt><!--{$tpl_class_name2|escape}--></dt>
328                            <dd>
329                                <select name="classcategory_id2"
330                                    style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"
331                                    onchange="fnCheckStock(this.form);"
332                                >
333                                </select>
334                                <!--{if $arrErr.classcategory_id2 != ""}-->
335                                    <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span>
336                                <!--{/if}-->
337                            </dd>
338                            <!--▲規格2-->
339                        <!--{/if}-->
340
341                        <dt>数量</dt>
342                        <dd>
343                            <input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" />
344                            <!--{if $arrErr.quantity != ""}-->
345                                <br /><span class="attention"><!--{$arrErr.quantity}--></span>
346                            <!--{/if}-->
347                        </dd>
348                    </dl>
349                <!--{/if}-->
350
351                <div class="btn">
352                    <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}-->
353                        <div>
354                            <!--{assign var=add_favorite value="add_favorite`$product_id`"}-->
355                            <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}-->
356                            <!--{if !$arrProduct.favorite_count}-->
357                                <a
358                                    href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|escape}-->');"
359                                    onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_favorite_on.gif','add_favolite_product');"
360                                    onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_favorite.gif','add_favolite_product');"
361                                ><img src="<!--{$TPL_DIR}-->img/button/btn_add_favorite.gif" width="115" height="20" alt="お気に入りに追加" name="add_favolite_product" id="add_favolite_product" /></a>
362                            <!--{else}-->
363                                <img src="<!--{$TPL_DIR}-->img/button/btn_add_favorite_on.gif" width="115" height="20" alt="お気に入り登録済" name="add_favolite_product" id="add_favolite_product" />
364                            <!--{/if}-->
365                        </div>
366                    <!--{/if}-->
367
368                    <!--{if $tpl_stock_find}-->
369                        <div id="cartbtn_default">
370                            <!--★カゴに入れる★-->
371                            <div>
372                                <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_cartin.gif','cart');">
373                                    <img src="<!--{$TPL_DIR}-->img/button/btn_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /></a>
374                            </div>
375                            <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}-->
376                                <!--{'sfGMODetailDisplay'|call_user_func}-->
377                            <!--{/if}-->
378                        </div>
379                        <div class="attention" id="cartbtn_dynamic"></div>
380                    <!--{else}-->
381                        <div class="attention">申し訳ございませんが、只今品切れ中です。</div>
382                    <!--{/if}-->
383                </div>
384            </form>
385            <!--▲買い物かご-->
386
387        </div>
388    </div>
389    <!--{* オペビルダー用 *}-->
390    <!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
391        <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/detail_ope_view.tpl}-->
392    <!--{/if}-->
393    <!--詳細ここまで-->
394
395    <!--▼サブコメント-->
396    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
397        <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}-->
398        <!--{if $arrProduct[$key] != ""}-->
399            <div class="subarea">
400                <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></h3>
401                <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}-->
402
403                <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></div>
404
405                <!--▼サブ画像-->
406                <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}-->
407                <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}-->
408                <!--{if $arrProduct[$key]|strlen >= 1}-->
409                    <div class="subphotoimg">
410                        <a
411                            <!--{if $arrProduct[$lkey]|strlen >= 1}-->
412                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProduct[$lkey]|escape}-->"
413                                class="expansion"
414                                onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion_on.gif', 'expansion_<!--{$lkey|escape}-->');"
415                                onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion.gif', 'expansion_<!--{$lkey|escape}-->');"
416                                target="_blank"
417                            <!--{/if}-->
418                        >
419                            <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" /><br />
420                            <!--{if $arrProduct[$lkey]|strlen >= 1}-->
421                                <img src="<!--{$TPL_DIR}-->img/button/btn_expansion.gif" width="85" height="13" alt="画像を拡大する" id="expansion_<!--{$lkey|escape}-->" />
422                            <!--{/if}-->
423                        </a>
424                    </div>
425                <!--{/if}-->
426                <!--▲サブ画像-->
427            </div>
428        <!--{/if}-->
429    <!--{/section}-->
430    <!--▲サブコメント-->
431
432
433    <!--この商品に対するお客様の声-->
434    <div id="customervoicearea">
435        <h2><img src="<!--{$TPL_DIR}-->img/title/tit_product_voice.jpg" width="550" height="30" alt="この商品に対するお客様の声" /></h2>
436
437        <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}-->
438            <!--★新規コメントを書き込む★-->
439            <a href="./review.php"
440                 onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;"
441                 onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_comment_on.gif','review');"
442                 onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_comment.gif','review');" target="_blank">
443                <img src="<!--{$TPL_DIR}-->img/button/btn_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" /></a>
444        <!--{/if}-->
445
446        <!--{if count($arrReview) > 0}-->
447            <ul>
448                <!--{section name=cnt loop=$arrReview}-->
449                    <li>
450                        <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|escape}--></a><!--{else}--><!--{$arrReview[cnt].reviewer_name|escape}--><!--{/if}--> おすすめレベル:<span class="recommend_level"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|escape}--></span></p>
451                        <p class="voicetitle"><!--{$arrReview[cnt].title|escape}--></p>
452                        <p class="voicecomment"><!--{$arrReview[cnt].comment|escape|nl2br}--></p>
453                    </li>
454                <!--{/section}-->
455            </ul>
456        <!--{/if}-->
457    </div>
458    <!--お客様の声ここまで-->
459
460
461    <!--{if $arrTrackbackView == "ON"}-->
462        <!--▼トラックバック-->
463        <div id="trackbackarea">
464            <h2>この商品に対するトラックバック</h2>
465            <h3>この商品のトラックバック先URL</h3>
466            <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" />
467
468            <!--{if $arrTrackback}-->
469                <ul>
470                <!--{section name=cnt loop=$arrTrackback}-->
471                    <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong>
472                        <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li>
473                <!--{/section}-->
474                </ul>
475            <!--{/if}-->
476        </div>
477        <!--▲トラックバック-->
478    <!--{/if}-->
479
480
481    <!--▼関連商品-->
482    <!--{if $arrRecommend}-->
483        <div id="whoboughtarea">
484            <h2><img src="<!--{$TPL_DIR}-->img/title/tit_product_recommend.jpg" width="550" height="30" alt="その他のオススメ商品(関連商品)" /></h2>
485            <div class="whoboughtblock">
486
487            <!--{section name=cnt loop=$arrRecommend}-->
488                <!--{if ($smarty.section.cnt.index % 2) == 0}-->
489                <!--{if $arrRecommend[cnt].product_id}-->
490                <!-- 左列 -->
491                <div class="whoboughtleft">
492
493                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->">
494                        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a>
495
496                    <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
497                    <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
498                    <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3>
499
500                    <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price">
501                        <!--{if $price02_min == $price02_max}-->
502                            <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
503                        <!--{else}-->
504                            <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
505                        <!--{/if}-->円</span></p>
506                    <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p>
507                </div>
508                <!-- 左列 -->
509                <!--{/if}-->
510                <!--{/if}-->
511
512                <!--{if ($smarty.section.cnt.index % 2) != 0}-->
513                <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}-->
514                <!--{if $arrRecommend[cnt].product_id}-->
515                <!-- 右列 -->
516                <div class="whoboughtright">
517
518                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->">
519                        <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /></a>
520
521                    <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
522                    <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
523                    <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|escape:url}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3>
524
525                    <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price">
526
527                        <!--{if $price02_min == $price02_max}-->
528                            <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
529                        <!--{else}-->
530                            <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
531                        <!--{/if}-->円</span></p>
532                    <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p>
533                </div>
534                <!-- 右列 -->
535            <!--{/if}-->
536            <!--{/if}-->
537
538            <!--{if $smarty.section.cnt.last}-->
539            </div>
540            <!--{/if}-->
541        <!--{/section}-->
542        </div>
543    <!--{/if}-->
544    <!--▲関連商品-->
545
546</div>
547<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.