source: branches/comu-ver2/data/Smarty/templates/default/mobile/products/detail.tpl @ 17101

Revision 17101, 3.7 KB checked in by pineray, 15 years ago (diff)

モバイルの商品詳細で画像を選択して表示可能に

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2007 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<!--▼CONTENTS-->
25<!--▼MAIN CONTENTS-->
26<!--タイトルここから-->
27<!--★商品名★-->
28<div align="center"><!--{$arrProduct.name|escape}--></div>
29<hr>
30<!--タイトルここまで-->
31<!--詳細ここから-->
32<!--{if $smarty.get.image != ''}-->
33  <!--{assign var=key value="`$smarty.get.image`"}-->
34<!--{else}-->
35  <!--{assign var=key value="main_image"}-->
36<!--{/if}-->
37<img src="<!--{$arrFile[$key].filepath}-->">
38<!--{if count($arrFile) > 1}-->
39<br>画像
40  <!--{foreach from=$arrFile item=i key=k name=image}-->
41    <!--{if $k == $smarty.get.image || ($smarty.get.image == "" && $k == "main_image")}-->
42[<!--{$smarty.foreach.image.index+1}-->]
43    <!--{else}-->
44[<a href="<!--{$smarty.server.PHP_SELF|escape}-->?product_id=<!--{$smarty.get.product_id}-->&image=<!--{$k}-->"><!--{$smarty.foreach.image.index+1}--></a>]
45    <!--{/if}-->
46  <!--{/foreach}-->
47<!--{/if}-->
48<br>
49<!--{* オペビルダー用 *}-->
50<!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
51<!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/detail_ope_mb_view.tpl}-->
52<!--{/if}-->
53<!--★詳細メインコメント★-->
54[emoji:76]<!--{$arrProduct.main_comment|nl2br}--><br>
55<br>
56<!--アイコン-->
57<!--★価格★-->
58<font color="#FF0000">価格(税込):
59<!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
60    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
61<!--{else}-->
62    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->・<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->
63<!--{/if}-->
64円</font><br/>
65<!--{if $arrProduct.price01_max > 0}-->
66<font color="#FF0000">参考市場価格:
67<!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->
68<!--{$arrProduct.price01_min|number_format}-->
69<!--{else}-->
70<!--{$arrProduct.price01_min|number_format}-->・<!--{$arrProduct.price01_max|number_format}-->
71<!--{/if}-->
72円</font><br>
73<!--{/if}-->
74<form name="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->">
75    <input type="hidden" name="mode" value="select">
76    <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->">
77<!--{if $tpl_stock_find}-->
78    <!--★商品を選ぶ★-->
79    <center><input type="submit" name="select" id="cart" value="この商品を選ぶ"></center>
80<!--{else}-->
81    <font color="#FF0000">申し訳ございませんが、只今品切れ中です。</font>
82<!--{/if}-->
83</form>
84<!--詳細ここまで-->
85<!--▲CONTENTS-->
86
87<br>
88<hr>
89
90<a href="<!--{$smarty.const.MOBILE_URL_CART_TOP}-->" accesskey="9"><!--{9|numeric_emoji}-->かごを見る</a><br>
91<a href="<!--{$smarty.const.MOBILE_URL_SITE_TOP}-->" accesskey="0"><!--{0|numeric_emoji}-->TOPページへ</a><br>
92
93<br>
94
95<!-- ▼フッター ここから -->
96<!--{include file='footer.tpl'}-->
97<!-- ▲フッター ここまで -->
Note: See TracBrowser for help on using the repository browser.