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

Revision 19915, 5.5 KB checked in by kotani, 13 years ago (diff)

#754 モバイルサイト ポイント機能対応

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved.
6 *
7 * http://www.lockon.co.jp/
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version 2
12 * of the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22 */
23*}-->
24<center><!--{$tpl_subtitle|h}--></center>
25<hr>
26
27<!--★商品画像★-->
28<!--{if $smarty.get.image != ''}-->
29<!--{assign var=key value="`$smarty.get.image`"}-->
30<!--{else}-->
31<!--{assign var=key value="main_image"}-->
32<!--{/if}-->
33<center><img src="<!--{$arrFile[$key].filepath}-->"></center>
34
35<!--★商品サブ画像★-->
36<!--{if $subImageFlag == true}-->
37<br>画像
38  <!--{if ($smarty.get.image == "" || $smarty.get.image == "main_image")}-->
39[1]
40  <!--{else}-->
41[<a href="?product_id=<!--{$smarty.get.product_id}-->&image=main_image">1</a>]
42  <!--{/if}-->
43 
44  <!--{assign var=num value="2"}-->
45  <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->
46  <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}-->
47  <!--{if $arrFile[$key].filepath != ""}-->
48    <!--{if $key == $smarty.get.image}-->
49[<!--{$num}-->]
50    <!--{else}-->
51[<a href="?product_id=<!--{$smarty.get.product_id}-->&image=<!--{$key}-->"><!--{$num}--></a>]
52    <!--{/if}-->
53    <!--{assign var=num value="`$num+1`"}-->
54  <!--{/if}-->
55  <!--{/section}-->
56<br>
57<!--{/if}-->
58<br>
59
60<!--{* オペビルダー用 *}-->
61<!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
62<!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/detail_ope_mb_view.tpl}-->
63<!--{/if}-->
64
65<!--★詳細メインコメント★-->
66[emoji:76]<!--{$arrProduct.main_comment|nl2br_html}--><br>
67<br>
68
69<!--★商品コード★-->
70商品コード:
71<!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}-->
72<!--{$arrProduct.product_code_min|h}-->
73<!--{else}-->
74<!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}-->
75<!--{/if}-->
76<br>
77
78<!--★販売価格★-->
79<font color="#FF0000"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
80<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
81    <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
82<!--{else}-->
83    <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
84<!--{/if}-->
85円</font>
86<br/>
87
88<!--{if $arrProduct.price01_max > 0}-->
89<!--★通常価格★-->
90<font color="#FF0000"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->:
91<!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
92<!--{$arrProduct.price01_min|number_format}-->
93<!--{else}-->
94<!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}-->
95<!--{/if}-->
96円</font>
97<br>
98<!--{/if}-->
99
100<!--★ポイント★-->
101<!--{if $smarty.const.USE_POINT !== false}-->
102ポイント:
103<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
104    <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
105<!--{else}-->
106    <!--{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}-->
107        <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}-->
108    <!--{else}-->
109        <!--{$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}-->
110    <!--{/if}-->
111<!--{/if}-->
112Pt<br>
113<!--{/if}-->
114<br>
115
116<!--★関連カテゴリ★-->
117関連カテゴリ:<br>
118<!--{section name=r loop=$arrRelativeCat}-->
119<!--{section name=s loop=$arrRelativeCat[r]}-->
120<a href="<!--{$smarty.const.URL_PATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a>
121<!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}-->
122<!--{/section}-->
123<br>
124<!--{/section}-->
125<br>
126
127<form name="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|h}-->">
128    <input type="hidden" name="mode" value="select">
129    <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->">
130<!--{if $tpl_stock_find}-->
131    <!--★商品を選ぶ★-->
132    <center><input type="submit" name="select" id="cart" value="この商品を選ぶ"></center>
133<!--{else}-->
134    <font color="#FF0000">申し訳ございませんが、只今品切れ中です。</font>
135<!--{/if}-->
136</form>
137
138<hr>
139
140<a href="<!--{$smarty.const.MOBILE_CART_URL_PATH}-->" accesskey="9"><!--{9|numeric_emoji}-->かごを見る</a><br>
141<a href="<!--{$smarty.const.MOBILE_TOP_URL_PATH}-->" accesskey="0"><!--{0|numeric_emoji}-->TOPページへ</a><br>
142
143<br>
144
145<!-- ▼フッター ここから -->
146<!--{include file='footer.tpl'}-->
147<!-- ▲フッター ここまで -->
Note: See TracBrowser for help on using the repository browser.