source: branches/version-2_13-dev/data/Smarty/templates/mobile/cart/index.tpl @ 23494

Revision 23494, 6.1 KB checked in by pineray, 10 years ago (diff)

#2386 PHP 警告撲滅 for 2.13.3

ロケール処理も考慮に入れて、Smartyの修飾子で対応するように変更.

  • 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 count($cartKeys) > 1}-->
28        <font color="#FF0000"><!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->
29        は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。<br></font>
30        <br>
31    <!--{/if}-->
32
33    <!--{if strlen($tpl_error) != 0}-->
34        <font color="#FF0000"><!--{$tpl_error|h}--></font><br>
35    <!--{/if}-->
36
37    <!--{if strlen($tpl_message) != 0}-->
38        <!--{$tpl_message|h|nl2br}--><br>
39    <!--{/if}-->
40
41    <!--{if count($cartItems) > 0}-->
42        <!--{foreach from=$cartKeys item=key}-->
43            <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="?" utn>
44                <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
45                <input type="hidden" name="mode" value="confirm">
46                <input type="hidden" name="cart_no" value="">
47                <input type="hidden" name="cartKey" value="<!--{$key}-->">
48                <!--ご注文内容ここから-->
49                <!--{if count($cartKeys) > 1}-->
50                    <hr>
51                    ■<!--{$arrProductType[$key]}-->
52                    <hr>
53                <!--{/if}-->
54                <!--{foreach from=$cartItems[$key] item=item}-->
55                    ◎<!--{* 商品名 *}--><!--{$item.productsClass.name|h}--><br>
56                    <!--{* 規格名1 *}--><!--{if $item.productsClass.classcategory_name1 != ""}--><!--{$item.productsClass.class_name1|h}-->:<!--{$item.productsClass.classcategory_name1|h}--><br><!--{/if}-->
57                    <!--{* 規格名2 *}--><!--{if $item.productsClass.classcategory_name2 != ""}--><!--{$item.productsClass.class_name2|h}-->:<!--{$item.productsClass.classcategory_name2|h}--><br><!--{/if}-->
58                    <!--{* 販売価格 *}-->
59                    <!--{$item.price_inctax|n2s}-->円
60                    × <!--{$item.quantity}--><br>
61                    <br>
62                    <!--{* 数量 *}-->
63                    数量:<!--{$item.quantity}-->
64                    <a href="?mode=up&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">+</a>
65                    <!--{if $item.quantity > 1}-->
66                        <a href="?mode=down&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">-</a>
67                    <!--{/if}-->
68                    <a href="?mode=delete&amp;cart_no=<!--{$item.cart_no}-->&amp;cartKey=<!--{$key}-->">削除</a><br>
69                    <!--{* 合計 *}-->
70                    小計:<!--{$item.total_inctax|n2s}-->円<br>
71                    <div align="right"><a href="<!--{$smarty.const.MOBILE_P_DETAIL_URLPATH}--><!--{$item.productsClass.product_id|u}-->">→商品詳細へ</a></div>
72                    <HR>
73                <!--{/foreach}-->
74                <font color="#FF0000">
75                商品合計:<!--{$tpl_total_inctax[$key]|n2s}-->円<br>
76                合計:<!--{$arrData[$key].total-$arrData[$key].deliv_fee|n2s}-->円<br>
77                </font>
78                <br>
79                <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
80                    <!--{if $arrInfo.free_rule > 0}-->
81                        <!--{if !$arrData[$key].is_deliv_free}-->
82                            あと「<font color="#FF0000"><!--{$tpl_deliv_free[$key]|n2s}-->円</font>」で<font color="#FF0000">送料無料</font>です!!<br>
83                        <!--{else}-->
84                            現在、「<font color="#FF0000">送料無料</font>」です!!<br>
85                        <!--{/if}-->
86                        <br>
87                    <!--{/if}-->
88                <!--{/if}-->
89
90                <!--{if $smarty.const.USE_POINT !== false}-->
91                    <!--{if $arrData[$key].birth_point > 0}-->
92                        お誕生月ポイント<br>
93                        <!--{$arrData[$key].birth_point|n2s}-->pt<br>
94                    <!--{/if}-->
95                    今回加算ポイント<br>
96                    <!--{$arrData[$key].add_point|n2s}-->pt<br>
97                    <br>
98                <!--{/if}-->
99
100                <center><input type="submit" value="注文する"></center>
101            </form>
102
103            <br>
104            <!--{if $tpl_prev_url != ""}-->
105                <a href="<!--{$tpl_prev_url|h}-->">[emoji:69]お買い物を続ける</a><br>
106                <br>
107            <!--{/if}-->
108        <!--{/foreach}-->
109    <!--{else}-->
110        ※現在カート内に商品はございません。<br>
111        <br>
112    <!--{/if}-->
113
114    <!--{if $smarty.const.USE_POINT !== false}-->
115        <hr>
116        <!--{if $tpl_login}-->
117            <!--{$tpl_name|h}--> 様の、現在の所持ポイントは「<font color="#FF0000"><!--{$tpl_user_point|n2s|default:0}--> pt</font>」です。<br>
118        <!--{else}-->
119            ポイント制度をご利用になられる場合は、会員登録後ログインしてくださいますようお願い致します。
120        <!--{/if}-->
121        ポイントは商品購入時に1ptを<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。
122    <!--{/if}-->
123<!--{/strip}-->
Note: See TracBrowser for help on using the repository browser.