source: branches/comu-ver2/data/Smarty/templates/default/detail.tpl @ 18277

Revision 18277, 26.4 KB checked in by Seasoft, 15 years ago (diff)
  • 商品規格プルダウンに品切れを表示
  • 商品規格プルダウンの選択によって、関連項目を動的に更新

関連URL:  http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=3463&forum=10

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