source: branches/version-2_12-dev/data/Smarty/templates/sphone/cart/index.tpl @ 21708

Revision 21708, 10.4 KB checked in by Seasoft, 12 years ago (diff)

#852 (税計算の改善)
#1731 (商品RSS 税金の二重加算)
#1613 (typo修正・ソース整形・ソースコメントの改善)

  • 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 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2011 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
23<!--▼コンテンツここから -->
24<section id="undercolumn">
25
26
27    <h2 class="title"><!--{$tpl_title|h}--></h2>
28    <!--{if $smarty.const.USE_POINT !== false}-->
29        <!--★ポイント案内★-->
30        <div class="information">
31            <p class="fb">商品の合計金額は「<span class="price"><!--{$tpl_all_total_inctax|number_format}-->円</span>」です。</p>
32
33            <!--{if $tpl_login}-->
34                <p class="point_announce"><span class="user_name"><!--{$tpl_name|h}--> 様</span>の、現在の所持ポイントは「<span class="point"><!--{$tpl_user_point|number_format|default:0}--> pt</span>」です。<br />
35                    ポイントは商品購入時に<span class="price">1pt=<!--{$smarty.const.POINT_VALUE}-->円</span>として使用することができます。</p>
36            <!--{else}-->
37                <p class="point_announce">ポイント制度をご利用になられる場合は、ログインが必要です。</p>
38            <!--{/if}-->
39        </div>
40    <!--{/if}-->
41
42    <!--{if strlen($tpl_error) != 0}-->
43        <p class="attention"><!--{$tpl_error|h}--></p>
44    <!--{/if}-->
45
46    <!--{if strlen($tpl_message) != 0}-->
47        <p class="attention"><!--{$tpl_message|h|nl2br}--></p>
48    <!--{/if}-->
49
50    <!--▼フォームここから -->
51    <div class="form_area">
52
53        <!--{* カゴの中に商品がある場合にのみ表示 *}-->
54        <!--{if count($cartKeys) > 1}-->
55            <p class="attentionSt">
56                <!--{foreach from=$cartKeys item=key name=cartKey}--><!--{$arrProductType[$key]}--><!--{if !$smarty.foreach.cartKey.last}-->、<!--{/if}--><!--{/foreach}-->は同時購入できません。お手数ですが、個別に購入手続きをお願い致します。</p>
57        <!--{/if}-->
58
59        <!--{if count($cartItems) > 0}-->
60
61            <!--{foreach from=$cartKeys item=key}-->
62
63                <!--☆送料無料アナウンス右にスライドボタン -->
64                <!--{if $key != $smarty.const.PRODUCT_TYPE_DOWNLOAD}-->
65                    <!--{if $arrInfo.free_rule > 0}-->
66                        <div class="bubbleBox">
67                            <div class="bubble_announce clearfix">
68                                <p><a rel="external" href="<!--{$tpl_prev_url|h}-->">
69                                    <!--{if !$arrData[$key].is_deliv_free}-->
70                                        あと「<span class="price"><!--{$tpl_deliv_free[$key]|number_format}-->円</span>」で<span class="price">送料無料!!</span>
71                                    <!--{else}-->
72                                        現在、「<span class="price">送料無料</span>」です!!
73                                    <!--{/if}-->
74                                    <br />
75                                    商品を追加しますか?</a></p>
76                            </div>
77                            <div class="bubble_arrow_line"><!--矢印空タグ --></div>
78                            <div class="bubble_arrow"><!--矢印空タグ --></div>
79                        </div>
80                    <!--{/if}-->
81                <!--{/if}-->
82
83                <form name="form<!--{$key}-->" id="form<!--{$key}-->" method="post" action="<!--{$smarty.const.CART_URLPATH|h}-->">
84                    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
85                    <!--{if 'sfGMOCartDisplay'|function_exists}-->
86                        <!--{'sfGMOCartDisplay'|call_user_func}-->
87                    <!--{/if}-->
88
89                    <input type="hidden" name="mode" value="confirm" />
90                    <input type="hidden" name="cart_no" value="" />
91                    <input type="hidden" name="cartKey" value="<!--{$key}-->" />
92
93                    <div class="formBox">
94
95                        <!--{if count($cartKeys) > 1}-->
96                            <div class="box_header">
97                                <h3><!--{$arrProductType[$key]}--></h3>
98                            </div>
99                            <div class="totalmoney_area">
100                                <!--{$arrProductType[$key]}-->の合計金額は「<span class="price"><!--{$tpl_total_inctax[$key]|number_format}-->円</span>」です。
101                            </div>
102                        <!--{/if}-->
103
104                        <!--▼カートの中の商品一覧 -->
105                        <div class="cartinarea clearfix">
106                            <!--{foreach from=$cartItems[$key] item=arrItem}-->
107                                <!--▼商品 -->
108                                <div class="cartitemBox">
109                                    <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrItem.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=80&amp;height=80" alt="<!--{$arrItem.productsClass.name|h}-->" class="photoL" />
110                                    <div class="cartinContents">
111                                        <div>
112                                            <p><em><!--{$arrItem.productsClass.name|h}--></em><br />
113                                                <!--{if $arrItem.productsClass.classcategory_name1 != ""}-->
114                                                    <span class="mini"><!--{$arrItem.productsClass.class_name1}-->:<!--{$arrItem.productsClass.classcategory_name1}--></span><br />
115                                                <!--{/if}-->
116                                                <!--{if $arrItem.productsClass.classcategory_name2 != ""}-->
117                                                    <span class="mini"><!--{$arrItem.productsClass.class_name2}-->:<!--{$arrItem.productsClass.classcategory_name2}--></span><br />
118                                                <!--{/if}-->
119                                                <span class="mini">価格:</span><!--{$arrItem.price|sfCalcIncTax|number_format}-->円
120                                            </p>
121                                            <p class="btn_delete">
122                                                <img src="<!--{$TPL_URLPATH}-->img/button/btn_delete.png" onClick="fnFormModeSubmit('form<!--{$key}-->', 'delete', 'cart_no', '<!--{$arrItem.cart_no}-->');" class="pointer" width="21" height="20" alt="削除" /></p>
123                                        </div>
124                                        <ul>
125                                            <li class="quantity"><span class="mini">数量:</span><!--{$arrItem.quantity|number_format}--></li>
126                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_plus.png" width="22" height="21" alt="+" onclick="fnFormModeSubmit('form<!--{$key}-->', 'up','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></li>
127                                            <li class="quantity_btn"><img src="<!--{$TPL_URLPATH}-->img/button/btn_minus.png" width="22" height="21" alt="-" onclick="fnFormModeSubmit('form<!--{$key}-->', 'down','cart_no','<!--{$arrItem.cart_no}-->'); return false" /></a></li>
128                                            <li class="result"><span class="mini">小計:</span><!--{$arrItem.total_inctax|number_format}-->円</li>
129                                        </ul>
130                                    </div>
131                                </div>
132                                <!--▲商品 -->
133                            <!--{/foreach}-->
134                        </div>
135                        <!--▲カートの中の商品一覧ここまで -->
136
137                        <div class="total_area">
138                            <div><span class="mini">合計:</span><span class="price fb"><!--{$arrData[$key].total-$arrData[$key].deliv_fee|number_format}--> 円</span></div>
139                            <!--{if $smarty.const.USE_POINT !== false}-->
140                                <!--{if $arrData[$key].birth_point > 0}-->
141                                    <div><span class="mini">お誕生月ポイント:</span> <!--{$arrData[$key].birth_point|number_format}--> Pt</div>
142                                <!--{/if}-->
143                                <div><span class="mini">今回加算ポイント:</span> <!--{$arrData[$key].add_point|number_format}--> Pt</div>
144                            <!--{/if}-->
145                        </div>
146                        <!--{if strlen($tpl_error) == 0}-->
147                            <div class="btn_area_btm">
148                                <input type="hidden" name="cartKey" value="<!--{$key}-->" />
149                                <input type="submit" value="ご購入手続きへ" name="confirm" class="btn data-role-none" />
150                            </div>
151                        <!--{/if}-->
152                    </div><!-- /.formBox -->
153                </form>
154            <!--{/foreach}-->
155        <!--{else}-->
156            <p class="empty"><em>※ 現在カート内に商品はございません。</em></p>
157        <!--{/if}-->
158
159        <p><a rel="external" href="<!--{$smarty.const.ROOT_URLPATH}-->" class="btn_sub">お買い物を続ける</a></p>
160
161    </div><!-- /.form_area -->
162
163</section>
164
165<!--▼検索バー -->
166<section id="search_area">
167    <form method="get" action="<!--{$smarty.const.ROOT_URLPATH}-->products/list.php">
168        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
169        <input type="hidden" name="mode" value="search" />
170        <input type="search" name="name" id="search" value="" placeholder="キーワードを入力" class="searchbox" >
171    </form>
172</section>
173<!--▲検索バー -->
174<!--▲コンテンツここまで -->
Note: See TracBrowser for help on using the repository browser.