source: branches/version-2_5-dev/data/Smarty/templates/sphone/products/detail.tpl @ 19851

Revision 19851, 26.1 KB checked in by Seasoft, 13 years ago (diff)

#706(拡大画像の表示の jQuery 化)

  • Fancybox で一旦実装したが、IE6, IE7 で不具合があるため、Facebox に置換する。一応スマホも改訂。
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_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に選択肢を割り当てる。
26function 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}
52function 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                <!--{if $tpl_stock_find}-->
345                    <dl>
346                        <!--{if $tpl_classcat_find1}-->
347                            <!--▼規格1-->
348                            <dt><!--{$tpl_class_name1|h}--></dt>
349                            <dd>
350                                <select name="classcategory_id1"
351                                    style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->"
352                                    onchange="fnSetClassCategories(this.form);"
353                                >
354                                    <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}-->
355                                </select>
356                                <!--{if $arrErr.classcategory_id1 != ""}-->
357                                    <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span>
358                                <!--{/if}-->
359                            </dd>
360                            <!--▲規格1-->
361                        <!--{/if}-->
362
363                        <!--{if $tpl_classcat_find2}-->
364                            <!--▼規格2-->
365                            <dt><!--{$tpl_class_name2|h}--></dt>
366                            <dd>
367                                <select name="classcategory_id2"
368                                    style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"
369                                    onchange="fnCheckStock(this.form);"
370                                >
371                                </select>
372                                <!--{if $arrErr.classcategory_id2 != ""}-->
373                                    <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span>
374                                <!--{/if}-->
375                            </dd>
376                            <!--▲規格2-->
377                        <!--{/if}-->
378
379                        <dt>数量</dt>
380                        <dd>
381                            <input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" />
382                            <!--{if $arrErr.quantity != ""}-->
383                                <br /><span class="attention"><!--{$arrErr.quantity}--></span>
384                            <!--{/if}-->
385                        </dd>
386                    </dl>
387                <!--{/if}-->
388
389                <div class="btn">
390                    <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}-->
391                        <div>
392                            <!--{assign var=add_favorite value="add_favorite`$product_id`"}-->
393                            <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}-->
394                            <!--{if !$arrProduct.favorite_count}-->
395                                <a
396                                    href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');"
397                                    onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product_on.gif','add_favolite_product');"
398                                    onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/add_favolite_product.gif','add_favolite_product');"
399                                ><img src="<!--{$TPL_DIR}-->img/products/add_favolite_product.gif" width="115" height="20" alt="お気に入りに追加" name="add_favolite_product" id="add_favolite_product" /></a>
400                            <!--{else}-->
401                                <img src="<!--{$TPL_DIR}-->img/products/add_favolite_product_on.gif" width="115" height="20" alt="お気に入り登録済" name="add_favolite_product" id="add_favolite_product" />
402                            <!--{/if}-->
403                        </div>
404                    <!--{/if}-->
405
406                    <!--{if $tpl_stock_find}-->
407                        <div id="cartbtn_default">
408                            <!--★カゴに入れる★-->
409                            <div>
410                                <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">
411                                    カゴに入れる
412                                </a>
413                            </div>
414                            <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}-->
415                                <!--{'sfGMODetailDisplay'|call_user_func}-->
416                            <!--{/if}-->
417                        </div>
418                        <div class="attention" id="cartbtn_dynamic"></div>
419                    <!--{else}-->
420                        <div class="attention">申し訳ございませんが、只今品切れ中です。</div>
421                    <!--{/if}-->
422                </div>
423            </form>
424            <!--▲買い物かご-->
425
426        </div>
427    </div>
428    <!--{* オペビルダー用 *}-->
429    <!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
430        <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/detail_ope_view.tpl}-->
431    <!--{/if}-->
432    <!--詳細ここまで-->
433
434    <!--▼サブコメント-->
435    <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
436        <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}-->
437        <!--{if $arrProduct[$key] != ""}-->
438            <div class="subarea">
439                <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|h}--></h3>
440                <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}-->
441
442                <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></div>
443
444                <!--▼サブ画像-->
445                <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}-->
446                <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}-->
447                <!--{if $arrProduct[$key]|strlen >= 1}-->
448                    <div class="subphotoimg">
449                        <a
450                            <!--{if $arrProduct[$lkey]|strlen >= 1}-->
451                                href="<!--{$smarty.const.IMAGE_SAVE_URL_PATH}--><!--{$arrProduct[$lkey]|h}-->"
452                                class="expansion"
453                                onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif', 'expansion_<!--{$lkey|h}-->');"
454                                onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif', 'expansion_<!--{$lkey|h}-->');"
455                                target="_blank"
456                            <!--{/if}-->
457                        >
458                            <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" /><br />
459                            <!--{if $arrProduct[$lkey]|strlen >= 1}-->
460                                <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" id="expansion_<!--{$lkey|h}-->" />
461                            <!--{/if}-->
462                        </a>
463                    </div>
464                <!--{/if}-->
465                <!--▲サブ画像-->
466            </div>
467        <!--{/if}-->
468    <!--{/section}-->
469    <!--▲サブコメント-->
470
471    <!--▼関連商品-->
472    <!--{if $arrRecommend}-->
473        <div id="whoboughtarea">
474            <h2>その他のオススメ商品(関連商品)</h2>
475            <div class="whoboughtblock">
476
477            <!--{section name=cnt loop=$arrRecommend}-->
478                <!--{if ($smarty.section.cnt.index % 2) == 0}-->
479                <!--{if $arrRecommend[cnt].product_id}-->
480                <!-- 左列 -->
481                <div class="whoboughtleft">
482
483                    <a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->">
484                        <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /></a>
485
486                    <div class="whoboughtrightblock">
487                        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
488                        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
489                        <h3><a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3>
490
491                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price">
492                            <!--{if $price02_min == $price02_max}-->
493                                <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
494                            <!--{else}-->
495                                <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
496                            <!--{/if}-->円</span></p>
497                        <p class="mini"><!--{$arrRecommend[cnt].comment|h|nl2br}--></p>
498                    </div>
499                </div>
500                <!-- 左列 -->
501                <!--{/if}-->
502                <!--{/if}-->
503
504                <!--{if ($smarty.section.cnt.index % 2) != 0}-->
505                <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}-->
506                <!--{if $arrRecommend[cnt].product_id}-->
507                <!-- 右列 -->
508                <div class="whoboughtright">
509
510                    <a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->">
511                        <img src="<!--{$smarty.const.URL_PATH}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /></a>
512
513                    <div class="whoboughtrightblock">
514                        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}-->
515                        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}-->
516                        <h3><a href="<!--{$smarty.const.P_DETAIL_URL_PATH}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3>
517
518                        <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price">
519
520                            <!--{if $price02_min == $price02_max}-->
521                                <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
522                            <!--{else}-->
523                                <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
524                            <!--{/if}-->円</span></p>
525                        <p class="mini"><!--{$arrRecommend[cnt].comment|h|nl2br}--></p>
526                    </div>
527                </div>
528                <!-- 右列 -->
529            <!--{/if}-->
530            <!--{/if}-->
531
532            <!--{if $smarty.section.cnt.last}-->
533            </div>
534            <!--{/if}-->
535        <!--{/section}-->
536        </div>
537    <!--{/if}-->
538    <!--▲関連商品-->
539
540</div>
541<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.