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

Revision 22754, 6.5 KB checked in by habu, 11 years ago (diff)

#2206 モバイル版の商品詳細画面に、商品ステータスの表示が無い

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • 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-2013 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
25<!--{strip}-->
26    <!--★商品画像★-->
27    <!--{if $smarty.get.image != ''}-->
28        <!--{assign var=key value="`$smarty.get.image`"}-->
29    <!--{else}-->
30        <!--{assign var=key value="main_image"}-->
31    <!--{/if}-->
32    <center><img src="<!--{$arrFile[$key].filepath}-->"></center>
33
34    <!--★商品サブ画像★-->
35    <center>
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}-->&amp;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}-->&amp;image=<!--{$key}-->"><!--{$num}--></a>]
52                    <!--{/if}-->
53                    <!--{assign var=num value="`$num+1`"}-->
54                <!--{/if}-->
55            <!--{/section}-->
56            <br>
57        <!--{/if}-->
58        <br>
59    </center>
60
61    <!--{* オペビルダー用 *}-->
62    <!--{if "sfViewDetailOpe"|function_exists === TRUE}-->
63        <!--{include file=`$smarty.const.MODULE_REALDIR`mdl_opebuilder/detail_ope_mb_view.tpl}-->
64    <!--{/if}-->
65
66    <!--★詳細メインコメント★-->
67    [emoji:76]<!--{$arrProduct.main_comment|nl2br_html}--><br>
68    <br>
69
70    <!--▼商品ステータス-->
71    <!--{assign var=ps value=$productStatus[$tpl_product_id]}-->
72    <!--{if count($ps) > 0}-->
73        <!--{foreach from=$ps item=status}-->
74            ★<!--{$arrSTATUS[$status]}--><br>
75        <!--{/foreach}-->
76        <br>
77    <!--{/if}-->
78    <!--▲商品ステータス-->
79
80    <!--★商品コード★-->
81    商品コード:
82    <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}-->
83        <!--{$arrProduct.product_code_min|h}-->
84    <!--{else}-->
85        <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}-->
86    <!--{/if}-->
87    <br>
88
89    <!--★販売価格★-->
90    <font color="#FF0000"><!--{$smarty.const.SALE_PRICE_TITLE}-->(税込):
91        <!--{if $arrProduct.price02_min_inctax == $arrProduct.price02_max_inctax}-->
92            <!--{$arrProduct.price02_min_inctax|number_format}-->
93        <!--{else}-->
94            <!--{$arrProduct.price02_min_inctax|number_format}-->~<!--{$arrProduct.price02_max_inctax|number_format}-->
95        <!--{/if}-->
96        円</font>
97    <br>
98
99    <!--{if $arrProduct.price01_max_inctax > 0}-->
100        <!--★通常価格★-->
101        <font color="#FF0000"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->(税込):
102            <!--{if $arrProduct.price01_min_inctax == $arrProduct.price01_max_inctax}-->
103                <!--{$arrProduct.price01_min_inctax|number_format}-->
104            <!--{else}-->
105                <!--{$arrProduct.price01_min_inctax|number_format}-->~<!--{$arrProduct.price01_max_inctax|number_format}-->
106            <!--{/if}-->
107            円</font>
108        <br>
109    <!--{/if}-->
110
111    <!--★ポイント★-->
112    <!--{if $smarty.const.USE_POINT !== false}-->
113        ポイント:
114        <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->
115            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->
116        <!--{else}-->
117            <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate}-->
118                <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->
119            <!--{else}-->
120                <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate|number_format}-->~<!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate|number_format}-->
121            <!--{/if}-->
122        <!--{/if}-->
123        Pt<br>
124    <!--{/if}-->
125    <br>
126
127    <!--★メーカー★-->
128    <!--{if $arrProduct.maker_name|strlen >= 1}-->
129        メーカー:<!--{$arrProduct.maker_name|h}--><br>
130    <!--{/if}-->
131
132    <!--★メーカーURL★-->
133    <!--{if $arrProduct.comment1|strlen >= 1}-->
134        メーカーURL:<a href="<!--{$arrProduct.comment1|h}-->"><!--{$arrProduct.comment1|h}--></a><br>
135    <!--{/if}-->
136
137    <!--★関連カテゴリ★-->
138    関連カテゴリ:<br>
139    <!--{section name=r loop=$arrRelativeCat}-->
140        <!--{section name=s loop=$arrRelativeCat[r]}-->
141            <a href="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a>
142            <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}-->
143        <!--{/section}-->
144        <br>
145    <!--{/section}-->
146    <br>
147
148    <form name="form1" method="post" action="?">
149        <input type="hidden" name="mode" value="select">
150        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
151
152        <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->">
153        <!--{if $tpl_stock_find}-->
154            <!--★商品を選ぶ★-->
155            <center><input type="submit" name="select" id="cart" value="この商品を選ぶ"></center>
156        <!--{else}-->
157            <font color="#FF0000">申し訳ございませんが、只今品切れ中です。</font>
158        <!--{/if}-->
159    </form>
160<!--{/strip}-->
Note: See TracBrowser for help on using the repository browser.